GuiCitation: Add some tooltips for the sake of keyboard users

Addresses #11317
This commit is contained in:
Juergen Spitzmueller 2018-09-29 09:18:26 +02:00
parent 1f325e69bd
commit cab46ff9d1
2 changed files with 13 additions and 2 deletions

View 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);
}

View File

@ -122,6 +122,11 @@
</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>
@ -234,7 +239,12 @@
</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>