1 #ifndef PROPERTYBROWSER_H 2 #define PROPERTYBROWSER_H 49 void makeLine(QString propertyName, QVariant value,
bool editable, QVector<QVariant> extra);
50 void setLine(QString propertyName, QVariant value);
51 void blankLine(QString propertyName);
56 QMap<QString, QBoxLayout *> mLines;
57 QMap<QString, QMetaType::Type> mLineType;
58 QMap<QString, QWidget *> mLineWidget;
59 QMap<QString, QLabel *> mLineLabel;
61 QVBoxLayout *mMainLayout;
64 #endif // PROPERTYBROWSER_H Definition: propertybrowser.h:25
The PropertyBrowser class.
Definition: propertybrowser.h:17
void setPropertyManager(AbstractPropertyManager *propertyManager)
setPropertyManager Takes ownership of the property manager. The old property manager will be deleted...
Definition: propertybrowser.cpp:23
void clear()
clear Deletes the current propertyManager if there is one. The PropertyBrowser will show nothing...
Definition: propertybrowser.cpp:51
PropertyBrowser(QWidget *parent=nullptr)
Definition: propertybrowser.cpp:12
CustomType
Definition: propertybrowser.h:22
Definition: propertybrowser.h:23
Definition: propertybrowser.h:24
The AbstractPropertyManager class Should take some source data in the constructor, and implement the ability to see and modify any properties of the core object.
Definition: abstractpropertymanager.h:13