From cab46ff9d1ea3bd801050eb4834f2e16a8ad3152 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 29 Sep 2018 09:18:26 +0200 Subject: [PATCH] GuiCitation: Add some tooltips for the sake of keyboard users Addresses #11317 --- src/frontends/qt4/GuiCitation.cpp | 3 ++- src/frontends/qt4/ui/CitationUi.ui | 12 +++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiCitation.cpp b/src/frontends/qt4/GuiCitation.cpp index d9d45d1bdf..ccd7425cee 100644 --- a/src/frontends/qt4/GuiCitation.cpp +++ b/src/frontends/qt4/GuiCitation.cpp @@ -579,9 +579,10 @@ void GuiCitation::regexChanged() void GuiCitation::updateFilterHint() { - QString const hint = instant_->isChecked() ? + QString hint = instant_->isChecked() ? qt_("Enter string to filter the list of available citations") : qt_("Enter string to filter the list of available citations and press "); + hint += qt_("\nThe down arrow key will get you into the list of filtered citations."); filter_->setToolTip(hint); } diff --git a/src/frontends/qt4/ui/CitationUi.ui b/src/frontends/qt4/ui/CitationUi.ui index 9def5a3c5e..a3293410bb 100644 --- a/src/frontends/qt4/ui/CitationUi.ui +++ b/src/frontends/qt4/ui/CitationUi.ui @@ -122,6 +122,11 @@ + + All references available for citing. +To select one, hit Add, press Enter or double-click. +Hit Ctrl-Enter to select and close the dialog. + QAbstractItemView::NoEditTriggers @@ -234,7 +239,12 @@ - + + + Ordered list of all cited references. +You can reorder, add and remove references with the buttons on the left. + + -- 2.39.2