Results 1 to 5 of 5

Thread: Qt Designer property editor source code

  1. #1
    Join Date
    Mar 2006
    Location
    somewhere between France & Germany
    Posts
    34
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Question Qt Designer property editor source code

    Hello,

    I tried to find the source code of the Qt designer property editor (see attached screenshot Capture_Qt_PropertyEditor.jpg).
    It seems to be a QTreeView that was extended to support a number of features that I wanted to implement myself:

    Can anyone point me to this?

    Thanks,
    --
    Daniel
    • The Manual said the program required Win95 or better, so I installed Linux.
    • Newton was a pessimist.
    • no Risk! no FuN!

  2. The following user says thank you to Dwarf007 for this useful post:


  3. #2
    Join Date
    Mar 2006
    Location
    somewhere between France & Germany
    Posts
    34
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt Designer property editor source code

    Since nobody answered, can anyone point me to how to have different background colors for different branches in a QTreeView as it is the case for example in the Qt designer property editor?
    • The Manual said the program required Win95 or better, so I installed Linux.
    • Newton was a pessimist.
    • no Risk! no FuN!

  4. The following user says thank you to Dwarf007 for this useful post:


  5. #3
    Join Date
    May 2012
    Posts
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Designer property editor source code

    Just subclass and reimplement QTreeView::paint()

  6. The following user says thank you to Quasar for this useful post:


  7. #4
    Join Date
    Oct 2012
    Location
    Chennai, India
    Posts
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Designer property editor source code

    Hello everyone,

    I am also looking for the source code for the property editor. After doing some search, I read somewhere that the source code is downloaded with the LGPL licensed Qt, I went through the folder but was not able to find it. If the source code is not available, does anybody know how it was implemented, any Qt command which could read the meta-data or some thing like that from a QObject class. Any update on this thread ?

    Sapan
    Learning Never Stops
    http://learngamedev.com/
    http://switchonstudio.com/

  8. The following user says thank you to sapan280 for this useful post:


  9. #5
    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: Qt Designer property editor source code

    Take a look at QMetaObject class and QObject::metaObject().
    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.


  10. The following user says thank you to wysota for this useful post:


Similar Threads

  1. Replies: 4
    Last Post: 23rd June 2015, 15:45
  2. Replies: 2
    Last Post: 19th September 2011, 06:56
  3. [Qt Designer] How to get source code
    By Svalorzen in forum Newbie
    Replies: 4
    Last Post: 29th June 2010, 12:10
  4. QT Designer like property editor
    By dosto.walla in forum Qt Tools
    Replies: 2
    Last Post: 24th October 2008, 00:13
  5. source code from Qt4 designer
    By freelancer.kiran in forum Qt Tools
    Replies: 2
    Last Post: 12th May 2008, 07: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.