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. RadioButton with more than one selection
QtWS25 Last Chance

RadioButton with more than one selection

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 2.3k 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.
  • C Offline
    C Offline
    column
    wrote on 27 Feb 2018, 15:43 last edited by
    #1

    Hello,

    I need to have selection from several options that I expect to achieve with Qt RadioButton. What is the best way to make menu from several RadioButons in Qt widget application?

    alt text

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 27 Feb 2018, 17:08 last edited by
      #2

      Hi
      Put them in a QGroupBox if u want them to be exclusive. (only one selected)
      If one or more can be selected, then QCheckBox is the one to use.
      QRadioButton is for zero or 1 selections. Not multiple unless the radios are in
      multiple groups.

      1 Reply Last reply
      4

      2/2

      27 Feb 2018, 17:08

      • Login

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