Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Questions on Radio Button and QPushButton!!!
Pedro_Monteiro last edited by
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?
You mean like sort a popup menu with QRadioButton
when you click the pushbutton ?
bsomervi last edited by
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.