Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Questions on Radio Button and QPushButton!!!

Questions on Radio Button and QPushButton!!!

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 873 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pedro_Monteiro
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bsomervi
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved