From pykde Wed Nov 03 22:37:47 2004 From: Sundance Date: Wed, 03 Nov 2004 22:37:47 +0000 To: pykde Subject: Re: [PyKDE] Using custom components and Qt Designer with Message-Id: <200411032337.47992.sundance () ierne ! eu ! org> X-MARC-Message: https://marc.info/?l=pykde&m=109952153727671 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 field > which QWidgetFactory ignores. You know, what would REALLY kick butt would be a way to import .ui files directly. Like: from MyWidgetUIFile import MyWidget That's how the Python bindings for the ORBit CORBA implementation works. You can import IDL files directly. This really, /really/ makes a difference in development cleanliness and flexibility. Anyone has any idea how to do that? -- S. _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde