formatting for enabled vs disabled items in Movement tree #182
Labels
enhancement
New feature or request
good first issue
Good for newcomers
GUI only
Work on this issue might reference data structures, but won't affect them.
(low priority)
Description of issue
The Movement tree is visible via a
MovementTreeView
at the bottom-left of the Movement module specification dialog:MovementTreeItem
s in the tree are either mutually exclusive (ME) or not; ME items are displayed with radio buttons and non-ME items are displayed with checkboxes. Checkboxes are the default way forQStandardItem
s to appear in such a view, so the radio buttons for ME items are created via the overloadedMvmtTreeItemDelegate.paint()
function.There are two issues with the way that the radio buttons are painted:
Here's an example of what's currently happening-- Directionality, Unidirectional, and Bidirectional are all disabled in the image below, but it's only really clear for Directionality. Unidirectional and Bidirectional are ambiguous because the radio button is filled in with grey but the text is black; this formatting never changes.
Related issues and discussion
See issue #83 and comments re formatting/style in #134 for background.
It wasn't such a big deal that only checkboxes get greyed out when we were dealing with the directionality issue, since the two relevant radio buttons getting disabled were children of a (greyed-out) disabled checkbox.
However, in issue #175 when Kathleen specified "if any of the above are selected (instead of H1 / H2 / both hands), disable the 'joint-specific movement' options"... all of these options to be disabled are radio buttons. So from the user's perspective, there is absolutely no visual indication why they shouldn't be able to check any of those items.
Not super high priority, but eventually we will need to figure out a way to make disabled radio-button tree items also have grey font, or at least some visual indication that they're unavailable.
The text was updated successfully, but these errors were encountered: