View Full Version : QTDesigner base view class
dave
14th November 2006, 21:19
Hi
This is kind of a stupid question. Anybody can tell me what class the QTDesigner properties view is based on?
jacek
14th November 2006, 21:56
If you open $QTDIR/tools/designer/src/components/propertyeditor/qpropertyeditor.cpp, you'll see:
QPropertyEditor::QPropertyEditor(QWidget *parent)
: QTreeView(parent)
{
...
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/addon/solutions/catalog/4/Widgets/qtpropertybrowser/
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.