mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
GuiCitation: Add some tooltips for the sake of keyboard users
Addresses #11317
(cherry picked from commit cab46ff9d1
)
This commit is contained in:
parent
c528f47f2d
commit
04ed229444
@ -575,9 +575,10 @@ void GuiCitation::regexChanged()
|
|||||||
|
|
||||||
void GuiCitation::updateFilterHint()
|
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") :
|
||||||
qt_("Enter string to filter the list of available citations and press <Enter>");
|
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);
|
filter_->setToolTip(hint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,6 +122,11 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QListView" name="availableLV">
|
<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">
|
<property name="editTriggers">
|
||||||
<set>QAbstractItemView::NoEditTriggers</set>
|
<set>QAbstractItemView::NoEditTriggers</set>
|
||||||
</property>
|
</property>
|
||||||
@ -234,7 +239,12 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<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>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user