Re: Problem with Qt

2004-12-12 Thread Michael McGarry
Thanks, I had just discovered Qt Designer. I will probably use this. It seems to work well. Michael -- http://mail.python.org/mailman/listinfo/python-list

Problem with Qt

2004-12-12 Thread 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", trafft

Re: Problem with Qt

2004-12-12 Thread Diez B. Roggisch
I think you have to introduce a layout on the group. The best thing is to use qdesigner, it will do that for you. If you really need code, this is cut'n'paste from a generate py-file: self.buttonGroup4 = QButtonGroup(self,"buttonGroup4") self.buttonGroup4.setColumnLayout(0,Qt.Vertical) self.button