PDA

View Full Version : QDesigner plugin



h123
5th October 2009, 14:24
Hi,
I have create a custom layout and would like to add it into the QDesigner as plugin.
Can you please let me how can I achieve this.

Thank you in advance.

yogeshgokul
5th October 2009, 14:57
This is what you want.
1. http://pepper.troll.no/s60prereleases/doc/designer-creating-custom-widgets.html

2. http://qt.nokia.com/doc/4.5/qtdesigner.html#creating-custom-widget-plugins

h123
6th October 2009, 07:51
Hi yogeshgokul,

I have already looked into that.
And I am able to add my custom widget only if I inherit from QWidget.
Here my question is I have my custom layout which inherits from QObject, so how can I add my custom layout in QDesigner as plugin.

Thank you.

yogeshgokul
6th October 2009, 08:04
Here my question is I have my custom layout which inherits from QObject, so how can I add my custom layout in QDesigner as plugin.
I am not sure its possible, this is nowhere documented. According to docs, only QWidget sub classed components can be integrated in Designer.

h123
12th October 2009, 08:36
Hello people,

Any idea on this?

Thank you.