]> git.lyx.org Git - features.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>
Tue, 2 Oct 2018 05:45:23 +0000 (07:45 +0200)
Addresses #11317

(cherry picked from commit cab46ff9d1ea3bd801050eb4834f2e16a8ad3152)

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

index 46cdd8d36fd8f66a35ccd4cb6e3b6f899bbfff5b..1af187aa281a73081e02ca6a2e45f65ed9ad5627 100644 (file)
@@ -575,9 +575,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 23c9535a67305f6ebff9a482d947e200c5b357f0..e5c0bc011a40ee9c2ae180f0a303f678cc6bd0e0 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>