Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code documentation update
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetLabel.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetLabel.h
b/src/ModuleBase/ModuleBase_WidgetLabel.h
index f7511396ba8d1271c652be626ebd5f4b999133bf..3fbf7e883411325fe921c9279f0910e3f6023a26 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetLabel.h
+++ b/
src/ModuleBase/ModuleBase_WidgetLabel.h
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: ModuleBase_WidgetLabel.h
// Created: 03 Dec 2014
// Author: Vitaly SMETANNIKOV
// File: ModuleBase_WidgetLabel.h
// Created: 03 Dec 2014
// Author: Vitaly SMETANNIKOV
@@
-19,6
+21,10
@@
Q_OBJECT
virtual ~ModuleBase_WidgetLabel();
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;
virtual bool storeValue() const
{
return true;
@@
-33,6
+39,9
@@
Q_OBJECT
QWidget* getControl() const;
QWidget* getControl() const;
+ /// This control doesn't accept focus
+ virtual bool focusTo() { return false; }
+
private:
QLabel* myLabel;
};
private:
QLabel* myLabel;
};