M
Michael McGarry
Hi,
I am trying to show a radio button group on a window, but only the last
radio button shows up. Anyone know why?
Here is the code:
from qt import *
import sys
a = QApplication(sys.argv)
widget = QWidget()
trafftype = QButtonGroup("Traffic Type", widget)
poisson = QRadioButton("Poisson", trafftype)
selfsimilar = QRadioButton("Self-Similar", trafftype)
a.setMainWidget(widget)
widget.show()
a.exec_loop()
Any help is greatly appreciated.
Michael
I am trying to show a radio button group on a window, but only the last
radio button shows up. Anyone know why?
Here is the code:
from qt import *
import sys
a = QApplication(sys.argv)
widget = QWidget()
trafftype = QButtonGroup("Traffic Type", widget)
poisson = QRadioButton("Poisson", trafftype)
selfsimilar = QRadioButton("Self-Similar", trafftype)
a.setMainWidget(widget)
widget.show()
a.exec_loop()
Any help is greatly appreciated.
Michael