Checkbox should provide an exclusiveGroup property similar to upstream Qt CheckBox
Bug #1360840 reported by
Nekhelesh Ramananthan
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Confirmed
|
Wishlist
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Upstream QtQuick Controls provide a CheckBox [1] which has a property called "exclusiveGroup" which comes in handy when trying to ensure that only one checkbox is checked within a group.
For example, say in the UI we present a group choice like shown below where a user is expected to only choose one option. Using upstream QT Checkbox, this is quite simple to implement, while using the Ubuntu SDK Checkbox is a hassle.
Choose an Alarm Sound
[ ] Suru Arpeggio
[x] Ubuntu
[ ] Metal Piano
[1] http://
summary: |
Checkbox should provide an exclusiveGroup property similar to upstream - Qt Switch + Qt CheckBox |
Changed in ubuntu-ui-toolkit: | |
importance: | Undecided → Wishlist |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
To post a comment you must log in.
This is required for the clock app where the user should be allowed only choose one alarm sound. We have currently implemented this using a for loop which goes through the list to ensure that only one list item is checked at all times. A exclusiveGroup property would be a perfect usecase here.