I thought I'd just fill in anyone interested about the solution we
ended up using. It's not perfect, but a functional hack, based on
suggestions by Toby Dickenson[1] and lots of experimentation, and is
probably the way most people are doing it, but the simple solutions
are not always in plain sight
> On Thu, Nov 04, 2004 at 09:28:26AM -, Phil Thompson wrote:
>> Truls A. Tangstad wrote:
>> > I'd be quite happy with syntax such as this:
>> >
>> >
>> > from uiloader import ModuleFactory
>> >
>> > mymodule = ModuleFactory('/path/to/ui/file/here.ui')
>> > MyClass = mymodule.MyClass # if you r
On Thu, Nov 04, 2004 at 09:28:26AM -, Phil Thompson wrote:
> Truls A. Tangstad wrote:
> > I'd be quite happy with syntax such as this:
> >
> >
> > from uiloader import ModuleFactory
> >
> > mymodule = ModuleFactory('/path/to/ui/file/here.ui')
> > MyClass = mymodule.MyClass # if you really need
> On Wed, Nov 03, 2004 at 11:37:47PM +0100, Sundance wrote:
>> I heard Truls A. Tangstad said:
>>
>> > Maybe a possible solution might be to create a QWidgetFactory
>> > replacement that runtime uses pyuic and execs the result... if
>> > nothing else this allows custom components specified in the D
On Wed, Nov 03, 2004 at 11:37:47PM +0100, Sundance wrote:
> I heard Truls A. Tangstad said:
>
> > Maybe a possible solution might be to create a QWidgetFactory
> > replacement that runtime uses pyuic and execs the result... if
> > nothing else this allows custom components specified in the Designe
I heard Truls A. Tangstad said:
> Maybe a possible solution might be to create a QWidgetFactory
> replacement that runtime uses pyuic and execs the result... if
> nothing else this allows custom components specified in the Designer
> to be created correctly since pyuic uses code from the Comments
On Wed, Nov 03, 2004 at 05:24:52PM +, Toby Dickenson wrote:
> On Wednesday 03 November 2004 16:55, Truls A. Tangstad wrote:
> > 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 mix
On Wed, Nov 03, 2004 at 03:50:25PM -0200, Gustavo Barbieri wrote:
> On Wed, 3 Nov 2004 17:55:49 +0100, Truls A. Tangstad
> <[EMAIL PROTECTED]> wrote:
> > We've almost fully converted to designing all dialogboxes and other
> > application windows in Qt Designer to use in our PyQt application, but
>
On Wed, 3 Nov 2004 17:55:49 +0100, Truls A. Tangstad
<[EMAIL PROTECTED]> wrote:
> 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 i
On Wednesday 03 November 2004 16:55, Truls A. Tangstad wrote:
> 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).
Its al
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 tha
11 matches
Mail list logo