Skip to main content
0 votes
1 answer
69 views

I’m trying to use 2 sets of QRadioButton(s) that select different attributes. The snippet of the code reads: self.imum_box = QHBoxLayout() pigmemti_box = QHBoxLayout() # First set of QRadioButtons for ...
Fdez's user avatar
  • 13
1 vote
0 answers
283 views

I'm developing an MCQ app with long text options and just now discovered that the QRadioButton doesn't have Wordwrap option like QLabel. I'm getting my sentences truncated. Is there any way to ...
Silvio Duarte's user avatar
0 votes
1 answer
817 views

I want to change my application Theme with QRadioButton in the QWidget application. can anyone help me? I have a Setting class that has some settings and one of them is changing the theme between dark ...
abbas akbarzade's user avatar
0 votes
1 answer
336 views

I'm using radio buttons and checkboxes and I was wondering if there was a way to change the color of the border around the checkmark/radio indications. The reason is because when I switch to dark mode ...
sethdhanson's user avatar
0 votes
1 answer
1k views

I am creating a tool that that will have a search option. After searching I am creating a dataframe and displaying it in QTableView. 1- I need to show a radio button against each row in table view. ...
atiwari's user avatar
  • 39
0 votes
2 answers
76 views

I'm trying to make a new 'Qradiobutton' when I click on create button... but the button creates just one Qradiobutton. any advice ??? my code: import sys from PyQt5.QtWidgets import ( QApplication,...
iso22's user avatar
  • 55
0 votes
2 answers
2k views

I'm struggling to get inputs for radio buttons that have a text field as its label. I'm also having difficulty dynamically 'check' the radio button when the text field next to it is receiving user ...
WasabiSandwich's user avatar
-1 votes
1 answer
492 views

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 ...
Emanuele's user avatar
  • 2,474
0 votes
1 answer
92 views

I designed the following window. However, when running the code, the RadioBoxes stay behind the layout that contains the frame and the string. Could someone please tell me how to avoid this? from ...
Yago Mj's user avatar
2 votes
3 answers
14k views

I'm using some QRadioButtons inside a QButtonGroup in pyQt5. I would like the user to be able to select one of the exclusive options or none, so if he accidentally clicks a radio button, he should be ...
dvilela's user avatar
  • 1,282
2 votes
2 answers
418 views

I'm using PySide2, within maya 2018, if that matters. A QRadioButton will respond only if clicked in the area of the text, even if the button's rectangle is larger. A QPushButton can be clicked ...
smeet's user avatar
  • 23
3 votes
1 answer
2k views

My program generates forms on the fly based on SQL data. I make two radio buttons and a QLineEdit entry right next to them. When the radio button on the right is checked, the QLineEdit is enabled ...
Lacrosse343's user avatar
0 votes
0 answers
291 views

my code import sys from PyQt5.QtWidgets import (QRadioButton, QHBoxLayout, QButtonGroup, QApplication, QWidget, QLabel) from PyQt5.QtGui import QIcon, QPixmap from PyQt5.QtCore import QSize, Qt ...
askqest's user avatar
  • 47
1 vote
0 answers
148 views

I need to add one or several radiobuttons (depends on registered GPU Models). It looks like: QVBoxLayout *vLayout = new QVBoxLayout(this); QList<OpenCLGpuModel *> gpus = getGpus(); foreach (...
Dmitrii's user avatar
  • 639
1 vote
1 answer
1k views

With a simple QPushButton, if I want to use custom images while the size of the button is determined by a layout (so it can be scaled freely), the only possibility is to override border-image in the ...
vsz's user avatar
  • 4,945

15 30 50 per page
1
2 3 4 5