mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Make the help text for tag browser keyboard focus option a bit nicer
This commit is contained in:
parent
9f47303af3
commit
9ac1509053
@ -657,6 +657,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
self.opt_book_details_css.blockSignals(True)
|
||||
self.opt_book_details_css.setPlainText(P('templates/book_details.css', data=True).decode('utf-8'))
|
||||
self.opt_book_details_css.blockSignals(False)
|
||||
self.tb_focus_label.setVisible(self.opt_tag_browser_allow_keyboard_focus.isChecked())
|
||||
|
||||
def open_cg_cache(self):
|
||||
open_local_file(self.gui.grid_view.thumbnail_cache.location)
|
||||
|
@ -1107,9 +1107,6 @@ see the counts by hovering your mouse over any item.</string>
|
||||
</item>
|
||||
<item row="14" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="opt_tag_browser_allow_keyboard_focus">
|
||||
<property name="text">
|
||||
<string>Allow the Tag browser to have keyboard focus</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><p>When checked, the Tag browser can get keyboard focus, allowing
|
||||
use of the keyboard to navigate the tree using the arrow keys. The RETURN key simulates
|
||||
@ -1117,16 +1114,21 @@ a click on the selected item. The keyboard shortcut 'Tag browser /
|
||||
Give the Tag browser keyboard focus' changes the keyboard focus without
|
||||
using the mouse.</p></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Allow the Tag browser to have keyboard focus</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="15" column="0" colspan="2">
|
||||
<widget class="QLabel">
|
||||
<widget class="QLabel" name="tb_focus_label">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">margin-left: 1.5em</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><p>If you enable this option then you should set the
|
||||
keyboard shortcut 'Tag browser->Give the Tag browser keyboard focus'</p></string>
|
||||
<string><p style="text-indent: 2em; font-size:smaller">If you enable this option then you should set a keyboard shortcut to focus the Tag browser under <code>Preferences-&gt;Shortcuts-&gt;Tag browser-&gt;Give the Tag browser keyboard focus</code></string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -1390,12 +1392,28 @@ column being examined (the left-hand pane)</string>
|
||||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>75</x>
|
||||
<y>102</y>
|
||||
<x>86</x>
|
||||
<y>49</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>289</x>
|
||||
<y>118</y>
|
||||
<x>101</x>
|
||||
<y>51</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>opt_tag_browser_allow_keyboard_focus</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>tb_focus_label</receiver>
|
||||
<slot>setVisible(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>275</x>
|
||||
<y>528</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>358</x>
|
||||
<y>555</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
|
Loading…
x
Reference in New Issue
Block a user