Add tooltip to each cell in the Table of Variables.
This commit is contained in:
parent
e07058453a
commit
a0801635b5
|
@ -301,6 +301,7 @@ QTableWidgetItem * DialogIncrements::AddCell(QTableWidget *table, const QString
|
||||||
|
|
||||||
QTableWidgetItem *item = new QTableWidgetItem(text);
|
QTableWidgetItem *item = new QTableWidgetItem(text);
|
||||||
item->setTextAlignment(aligment);
|
item->setTextAlignment(aligment);
|
||||||
|
item->setToolTip(text);
|
||||||
|
|
||||||
// set the item non-editable (view only), and non-selectable
|
// set the item non-editable (view only), and non-selectable
|
||||||
Qt::ItemFlags flags = item->flags();
|
Qt::ItemFlags flags = item->flags();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user