N
News123
Hi,
As you wll notice: I don't have a lot of GUI and only very litte
PyQT-experience.
I have a UI created with qt designer.
The UI contains a few named radio buttons in a button group.
( for example radioButton_one to radioButton_four )
I am unable locate a signal, that is fired whenever one of the
radiobuttons in a group have been changed.
however what I am able to is to connect the same slot to all
of the clicked events of a buttongroup
buttons = [
win.radioButton_one,
win.radioButton_two,
win.radioButton_three,
win.radioButton_four
]
for button in buttons:
button.cloicked.connect( self._mymethod )
My questions are:
1.) Is there a signal in the buttongroup, that would fire?
2.) if not. What is the easiest way to get a list of all radiobuttons
belonging to a buttongroup
Thanks in advance for your any suggestions good pointers
As you wll notice: I don't have a lot of GUI and only very litte
PyQT-experience.
I have a UI created with qt designer.
The UI contains a few named radio buttons in a button group.
( for example radioButton_one to radioButton_four )
I am unable locate a signal, that is fired whenever one of the
radiobuttons in a group have been changed.
however what I am able to is to connect the same slot to all
of the clicked events of a buttongroup
buttons = [
win.radioButton_one,
win.radioButton_two,
win.radioButton_three,
win.radioButton_four
]
for button in buttons:
button.cloicked.connect( self._mymethod )
My questions are:
1.) Is there a signal in the buttongroup, that would fire?
2.) if not. What is the easiest way to get a list of all radiobuttons
belonging to a buttongroup
Thanks in advance for your any suggestions good pointers