]> SALOME platform Git repositories - modules/shaper.git/blob - src/XGUI/XGUI_PropertyPanel.h
Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git] / src / XGUI / XGUI_PropertyPanel.h
1 /*
2  * XGUI_PropertyPanel.h
3  *
4  *  Created on: Apr 29, 2014
5  *      Author: sbh
6  */
7
8 #ifndef XGUI_PROPERTYPANEL_H_
9 #define XGUI_PROPERTYPANEL_H_
10
11 #include <ModuleBase_IModelWidget.h>
12
13 #include <QDockWidget>
14 #include <QList>
15
16 class XGUI_PropertyPanel: public QDockWidget
17 {
18   Q_OBJECT
19 public:
20   XGUI_PropertyPanel(QWidget* theParent);
21   virtual ~XGUI_PropertyPanel();
22
23   QWidget* contentWidget();
24   void setModelWidgets(const QList<ModuleBase_IModelWidget*>& theWidgets);
25
26 public slots:
27   void updateContentWidget();
28
29 private:
30   QWidget* myCustomWidget;
31
32   QList<ModuleBase_IModelWidget*> myWidgets;
33 };
34
35 #endif /* XGUI_PROPERTYPANEL_H_ */