Salome HOME
Issue #3073: Show inspection panel for features
[modules/shaper.git] / src / ModuleBase / ModuleBase_ModelWidget.h
index fdd467481bf79cf5439a99b6b28834b411f507f2..3d667f6f19c19f72f2a9c0e9224d94b906908434 100644 (file)
@@ -303,6 +303,13 @@ Q_OBJECT
   /// By default this slot does nothing
   virtual void onFeatureAccepted() {}
 
+  /// Returns True in case if the widget contains useful information for inspection tool
+  virtual bool isInformative() const { return true; }
+
+  /// If widgets has several panels then this method has to show a page which contains information
+  /// for current feature. By default does nothing
+  virtual void showInformativePage() {}
+
 signals:
   /// The signal about widget values are to be changed
   void beforeValuesChanged();