Questions on Radio Button and QPushButton!!!

  • Hi guys, in a part of the program I'm developing I intend to show a set of QRadioButton when a button is clicked, and when another button is clicked, in the same place that set of QRadioButton disappears and another with the same number of options appears, but I do not know how to do this, does anyone know?
    Thank you.

  • Lifetime Qt Champion

    You mean like sort a popup menu with QRadioButton
    when you click the pushbutton ?

  • What you are describing sounds like a QTabWidget but if you do not want the tab buttons then QStackedWidget does the same but you need to coordinate the visible widget from your code. QStackedWidget is a convenience widget built on top of the QStackedLayout class which you can use directly if you need even lower level capability.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.