X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ErrorMgr.h;h=23012267b30a52f781cadcbc07c71b12d27f05b5;hb=1a59f21be05badd17bcac9ce82b2857b961f1d2e;hp=7295a52a4fd0f4b4e9561112feb5d84e3ae8ee37;hpb=34afe547352180006fee9600173c4dc93dc1f6c3;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ErrorMgr.h b/src/XGUI/XGUI_ErrorMgr.h index 7295a52a4..23012267b 100644 --- a/src/XGUI/XGUI_ErrorMgr.h +++ b/src/XGUI/XGUI_ErrorMgr.h @@ -44,9 +44,8 @@ public: /// \param theFeature a feature void updateAcceptAllAction(const FeaturePtr& theFeature); -public slots: - /// Reimplemented from ModuleBase_ErrorMgr::onValidationStateChanged(). - //virtual void onValidationStateChanged(); + /// Returns true if the apply is enabled for the current feature + bool isApplyEnabled() const; protected slots: /// Reimplemented from ModuleBase_ErrorMgr::onWidgetChanged(). @@ -75,6 +74,8 @@ private: ModuleBase_IWorkshop* myWorkshop; /// workshop QDialog* myErrorDialog; /// contains the error message QLabel* myErrorLabel; /// contains an error information + QString myAcceptToolTip; /// cached tool tip value for enabled Accept action + QString myAcceptAllToolTip; /// cached tool tip value for enabled AcceptAll action }; #endif // XGUI_ErrorMgr_H \ No newline at end of file