Questions tagged [qradiobutton]

The QRadioButton widget, part of the Qt framework, provides a radio button with a text label.

The QRadioButton widget, part of the Qt framework, provides a radio button with a text label.

A QRadioButton is an option button that can be switched on (checked) or off (unchecked). Radio buttons typically present the user with a "one of many" choice. In a group of radio buttons only one radio button at a time can be checked; if the user selects another button, the previously selected button is switched off.

Source: QRadioButton class reference

71 questions
0
votes
1 answer

Qt, conflict between 2 QRadioButton sets

My widget app interface holds 2 sets of QRadioButtons, independant to one another. One of the sets is actually a QDialogButtonBox of QRadioButtons. At first both sets behave intentionally, which means, clicking on 1 button of the set unchecks the…
tomatoKetchup
  • 43
  • 2
  • 7
0
votes
2 answers

How to randomize the order of radio buttons in pyqt

im making a quiz and i want the radiobuttons to be in different positions. ive got it working to a extent as it would be in random order in the first question however it would then stay in that order for the rest of the quiz. I want it to randomize…
Spike7
  • 128
  • 1
  • 4
  • 15
0
votes
1 answer

How can i display results from a mysql query into Qradiobuttons in python

Im doing a quiz for my coursework and im dont know how to display results of my msql query as a radio button. I know how to display my results within python traceback but nothing else. Im using pyqt and mysql to code but im dont know how to to…
Danielb7
  • 3
  • 4
0
votes
1 answer

How to set up and react to multiple display options?

I'm working on a GUI that will eventually run one of several data analyses depending on which the user selects. In this part of the GUI, I have four radio buttons with options, and then a display button. I would like one of four imported functions…
Emily C
  • 281
  • 2
  • 4
  • 9
0
votes
1 answer

Extend a QT QRadioButton Class to attach QSound::Play to a private slot

I've been playing around with QT5 for Android, I've been struggling a bit with extending an existing class so I can play a sound anytime I click on a radio button that has been promoted. I'm using the standard QT APP template to get started, This…
user2342062
0
votes
1 answer

How to shift position of radio button and reverse radio button function when unchecking it?

I would like to ask 2 questions about my code. First, how do I shift the position of my radio button into the position that I want (I wrote it in the code)? And how do I reverse my LCD screen after unchecking it? Right now, it shows '02' when…
Viv91
  • 45
  • 2
  • 8
0
votes
1 answer

Make disabled QRadioButton look enabled python

I am trying to make disabled QRadioButtons look Enabled. I want them to look normal, but not allow the user to change them. I tried QRadioButton.setCheckable(False) and then setting QRadioButton.setChecked(True). As can be assumed,…
Cody Dostal
  • 311
  • 1
  • 3
  • 13
0
votes
2 answers

Passing QRadioButton value from one window to another window in Qt (no matching function for call to)

I want to pass selected QRadioButton's value from one Window to another. I am confused with the function declaration to accept the text value in Second Window, here is my code. Window1.cpp void SelectOS ::…
abhi abhi
  • 181
  • 1
  • 2
  • 10
-1
votes
1 answer

How to connect a QRadioButton of a QTableWidget cell with another QTableWidget cell using an arrow?

I have a QListWidget and a QGraphicsView both subclassed to overwrite some of their members. I prepared a minimal verifiable example showing the problem I have here From the QListWidget I can drag and drop specific field (represented by a…
Emanuele
  • 2,194
  • 6
  • 32
  • 71
-1
votes
1 answer

qradiobuttions are not visible

I developed a very simple qt application by using qt creator 4.6 on Mac (MacOs HighSierra Ver. 10.13.6 (17G65)). The application has a main window, a label with a picture and two radio button groups. I compile and launch the program but only one…
Ferrari
  • 75
  • 1
  • 11
-1
votes
1 answer

Unable to click on QRadioButton after linking it with QtCore.QEventLoop()

Few days back i had situation where i had to check/uncheck QRadioButton in for loop. Here is the link Waiting in for loop until QRadioButton get checked everytime? After implementing QEventLoop on this, it worked fine until today. Now i have seen my…
Pawankumar Dubey
  • 387
  • 1
  • 6
  • 21
1 2 3 4
5