kcmkwin/kwinrules: Improve "Select All" and global option behavior
For "Select All":
- When "Select All" is checked/unchecked, all other items will be checked/unchecked.
- When "Select All" is not checked but all other items are checked, mark "Select All" as checked.
- When "Select All" is checked but not all other items are checked, mark "Select All" as unchecked.
For "Global":
- When "Global" is checked, all other items will be unchecked.
- When "Global" is unchecked, no item will be checked.
- When "Global" is checked but any other item is checked, uncheck "Global".
- When "Global" is unchecked but all other items are checked, uncheck all other items and check "Global".
GlobalType | SelectAllType |
---|---|
Edited by Fushan Wen