yaq-project / qtypes

Build Python Qt graphical user interfaces out of simple type objects.
GNU Lesser General Public License v3.0
0 stars 2 forks source link

New button type: LinkedStateButton #32

Open ksunden opened 2 years ago

ksunden commented 2 years ago

A special button that has state associated with it. Data model:

value = state
states = [state, state, ...]

Where state is:

Next is an integer of the states list. In this way a subset of state machines can be represented here.