[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] Using custom components and Qt Designer with QWidgetFactory
From: "Truls A. Tangstad" <kerfue+pykde () herocamp ! org>
Date: 2004-11-03 16:55:49
Message-ID: 20041103165549.GA20043 () herocamp ! org
[Download RAW message or body]
We've almost fully converted to designing all dialogboxes and other
application windows in Qt Designer to use in our PyQt application, but
I've come into a difficulty with wanting to use custom widgets
created in Python with the Qt Designer designed dialogs.
I've noted a tutorial[1] doing just that by embedding python code into
the Comments field of the form, but that only seems to work when using
pyuic to create python-code from the .ui-files. We use QWidgetFactory
exclusively to generate the widgets runtime from the .ui-files, and
using pyuic would put us back into gui-design stoneage again (gui
mixed too much with other code, and hard to redesign components).
Is there a way to use Qt Designer to embed python-created components
into dialogs etc. when they are loaded with QWidgetFactory inty our
python application?
[1] - http://www.pycs.net/lateral/stories/27.html
--
Truls A. Tangstad - <kerfue+pykde@h e r o c a m p.org>
_______________________________________________
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