Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nate Graham
Kid3
Commits
7e0b2708
Commit
7e0b2708
authored
Feb 07, 2015
by
Urs Fleisch
Browse files
QML: Single button to select all/deselect.
parent
22ebba5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/qml/FileList.qml
View file @
7e0b2708
...
@@ -25,14 +25,17 @@ Item {
...
@@ -25,14 +25,17 @@ Item {
"
filePath
"
))
"
filePath
"
))
}
}
Button
{
Button
{
property
bool
selectAll
:
true
iconName
:
"
select
"
iconName
:
"
select
"
width
:
height
width
:
height
onClicked
:
app
.
selectAllFiles
()
onClicked
:
{
}
if
(
selectAll
)
{
Button
{
app
.
selectAllFiles
()
iconName
:
"
clear
"
}
else
{
width
:
height
app
.
deselectAllFiles
()
onClicked
:
app
.
deselectAllFiles
()
}
selectAll
=
!
selectAll
}
}
}
Button
{
Button
{
iconName
:
"
go-previous
"
iconName
:
"
go-previous
"
...
...
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