#include <QList>
class QKeyEvent;
+class QVBoxLayout;
class XGUI_EXPORT XGUI_PropertyPanel: public QDockWidget
{
QWidget* contentWidget();
void setModelWidgets(const QList<ModuleBase_ModelWidget*>& theWidgets);
+ void cleanContent();
+
+protected:
virtual bool eventFilter(QObject *theObject, QEvent *theEvent);
public slots:
- void updateContentWidget(boost::shared_ptr<ModelAPI_Feature> theFeature);
+ void updateContentWidget(FeaturePtr theFeature);
/// slot to set the focus to the widget visualized an attribute with the given name
/// \param theAttributteName
void onFocusActivated(const std::string& theAttributeName);
QWidget* myCustomWidget;
QList<ModuleBase_ModelWidget*> myWidgets;
+
+ QVBoxLayout* myMainLayout;
};
#endif /* XGUI_PROPERTYPANEL_H_ */