X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModuleBase%2FModuleBase_WidgetNameEdit.h;h=d72fd7b9490ae0341c52898e454393df6d8808f1;hb=32bab2f2bbbfea250b7aeb2d5b2ce89a28f7072d;hp=ba090c4ab61656df61c7e30293f6127980a75a0c;hpb=dc7d4d86b58b81684abc9b5a2be8ec30f210c2da;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetNameEdit.h b/src/ModuleBase/ModuleBase_WidgetNameEdit.h index ba090c4ab..d72fd7b94 100644 --- a/src/ModuleBase/ModuleBase_WidgetNameEdit.h +++ b/src/ModuleBase/ModuleBase_WidgetNameEdit.h @@ -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