]> git.lyx.org Git - lyx.git/commitdiff
GuiCitation: Add some tooltips for the sake of keyboard users
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 29 Sep 2018 07:18:26 +0000 (09:18 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 29 Sep 2018 07:18:26 +0000 (09:18 +0200)
Addresses #11317

src/frontends/qt4/GuiCitation.cpp
src/frontends/qt4/ui/CitationUi.ui

index d9d45d1bdf571ee1ddbec6cbe6e190884bea0344..ccd7425ceece86dfc209d293eee494602d0f94b8 100644 (file)
@@ -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 <Enter>");
+       hint += qt_("\nThe down arrow key will get you into the list of filtered citations.");
        filter_->setToolTip(hint);
 }
 
index 9def5a3c5e4f83a50469696205d2d700fbd061c8..a3293410bbf380b0b053a8c1caaf7a86aebc913d 100644 (file)
            </item>
            <item>
             <widget class="QListView" name="availableLV">
+             <property name="toolTip">
+              <string>All references available for citing.
+To select one, hit Add, press Enter or double-click.
+Hit Ctrl-Enter to select and close the dialog.</string>
+             </property>
              <property name="editTriggers">
               <set>QAbstractItemView::NoEditTriggers</set>
              </property>
             </widget>
            </item>
            <item>
-            <widget class="QTableView" name="selectedLV"/>
+            <widget class="QTableView" name="selectedLV">
+             <property name="toolTip">
+              <string>Ordered list of all cited references.
+You can reorder, add and remove references with the buttons on the left.</string>
+             </property>
+            </widget>
            </item>
           </layout>
          </item>