That does the trick.
Thank you.
Looking forward to use the full power of pyqt-dip,
Achim
Am 08.02.2011 13:35, schrieb Phil Thompson:
On Mon, 07 Feb 2011 19:24:23 +0100, Achim Kisseler
<[email protected]> wrote:
Am 07.02.2011 19:05, schrieb Phil Thompson:
Very wrong. Designer is a factory class for an item in a view. So you
need
to create the factory for the view itself, then call the view factory
to
create the actual GUI.
...it was just a very basic hack...to learn from error messages...
I am a bit ashamed...
Thanks for this example! I couldnt find anything like this on the web.
You helped me saving a lot of time.
(BTW I've just updated the snapshots to fix a bug so that the above
example will actually work.)
Phil, you are great!!
Thank you very much!
Achim
.......... very slow internet connection.........
I just tested it and it came with another error:
unhandled TypeError
"str() takes at most 1 argument (2 given)"
Datei: /usr/local/lib/python2.6/dist-packages/dip/ui/designer.py, Zeile:
96
Until I push the latest changes you can fix this by changing "str" to
"unicode".
(running designer.py:
unhandled ValueError
"Attempted relative import in non-package"
Datei: /usr/local/lib/python2.6/dist-packages/dip/ui/designer.py, Zeile:
23)
BTW:
(running meta-model.py:
unhandled ValueError
"Attempted relative import in non-package"
Datei: /usr/local/lib/python2.6/dist-packages/dip/model/meta_model.py,
Zeile: 21)
These files aren't intended to be run in isolation.
Phil
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt