What about this feature request ? Planned near or far?
I see queries in that direction on forums (for guitar).
For deselect, I quote, eg: "it's a bit tedious"
Ideally this would be a three-state checkbox between "select all" (checkbox checked), "select none" (checkbox unchecked) and "custom selection" (checkbox entirely filled with a square or similar). When in "select all" or "select none" modes, changing another selection (e.g. Voice 1) would automatically switch to "custom selection" mode.
OK. I open the selection filter and the selection is "all". Now I want to select four filters. I deselect "all" and then make my filter selections. The next time I open the selection filter I want to select different filters I have to select "all" and then deselect "all" to make my new selections. Is this how I interpret it?
You can select any checkboxes no matter what the top checkbox is set to, and it will update to match what's below it. As a "three state checkbox," it's not limited to Boolean on/off—it can also be "partially on", reflecting when some of the boxes are checked and some aren't. In the Mac OS X style, that's represented by a horizontal line in the box.
1.3 and 1.5 both look good to me. @lasconic, was the 3-state dashed box a Qt built-in or did you have to override something?
What happens if I am in the custom (dashed) state and I press it 3 times? Does it return to the dashed state? Is my selection remembered from the last time I was in the dashed state?
Just wondering if it would make sense to slightly bolden the 'All' label text as well. It might become too heavy though, but if all boxes are checked or unchecked, it will help to set this option apart.
I tried to differentiate the first item from the others but without success. It would probably require to change the QListWidget by a QTreeView. So that would be for later.
Came up again in #165451: Check mark partially remains in selection fliter, esp. the discussion about whether or not to use a tristate button
And in master that tristate button looks quite ugly, a small grey rectangle inside the button rectangle
Comments
I totally agree with that.
I agree too ;)
A helpful change would great.
What about this feature request ? Planned near or far?
I see queries in that direction on forums (for guitar).
For deselect, I quote, eg: "it's a bit tedious"
Came up again in https://musescore.org/en/node/98871
And a while earlier in https://musescore.org/en/node/82396
Ideally this would be a three-state checkbox between "select all" (checkbox checked), "select none" (checkbox unchecked) and "custom selection" (checkbox entirely filled with a square or similar). When in "select all" or "select none" modes, changing another selection (e.g. Voice 1) would automatically switch to "custom selection" mode.
I'd like to add my support for a way to untick/tick all options.
The three-state checkbox would definitely be ideal. Here's a GIF showing how that works on Mac OS X:
What would be the text of such a tri state checkbox?
Simply 'All' ?
Yeah.
Yes. And a "none" botton.
"None" doesn't come into it—that's what unchecking "All" is.
Nope. If you have, let's say, 8 items selected, a "none" button would be helpful.
If you have 8 items selected, and you want none, you uncheck "All." Look at the GIF in https://musescore.org/en/node/33131#comment-519341 again.
OK. I open the selection filter and the selection is "all". Now I want to select four filters. I deselect "all" and then make my filter selections. The next time I open the selection filter I want to select different filters I have to select "all" and then deselect "all" to make my new selections. Is this how I interpret it?
You can select any checkboxes no matter what the top checkbox is set to, and it will update to match what's below it. As a "three state checkbox," it's not limited to Boolean on/off—it can also be "partially on", reflecting when some of the boxes are checked and some aren't. In the Mac OS X style, that's represented by a horizontal line in the box.
MuseScore style. Good ?
Magnificent! ;-)
Can the dashed checkbox be made a little bit bolder?
Thanks Iasconic. The answer to my question was Yes. I like it.
Can the dashed checkbox be made a little bit bolder?
Yes, but it will change the dash pattern.
The normal, non dashed, check mark is 2.0.
The current thickness (the one in the gif above) is 1.3.
1.5
1.7
Okay, what about 1.5, then?
1.3 and 1.5 both look good to me. @lasconic, was the 3-state dashed box a Qt built-in or did you have to override something?
What happens if I am in the custom (dashed) state and I press it 3 times? Does it return to the dashed state? Is my selection remembered from the last time I was in the dashed state?
What happens if I am in the custom (dashed) state and I press it 3 times? Does it return to the dashed state?
Of course not.
Any QCheckbox can be a tri state checkbox. https://doc-snapshots.qt.io/qt5-5.6/qt.html#CheckState-enum
We use this in the MIDI import panel too.
1.5 works out good.
Just wondering if it would make sense to slightly bolden the 'All' label text as well. It might become too heavy though, but if all boxes are checked or unchecked, it will help to set this option apart.
Fixed in branch master, commit 40e0991451
fix #33131: Add a way to select/deselect all in Selection Filter
Fixed in branch 2.0.4, commit 673e8c75fc
fix #33131: Add a way to select/deselect all in Selection Filter
I tried to differentiate the first item from the others but without success. It would probably require to change the QListWidget by a QTreeView. So that would be for later.
Automatically closed -- issue fixed for 2 weeks with no activity.
Came up again in #165451: Check mark partially remains in selection fliter, esp. the discussion about whether or not to use a tristate button
And in master that tristate button looks quite ugly, a small grey rectangle inside the button rectangle