This PR gives the programmer the ability to control the behaviour of tristate checkboxes when they are clicked. Currently, they only toggle between the enabled/disabled state, but it is impossible for the end user to enter the undetermined state.
This adds a new property to ToggleButton, clickBehaviour, which can either be set to "toggle" (reflects current behaviour), or "cycle" (cycle between disabled, undetermined, enabled).
This PR gives the programmer the ability to control the behaviour of tristate checkboxes when they are clicked. Currently, they only toggle between the enabled/disabled state, but it is impossible for the end user to enter the undetermined state.
This adds a new property to ToggleButton, clickBehaviour, which can either be set to "toggle" (reflects current behaviour), or "cycle" (cycle between disabled, undetermined, enabled).