Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qtquickcontrols-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
qtquickcontrols-nemo
Commits
ddf14056
Commit
ddf14056
authored
Jan 20, 2017
by
Chupligin Sergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ButtonRow] remove signal selected
parent
b598a943
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
ButtonRowPage.qml
examples/touch/content/ButtonRowPage.qml
+3
-2
ButtonRow.qml
src/controls/ButtonRow.qml
+0
-2
No files found.
examples/touch/content/ButtonRowPage.qml
View file @
ddf14056
...
...
@@ -46,6 +46,7 @@ Page {
ButtonRow
{
id
:
row
model
:
ListModel
{
id
:
buttonModel
ListElement
{
name
:
"
swim
"
}
...
...
@@ -65,8 +66,8 @@ Page {
}
Connections
{
target
:
row
on
Select
ed
:
{
selector
.
text
=
"
Selected
"
+
sel
on
CurrentIndexChang
ed
:
{
selector
.
text
=
"
Selected
"
+
buttonModel
.
get
(
row
.
currentIndex
).
name
}
}
...
...
src/controls/ButtonRow.qml
View file @
ddf14056
...
...
@@ -40,7 +40,6 @@ Rectangle {
property
ListModel
model
:
ListModel
{}
property
bool
enabled
:
true
property
int
currentIndex
:
-
1
signal
selected
(
string
sel
)
Image
{
anchors.fill
:
parent
...
...
@@ -82,7 +81,6 @@ Rectangle {
main
.
currentIndex
=
index
selecter
.
visible
=
true
moveSelecter
.
start
()
main
.
selected
(
name
)
}
}
Label
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment