Salome HOME
Create help documents management system
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetNameEdit.h
index ba090c4ab61656df61c7e30293f6127980a75a0c..d72fd7b9490ae0341c52898e454393df6d8808f1 100644 (file)
@@ -28,15 +28,17 @@ class ModuleBase_WidgetNameEdit : public ModuleBase_WidgetLineEdit
 {
   Q_OBJECT
 public:
-  ModuleBase_WidgetNameEdit( QWidget* theParent,
-                             const Config_WidgetAPI* theData,
-                             const std::string& thePlaceHolder )
-             : ModuleBase_WidgetLineEdit(theParent, theData, thePlaceHolder) {}
+  ModuleBase_WidgetNameEdit(QWidget* theParent,
+                            const Config_WidgetAPI* theData,
+                            const std::string& thePlaceHolder)
+      : ModuleBase_WidgetLineEdit(theParent, theData, thePlaceHolder) {}
 
   /// 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 false; }
 
+  virtual bool focusTo() { return false; }
+
 protected:
     /// Saves the internal parameters to the given feature
   /// \return True in success