+ virtual void activateNextWidget(ModuleBase_ModelWidget* theWidget);
+
+ /// Activate the next from current widget in the property panel
+ virtual void activateNextWidget();
+
+ /// Set focus on the Ok button
+ virtual void setFocusOnOkButton();
+
+ /// Set Enable/Disable state of Cancel button
+ /// \param theEnabled Enable/Disable state of Cancel button
+ virtual void setCancelEnabled(bool theEnabled);
+
+ /// \return Enable/Disable state of Cancel button
+ virtual bool isCancelEnabled() const;
+
+ /// Editing mode depends on mode of current operation. This value is defined by it.
+ /// \param isEditing state of editing mode flag
+ virtual void setEditingMode(bool isEditing);
+
+ //! Allows to set predefined actions for the property panel fetched from the ActionsMgr
+ void setupActions(XGUI_ActionsMgr* theMgr);
+
+ /// Returns widget processed by preselection
+ virtual ModuleBase_ModelWidget* preselectionWidget() const;
+
+ /// Sets widget processed by preselection
+ virtual void setPreselectionWidget(ModuleBase_ModelWidget* theWidget);
+
+ /// Returns operation manager
+ XGUI_OperationMgr* operationMgr() const { return myOperationMgr; }
+
+ /// Find under the panel a child button with the parameter name
+ /// \param theInternalName a button object name
+ /// \return button instance or NULL
+ QToolButton* findButton(const char* theInternalName) const;
+
+ /// Possibility to process focus by method, for example when Tab or SHIF+Tab is pressed
+ /// but property panel is not active widget
+ /// \param theIsNext true, if Tab(to the next widget) or false(moving to the previous)
+ bool setFocusNextPrevChild(bool theIsNext);
+
+ /// The method is called on accepting of operation
+ virtual void onAcceptData();
+
+ /// Set internal active widget, that can be returned as active widget and participate in active
+ /// selection filters/modes in application. It emits signal about property panel activation or
+ /// deactivation and updates selection filters/modes accordingly.
+ /// \param theWidget a widget control to store as internal active widget
+ void setInternalActiveWidget(ModuleBase_ModelWidget* theWidget);
+
+ void updateApplyPlusButton(FeaturePtr theFeature);
+
+public slots:
+ /// \brief Update all widgets in property panel with values from the given feature
+ /// \param theFeature a Feature to update values in widgets
+ void updateContentWidget(FeaturePtr theFeature);
+
+ /// \brief If the XML definition of the feature contains information about specific
+ /// content of the property panel, it creates the panel and allow filling it by the given feature
+ /// \param theFeature a Feature to fill property panel
+ void createContentPanel(FeaturePtr theFeature);
+
+ /**
+ * Makes the given widget active, highlights it and removes
+ * highlighting from the previous active widget
+ * \param theWidget which has to be activated
+ * \param theEmitSignal a flag to prohibit signal emit
+ */
+ virtual void activateWidget(ModuleBase_ModelWidget* theWidget, const bool theEmitSignal = true);
+
+ /// Activates the parameter widget if it can accept focus
+ /// \param theWidget a widget where focus in event happened
+ void onFocusInWidget(ModuleBase_ModelWidget* theWidget);
+
+
+ /// Activate next widget
+ /// \param theWidget the current widget