Results 1 to 2 of 2

Thread: qt creator promoted widgets dialog

  1. #1
    Join Date
    Sep 2012
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default qt creator promoted widgets dialog

    i have a derived QMDiArea which contains some additional functionality over and above the base class and i wanted to promote the existing mdi area to this derived class. the promoted widgets dialog contains a list of available base classes and QMdiArea is not one of them. is this an oversight or is there someway for me to add this to the list?

    thanks

  2. #2
    Join Date
    Sep 2012
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qt creator promoted widgets dialog

    i found a workaround. i promoted from QWidget then i deleted the mdi area and then put a widget there which i named as mdiArea so that it can be refrerred as ui->mdiArea in code. i then promoted this widget to my derived QMdiArea and when it compiles all works just like i wanted.

Similar Threads

  1. Replies: 2
    Last Post: 18th June 2012, 11:58
  2. Replies: 6
    Last Post: 3rd April 2011, 11:15
  3. Darken Widgets Behind a Dialog
    By johnsoga in forum Qt Programming
    Replies: 0
    Last Post: 23rd August 2010, 21:35
  4. Promoted widgets in Qt Designer
    By martinb0820 in forum Qt Tools
    Replies: 1
    Last Post: 9th June 2010, 15:07
  5. Promoted widgets and layout boxes
    By notsonerdysunny in forum Qt Tools
    Replies: 3
    Last Post: 2nd May 2007, 14:15

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.