From afac9c33480246bce68b4084b4f4ef1166ed6108 Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 1 Dec 2016 23:02:49 +0100 Subject: [PATCH] Improve tooltips --- gui/tageditorwidget.ui | 12 ++++++++++++ gui/tagfieldedit.cpp | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gui/tageditorwidget.ui b/gui/tageditorwidget.ui index 05066d3..8c1ba36 100644 --- a/gui/tageditorwidget.ui +++ b/gui/tageditorwidget.ui @@ -253,6 +253,9 @@ the file reverting all unsaved changings. + + Saves all entered values and reparses the file to verify + Save @@ -263,6 +266,9 @@ the file reverting all unsaved changings. + + Deletes all tags from the file and reparses the file to verify + Delete @@ -273,6 +279,9 @@ the file reverting all unsaved changings. + + Saves all entered values and on success opens the next file + Open next file @@ -283,6 +292,9 @@ the file reverting all unsaved changings. + + Closes the file without saving changes + Close diff --git a/gui/tagfieldedit.cpp b/gui/tagfieldedit.cpp index 3a86b95..7f19e47 100644 --- a/gui/tagfieldedit.cpp +++ b/gui/tagfieldedit.cpp @@ -828,7 +828,7 @@ IconButton *TagFieldEdit::setupRestoreButton() if(!m_restoreButton) { // setup restore button m_restoreButton = new IconButton(this); m_restoreButton->setPixmap(/*QIcon::fromTheme(QStringLiteral("edit-undo"), */QIcon(QStringLiteral(":/qtutilities/icons/hicolor/16x16/actions/edit-menu.png")/*)*/).pixmap(16)); - m_restoreButton->setToolTip(tr("restore")); + m_restoreButton->setToolTip(tr("Restore value as it is currently present in the file")); connect(m_restoreButton, &IconButton::clicked, this, &TagFieldEdit::handleRestoreButtonClicked); // ownership might be transfered to a child widget/layout connect(m_restoreButton, &IconButton::destroyed, this, &TagFieldEdit::handleRestoreButtonDestroyed);