Add tooltip to each cell in the Table of Variables.

This commit is contained in:
Roman Telezhynskyi 2020-04-06 15:51:13 +03:00
parent e07058453a
commit a0801635b5

View File

@ -301,6 +301,7 @@ QTableWidgetItem * DialogIncrements::AddCell(QTableWidget *table, const QString
QTableWidgetItem *item = new QTableWidgetItem(text);
item->setTextAlignment(aligment);
item->setToolTip(text);
// set the item non-editable (view only), and non-selectable
Qt::ItemFlags flags = item->flags();