Important: Please read the Qt Code of Conduct -

States Question, Retractable display controlled by a button

  • Hello-

    I'm working with States to build a retractable settings control panel. Figure 1, shows this panel along with the different states I have tried to create at the bottom. The top portion if the rectangle is my primary controls ( the button, combo box, and on/off button). The bottom is my secondary controls ( the two sliders and the two check boxes. What I want to happen is to have one state only show the primary controls, another to retract the secondary controls, and the last to close the secondary controls by detracting. This is all done by the button in the top left corner.


    Figure 2 shows the code I have used
    states code.png

    Question: What am I doing wrong to transition between states? The states view in the bottom of figure 1 doesn't show any changes between states. Any ideas on how to fix this??

Log in to reply