by the way:
I try to set up a basic test case for using an .ui file created with
designer as base.
The .ui is a MainWindow, containing among other stuff a label named "label"
--%<--
import sys
from PyQt4.QtCore import Qt
from PyQt4.QtGui import QApplication
from dip.model import *
from dip.ui import *
from dip.ui.toolkits.qt import QtToolkit
class test(Model):
label = "testtext"
app = QApplication(sys.argv)
toolkit = QtToolkit()
ui_file_name = "dip-test.ui"
model = test()
ui = Designer()
ui.exec_()
--%<--
..which is probaly wrong.
Achim
Am 07.02.2011 18:15, schrieb Achim Kisseler:
Trying out an test app, I get the following error:
unhandled TypeError
"__init__() takes exactly 2 arguments (1 given)"
Datei: /usr/local/lib/python2.6/dist-packages/dip/model/meta_model.py,
Zeile: 113
I get this error, when I run meta_model.py itself, too.
Is it a bug or is something wrong with my settings eg.?
Does anybody know?
Thanks,
Achim
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt