29 #ifndef GAMMARAY_PROPERTYWIDGET_H
30 #define GAMMARAY_PROPERTYWIDGET_H
36 #include "gammaray_ui_export.h"
37 #include <common/enums.h>
38 #include "propertywidgettab.h"
40 class QAbstractItemModel;
41 class QAbstractItemView;
46 class Ui_PropertyWidget;
47 class PropertyControllerInterface;
57 QString objectBaseName()
const;
58 void setObjectBaseName(
const QString &baseName);
60 template<
typename T>
static void registerTab(
const QString &name,
const QString &label)
62 s_tabFactories << new PropertyWidgetTabFactory<T>(name, label);
64 widget->createWidgets();
72 void updateShownTabs();
76 QString m_objectBaseName;
80 QVector<PropertyWidgetTabFactoryBase*> m_usedFactories;
81 QVector<QWidget*> m_tabWidgets;
85 static QVector<PropertyWidgetTabFactoryBase*> s_tabFactories;
86 static QVector<PropertyWidget*> s_propertyWidgets;
91 #endif // GAMMARAY_PROPERTYWIDGET_H
Client/Server interface of the property editor.
Definition: propertycontrollerinterface.h:40
Definition: endpoint.h:42