myLabel->setPixmap(QPixmap(aLabelIcon));
aLayout->addWidget(myLabel);
+ std::string aToolstr = theData->widgetTooltip();
+ if (!aToolstr.empty()) {
+ myLabel->setToolTip(QString::fromStdString(aToolstr));
+ }
+
myCombo = new QComboBox(this);
aLayout->addWidget(myCombo, 1);
QString aTTip = QString::fromStdString(theData->widgetTooltip());
mySpinBox->setToolTip(aTTip);
+ myLabel->setToolTip(aTTip);
aControlLay->addRow(myLabel, mySpinBox);
#ifdef APPLY_BY_ENTER_OR_TAB
QString aTTip = QString::fromStdString(theData->widgetTooltip());
mySpinBox->setToolTip(aTTip);
+ myLabel->setToolTip(aTTip);
aControlLay->addRow(myLabel, mySpinBox);
#ifdef APPLY_BY_ENTER_OR_TAB
myTextLine->installEventFilter(this);
aLayout->addRow(myLabel, myTextLine);
+ myLabel->setToolTip(aToolTip);
std::string aTypes = theData->getProperty("shape_types");
myShapeTypes = QString(aTypes.c_str()).split(' ', QString::SkipEmptyParts);
myTextLine->setToolTip(aToolTip);
myTextLine->installEventFilter(this);
+ myLabel->setToolTip(aToolTip);
+
QString aUseBody = QString::fromStdString(theData->getProperty(USE_BODY));
if(!aUseBody.isEmpty()) {
myUseBody = QVariant(aUseBody).toBool();