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. radio button with only the image
Forum Updated to NodeBB v4.3 + New Features

radio button with only the image

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 856 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.
  • canellasC Offline
    canellasC Offline
    canellas
    wrote on last edited by canellas
    #1

    Hi!

    Is there a way of QRadioButton to display the 'icon' property, but not the white circle?

    Or is there a way to have a group of QToolButton, and when the user clicks on one of them, it stays pressed, while the others are automaticaly unpressed?

    TIA!

    raven-worxR 1 Reply Last reply
    0
    • canellasC canellas

      Hi!

      Is there a way of QRadioButton to display the 'icon' property, but not the white circle?

      Or is there a way to have a group of QToolButton, and when the user clicks on one of them, it stays pressed, while the others are automaticaly unpressed?

      TIA!

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @canellas said:

      Is there a way of QRadioButton to display the 'icon' property, but not the white circle?

      about what white circle are you talking? RadioButtons (widgets in general) are painted in the antive platfrom style, so they appear differently on each system.
      But generally you can use stylesheets to alter the look & feel.

      Or is there a way to have a group of QToolButton, and when the user clicks on one of them, it stays pressed, while the others are automaticaly unpressed?

      Basically you use QActionGroup (and set it to exclusive). But i've never tried it with QActions in a toolbar. Would be interesting if this also works.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0

      • Login

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