Results 1 to 8 of 8

Thread: Generated UI header incorrectly includes class header?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2011
    Posts
    27
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: Generated UI header incorrectly includes class header?

    Quote Originally Posted by wysota View Post
    My Designer does not allow me to do so. Of course provided we all understand the term "top level widget" the same way. I'm talking about right clicking a blank form and looking for "Promote to..." menu entry which is not there.
    Ahh, I am using the designer inside of Creator 2.4.1, and it doesn't have a 'promote to', as far as I can see when right-clicking a blank form - but instead, when I click on any widget on the right (in the list of widgets, including the top-level one), it has a "Promoted Widgets" option, which once opened, allows one to manually define a new promoted class by simply choosing the base class, typing the promoted class name, and specifying the header file. This appears to be the same dialog I get when I click "promote to" on any widget included in a form.

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

    Default Re: Generated UI header incorrectly includes class header?

    Quote Originally Posted by droneone View Post
    Ahh, I am using the designer inside of Creator 2.4.1, and it doesn't have a 'promote to', as far as I can see when right-clicking a blank form - but instead, when I click on any widget on the right (in the list of widgets, including the top-level one), it has a "Promoted Widgets" option, which once opened, allows one to manually define a new promoted class by simply choosing the base class, typing the promoted class name, and specifying the header file. This appears to be the same dialog I get when I click "promote to" on any widget included in a form.
    This dialog does not allow you to PROMOTE the top-level widget, only provides a way to define mappings for promotions (the "Promote" button is greyed out).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 3
    Last Post: 6th December 2010, 14:23
  2. QStandardItem's header item and header label
    By feverzsj in forum Newbie
    Replies: 1
    Last Post: 14th January 2010, 19:57
  3. Form generated header files
    By Rockem in forum Qt Programming
    Replies: 3
    Last Post: 20th August 2009, 12:55
  4. How to customize horizontal header (diagonal header view)
    By vairamuthu.g in forum Qt Programming
    Replies: 4
    Last Post: 4th September 2008, 15:59
  5. class header warnings.
    By impeteperry in forum Newbie
    Replies: 9
    Last Post: 31st May 2006, 05:30

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
  •  
Qt is a trademark of The Qt Company.