+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: ModuleBase_WidgetLabel.h
// Created: 03 Dec 2014
// Author: Vitaly SMETANNIKOV
virtual ~ModuleBase_WidgetLabel();
+ /// Defines if it is supported to set the value in this widget
+ /// It returns false because this is an info widget
+ virtual bool canSetValue() const { return false; };
+
virtual bool storeValue() const
{
return true;
QWidget* getControl() const;
+ /// This control doesn't accept focus
+ virtual bool focusTo() { return false; }
+
private:
QLabel* myLabel;
};