Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, April 2007
Need help with a container-plugin


Message 1 in thread

Hello,

I'm currently working on a small plugin for the qt-designer (QT4). What
I'm trying to create is essentialy a dynamic table of QFrames that
allows you to place other Widgets directly into the cells in the
designer. It will also add signal/slot functionality that allows for
rows/columns or rectangle areas of the table to be disabled/enabled and
hidden/shown.
Now I know all this can be done without creating a plugin by simply
implementing the necessary methods for the window that would use the
plugin. However I need this functionality several times throughout my
application and thought it would be convenient to have a plugin for it.

My plugin is currently working as far as creating a table of QFrames and
resizing it but I could not get it to allow the placement of other
widgets into the inner frames, the entire table works as one big
container.
The best solution would be to somehow make the designer work directly on
the inner frames without regarding the table as a container, is that
possible?
Can a container have multiple areas for widget-placement?
Can I override a function that handles widget-placement?

I appreciate any help,
R. C. Hirsch.

--
 [ signature omitted ]