{
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