Results 1 to 5 of 5

Thread: What widgets are used in Qt Designer?

  1. #1
    Join Date
    Aug 2009
    Location
    Brisbane, Australia
    Posts
    75
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default What widgets are used in Qt Designer?

    Hi,

    Is there any examples of the Properties table as used in Qt Designer ?

    Looks like tree widgets added to a table.

    Thanks,
    Brendan
    Last edited by grantbj74; 17th September 2012 at 05:52.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: What widgets are used in Qt Designer?

    Yes, sure. The code for the properties table is in the Qt source for Designer. I don't have time to find the specific files: there's no single "property editor" source file.

  3. #3
    Join Date
    Aug 2009
    Location
    Brisbane, Australia
    Posts
    75
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What widgets are used in Qt Designer?

    That Qt Designer code blows my mind.

    I started one attempt using a QTreeWidget with two columns.

    Currently for some of the Values column, I use a QSpinBox, I would like the spin box buttons etc to disappear when the value isn't selected. Similar to Qt Designer properties. I'm guessing I need to use a QTreeView instead.

    For now I will continue trying to workout the Qt Designer properties code. Hopefully my little brain won't explode.

  4. #4
    Join Date
    Aug 2009
    Location
    Brisbane, Australia
    Posts
    75
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What widgets are used in Qt Designer?

    I worked out that I need to use QtPropertyBrowser.

    Downloaded the examples.

    Having troubles compiling them with mingw32.

  5. #5
    Join Date
    Aug 2009
    Location
    Brisbane, Australia
    Posts
    75
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What widgets are used in Qt Designer?

    I got the examples to compile. I think I had problems before, because I didn't run qmake and make from the "Qt 4.8.1 Command Prompt".

    I found there were two sources qtpropertybrowser-2.5_1-opensource.zip and qq18-propertybrowser-code.zip. I managed to get both to work.

    I think qtpropertybrowser-2.5_1-opensource.zip is more complete.

Similar Threads

  1. Replies: 2
    Last Post: 30th March 2011, 20:20
  2. Promoted widgets in Qt Designer
    By martinb0820 in forum Qt Tools
    Replies: 1
    Last Post: 9th June 2010, 15:07
  3. Custom Widgets in QT DEsigner
    By amitkhanna in forum Newbie
    Replies: 3
    Last Post: 4th June 2010, 06:15
  4. Adding widgets in Designer
    By franco.amato in forum Newbie
    Replies: 3
    Last Post: 21st December 2009, 13:43
  5. How to create pop up widgets in designer.
    By gsQT4 in forum Qt Tools
    Replies: 1
    Last Post: 25th May 2006, 16:40

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.