Results 1 to 2 of 2

Thread: QTDesigner base view class

  1. #1
    Join Date
    Jan 2006
    Posts
    52
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QTDesigner base view class

    Hi

    This is kind of a stupid question. Anybody can tell me what class the QTDesigner properties view is based on?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTDesigner base view class

    If you open $QTDIR/tools/designer/src/components/propertyeditor/qpropertyeditor.cpp, you'll see:
    Qt Code:
    1. QPropertyEditor::QPropertyEditor(QWidget *parent)
    2. : QTreeView(parent)
    3. {
    4. ...
    To copy to clipboard, switch view to plain text mode 
    So it looks like it's ordinary QTreeView with custom model and delegate.

    Also check this out:
    http://doc.trolltech.com/qq/qq18-propertybrowser.html
    http://www.trolltech.com/products/qt...opertybrowser/

  3. The following user says thank you to jacek for this useful post:

    dave (15th November 2006)

Similar Threads

  1. Change base class
    By villy in forum Qt Tools
    Replies: 2
    Last Post: 20th September 2006, 12:26
  2. Signal/slot looking in base class, not derived class
    By georgie in forum Qt Programming
    Replies: 2
    Last Post: 12th May 2006, 08:36
  3. Replies: 2
    Last Post: 4th May 2006, 20:17
  4. How to propagate from one class to another
    By mahe2310 in forum Qt Programming
    Replies: 15
    Last Post: 20th March 2006, 02:27
  5. virtual overloaded functions and base class function call...
    By nouknouk in forum General Programming
    Replies: 7
    Last Post: 11th March 2006, 22:26

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.