X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ErrorMgr.h;h=23012267b30a52f781cadcbc07c71b12d27f05b5;hb=220bd2b37119be1c65abf88a88792445cb9d99f8;hp=7970f6ec00e3a05589afd73fdd7bad3914915a65;hpb=f4f5e51326a1846df7684d7fbf5b8315b12a29de;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ErrorMgr.h b/src/XGUI/XGUI_ErrorMgr.h index 7970f6ec0..23012267b 100644 --- a/src/XGUI/XGUI_ErrorMgr.h +++ b/src/XGUI/XGUI_ErrorMgr.h @@ -44,6 +44,9 @@ public: /// \param theFeature a feature void updateAcceptAllAction(const FeaturePtr& theFeature); + /// Returns true if the apply is enabled for the current feature + bool isApplyEnabled() const; + protected slots: /// Reimplemented from ModuleBase_ErrorMgr::onWidgetChanged(). virtual void onWidgetChanged(); @@ -71,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