1 // File: ModuleBase_WidgetLabel.cpp
2 // Created: 03 Dec 2014
3 // Author: Vitaly SMETANNIKOV
5 #include "ModuleBase_WidgetLabel.h"
7 #include <Config_WidgetAPI.h>
12 ModuleBase_WidgetLabel::ModuleBase_WidgetLabel(QWidget* theParent,
13 const Config_WidgetAPI* theData,
14 const std::string& theParentId)
15 : ModuleBase_ModelWidget(theParent, theData, theParentId)
17 QString aText = QString::fromStdString(theData->getProperty("title"));
18 myLabel = new QLabel(aText, theParent);
19 myLabel->setWordWrap(true);
20 myLabel->setIndent(5);
23 ModuleBase_WidgetLabel::~ModuleBase_WidgetLabel()
27 QList<QWidget*> ModuleBase_WidgetLabel::getControls() const
29 return QList<QWidget*>();
32 QWidget* ModuleBase_WidgetLabel::getControl() const