Support disabled state in control system and widgets.
Bug #1180872 reported by
RJ Skerry-Ryan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Wishlist
|
RJ Skerry-Ryan |
Bug Description
Master sync and other feature requests would benefit from a way to mark a control as disabled for when its input is being ignored by the Mixxx engine. This requires updating the widget system to allow the skin to specify a disabled pixmap (maybe just an overlay?). Not sure whether the widget should reject mouse input or not but in either case the associated control could ignore the input.
Adding the disabled state is super easy given the work in the atomic-co branch.
Changed in mixxx: | |
milestone: | none → 1.12.0 |
assignee: | nobody → RJ Ryan (rryan) |
importance: | Undecided → Medium |
importance: | Medium → Wishlist |
status: | New → Confirmed |
tags: | added: skin |
Changed in mixxx: | |
milestone: | 1.12.0 → none |
To post a comment you must log in.
I wonder how this should interact with Qt's "enabled" state for widgets.
* Widgets that are not enabled do not receive mouse / other input events.
* Children of a disabled widget are also disabled.
We could use this to our advantage if every widget supported rendering a "disabled" state version of itself. Today only WDisplay/WKnob support this.
If we wanted to disable portion of the GUI, like the EQs or the mixer, we could simply have a control that indicates the enabled state and connect that control to the enabled state of the WWidgetGroup containing all of those controls. The whole section would automatically switch its enabled/disabled state with changes of that control.