PDA

View Full Version : Container Extensions



mariok
11th March 2006, 17:17
Hello. I've been trying to use the container extension example shipped with Qt 4.1.x but i noticed that the Designer creates the code for the creation of all widgets with the correct parents but doesn't generate the code needed for uic to generate a call to the addWidget or insertWidget function of the container extension plugin. As a result to that I have to manualy insert the call in the header file generated by uic or the container extension widget becomes unusable. However the widget behaves as it's supposed to within the designer. Is there any way to make the designer generate the code needed by uic to produce these calls?
Thanks in advance for any hints on this.

wysota
3rd July 2007, 12:06
Just stumbled upon this thread...

I have a similar problem. Unfortunately for the time being (Qt 4.3) there is no support for custom multipage container widgets in uic. You can read a post about the container widgets problem (http://blog.wysota.eu.org/archives/2007/05/07/index.html#e2007-05-07T17_15_09.txt) on my blog. I suggested some ways of overriding the faulty behaviour.