Results 1 to 2 of 2

Thread: Container Extensions

  1. #1
    Join Date
    Mar 2006
    Location
    Thessaloniki, Greece
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Container Extensions

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Container Extensions

    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 on my blog. I suggested some ways of overriding the faulty behaviour.

Similar Threads

  1. wheelEvent not working in an eventFilter
    By Cruz in forum Qt Programming
    Replies: 7
    Last Post: 31st January 2009, 23:06
  2. Container plugins
    By Benne Gesserit in forum Qt Tools
    Replies: 4
    Last Post: 20th November 2008, 23:43
  3. Problem with custom container widget
    By MrGarbage in forum Qt Tools
    Replies: 4
    Last Post: 25th August 2007, 03:37
  4. Replies: 4
    Last Post: 9th August 2007, 08:20
  5. container populated with custom widgets
    By momesana in forum Qt Programming
    Replies: 2
    Last Post: 16th April 2006, 21:02

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.