From a0801635b5d223d79688ade838b89ecd2fcd132a Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 6 Apr 2020 15:51:13 +0300 Subject: [PATCH] Add tooltip to each cell in the Table of Variables. --- src/app/valentina/dialogs/dialogincrements.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/valentina/dialogs/dialogincrements.cpp b/src/app/valentina/dialogs/dialogincrements.cpp index c997e1d21..b626b416c 100644 --- a/src/app/valentina/dialogs/dialogincrements.cpp +++ b/src/app/valentina/dialogs/dialogincrements.cpp @@ -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();