Just one remark about this line:
QtGui.QWidget.__init__(self, parent)
I think you should use this:
super(Contract, self).__init__(parent)
so you will be following PEP 3135
2011/3/16 taco
> taco wrote:
>
> ah, I solved it myself. for completeness reasons. I had upgraded python for
> reportla
taco wrote:
ah, I solved it myself. for completeness reasons. I had upgraded python for
reportlab which needed this python version, while still using a pyqt which
was compiled for 2.6. After compilation and changing pythonpath to the right
site-packages dir it's working
> hi,
> I have a form
hi,
I have a form containing a few QLineedits and I wish to retrieve the
contents only after pressing a QPushButton.
a looks like:
class Contract(QtGui.QWidget):
def __init__(self,fileInfo, parent=None):
QtGui.QWidget.__init__(self,parent)
self.name = QtGui.QLineEdit("")
.
se