Salome HOME
Make same planes cannot be used twice in partition tool
[modules/shaper.git] / src / XGUI / XGUI_ErrorMgr.h
index 7970f6ec00e3a05589afd73fdd7bad3914915a65..23012267b30a52f781cadcbc07c71b12d27f05b5 100644 (file)
@@ -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