Salome HOME
Merge branch 'Dev_GroupsRevision'
[modules/shaper.git] / src / ModuleBase / ModuleBase_ModelWidget.h
index 61c278353e192758d8cfa3dbb531a419a15f0d35..2e215404f25d7d713a78f515e5d1b748c1ac0c19 100644 (file)
@@ -295,6 +295,11 @@ Q_OBJECT
   /// \return a model widget or NULL
   static ModuleBase_ModelWidget* findModelWidget(ModuleBase_IPropertyPanel* theProp,
                                                  QWidget* theWidget);
+
+  /// Returns True if the widget uses feature attribute.
+  /// If not then it means that the widget do not need attribute at all.
+  virtual bool usesAttribute() const { return true; }
+
 signals:
   /// The signal about widget values are to be changed
   void beforeValuesChanged();