[Interest] Adding layouts to designer?

Andreas Pakulat apaku at gmx.de
Wed Nov 30 23:36:12 CET 2011


On 30.11.11 13:44:07, Jason H wrote:
> I want to add some additional layouts to Designer (yes, that dinosaur) I have a widget library I am working on, and I have a special layout that I need to add. Now the plugin only works for those things which can return a QWidget*, but QLayouts are not based on QWidget. So how do I add my special layout to Designer?
> 
> I'm stumped here.

Thats because you can't. Designer is not universally extendable as you'd
like it to be. It does not even support all kinds of qwidgets since it
has quite some special code for handling some of the standard Qt widgets
(QMainWindow, Q(Table|Tree|List)Widget, but others too IIRC).

Andreas




More information about the Interest mailing list