[PyQt] removing Widgets

2013-03-29 Thread Matthew Ngaha
im trying to have my layout remove a widget. I have a QDialog that lays out a single QWidget that will perform some painting. After an interval i need to remove the QWidget from the layout and add another QWidget, my problem is layout.removeWidget(qwidget) doesnt remove the QWidget. and calling QO

[PyQt] updating version

2013-03-21 Thread Matthew Ngaha
hey im still studying my pyqt tutorial so im just an average level user. i had 4.8 i believe but noticed they have 2 new 4.10 versions out and feel its time i updated for all my future programs. PyQt4-4.10-gpl-Py3.3-Qt4.8.4 PyQt4-4.10-gpl-Py3.3-Qt5.0.1 on the download page the Qt4.8.4 version is

[PyQt] need help with new signals

2012-10-23 Thread Matthew Ngaha
im trying to figure out how i can change the old signal syntax to new. the program im reading through creates a widget that inherits from QSpinBox. zerospinbox = ZeroSpinBox() It then emits its custom signal, then that signal is connected to a python method. Here are the 2 codes i need help conv