Added toolTip.
--HG-- branch : feature
This commit is contained in:
parent
b55c0ffff5
commit
6e7b77b9de
|
@ -414,6 +414,7 @@ void DialogEditWrongFormula::ShowMeasurements(const QMap<QString, QSharedPointer
|
|||
ui->tableWidget->setRowCount(ui->tableWidget->rowCount() + 1);
|
||||
QTableWidgetItem *itemName = new QTableWidgetItem(iMap.key());
|
||||
itemName->setFont(QFont("Times", 12, QFont::Bold));
|
||||
itemName->setToolTip(itemName->text());
|
||||
|
||||
QTableWidgetItem *itemFullName = new QTableWidgetItem();
|
||||
itemFullName->setFont(QFont("Times", 12, QFont::Bold));
|
||||
|
@ -426,6 +427,7 @@ void DialogEditWrongFormula::ShowMeasurements(const QMap<QString, QSharedPointer
|
|||
itemFullName->setText(qApp->TrVars()->GuiText(iMap.value()->GetName()));
|
||||
}
|
||||
|
||||
itemFullName->setToolTip(itemFullName->text());
|
||||
ui->tableWidget->setItem(ui->tableWidget->rowCount()-1, ColumnName, itemName);
|
||||
ui->tableWidget->setItem(ui->tableWidget->rowCount()-1, ColumnFullName, itemFullName);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user