[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] A bug confirmed
From: Dave S <eric3 () pusspaws ! net>
Date: 2006-09-29 11:22:40
Message-ID: 200609291222.40388.eric3 () pusspaws ! net
[Download RAW message or body]
This is an easily reproducible bug.
Start QT4 designer - create a new form type 'main window'
put a push button on it :)
save it
pyuic it ...
Try to call it with ...
#!/bin/env/python
import mainscreen, sys
from PyQt4 import *
def main(args):
app = QtGui.QApplication(sys.argv)
window = QtGui.QDialog()
ui = mainscreen.Ui_MainWindow()
ui.setupUi(window)
window.show()
sys.exit(app.exec_())
if __name__=="__main__":
main(sys.argv)
and you get a 'setCentralWidget' error.
QT v4.1.4; PyQt v4.0.1; and Python v2.4.3
Dave
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic