mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
commit
350e93f096
@ -36,22 +36,26 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
|||||||
"search term <code>allseries</code> with the value "
|
"search term <code>allseries</code> with the value "
|
||||||
"<code>series, #myseries, #myseries2</code>, then "
|
"<code>series, #myseries, #myseries2</code>, then "
|
||||||
"the query <code>allseries:adhoc</code> will find 'adhoc' in any of the "
|
"the query <code>allseries:adhoc</code> will find 'adhoc' in any of the "
|
||||||
"columns 'series', '#myseries', and '#myseries2'.<p> Enter the name of the "
|
"columns <code>series</code>, <code>#myseries</code>, and "
|
||||||
|
"<code>#myseries2</code>.<p> Enter the name of the "
|
||||||
"grouped search term in the drop-down box, enter the list of columns "
|
"grouped search term in the drop-down box, enter the list of columns "
|
||||||
"to search in the value box, then push the Save button. "
|
"to search in the value box, then push the Save button. "
|
||||||
"<p>Note: Search terms are forced to lower case; 'MySearch' "
|
"<p>Note: Search terms are forced to lower case; <code>MySearch</code> "
|
||||||
"and 'mysearch' are the same term."
|
"and <code>mysearch</code> are the same term."
|
||||||
"<p>You can have your grouped search term show up as a user category in "
|
"<p>You can have your grouped search term show up as user categories in "
|
||||||
" the Tag Browser. Just add the grouped search term name to the user "
|
" the Tag Browser. Just add the grouped search term names to the Make user "
|
||||||
"category box. You can add multiple terms separated by commas. "
|
"categories from box. You can add multiple terms separated by commas. "
|
||||||
"The user category will be "
|
"The new user category will be automatically "
|
||||||
"populated with all the items in the categories included in the grouped "
|
"populated with all the items in the categories included in the grouped "
|
||||||
"search term. <p>This permits you to see easily all the category items that "
|
"search term. <p>Automatic user categories permit you to see easily "
|
||||||
"are in the fields contained in the grouped search term. Using the above "
|
"all the category items that "
|
||||||
"'myseries' example, the automatically-generated user category would contain "
|
"are in the columns contained in the grouped search term. Using the above "
|
||||||
"all the series mentioned in 'series', '#myseries1', and '#myseries2'. This "
|
"<code>allseries</code> example, the automatically-generated user category "
|
||||||
"can be useful to check for duplicates or to find which column contains "
|
"will contain all the series mentioned in <code>series</code>, "
|
||||||
"a particular item."))
|
"<code>#myseries</code>, and <code>#myseries2</code>. This "
|
||||||
|
"can be useful to check for duplicates, to find which column contains "
|
||||||
|
"a particular item, or to have hierarchical categories (categories "
|
||||||
|
"that contain categories)."))
|
||||||
self.gst = db.prefs.get('grouped_search_terms', {})
|
self.gst = db.prefs.get('grouped_search_terms', {})
|
||||||
self.orig_gst_keys = self.gst.keys()
|
self.orig_gst_keys = self.gst.keys()
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="la10">
|
<widget class="QLabel" name="la10">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Grouped search terms:</string>
|
<string>&Names:</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="buddy">
|
<property name="buddy">
|
||||||
<cstring>gst_names</cstring>
|
<cstring>gst_names</cstring>
|
||||||
@ -113,6 +113,13 @@
|
|||||||
<property name="minimumContentsLength">
|
<property name="minimumContentsLength">
|
||||||
<number>10</number>
|
<number>10</number>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Contains the names of the currently-defined group search terms.
|
||||||
|
Create a new name by entering it into the empty box, then
|
||||||
|
pressing Save. Rename a search term by selecting it then
|
||||||
|
changing the name and pressing Save. Change the value of
|
||||||
|
a search term by changing the value box then pressing Save.</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@ -161,7 +168,7 @@ of a search term by changing the value box then pressing Save.</string>
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="l11">
|
<widget class="QLabel" name="l11">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Make &user categories:</string>
|
<string>Make &user categories from:</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="buddy">
|
<property name="buddy">
|
||||||
<cstring>opt_grouped_search_make_user_categories</cstring>
|
<cstring>opt_grouped_search_make_user_categories</cstring>
|
||||||
@ -169,7 +176,12 @@ of a search term by changing the value box then pressing Save.</string>
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="MultiCompleteLineEdit" name="opt_grouped_search_make_user_categories"/>
|
<widget class="MultiCompleteLineEdit" name="opt_grouped_search_make_user_categories">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Enter the names of any grouped search terms you wish
|
||||||
|
to be shown as user categories</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user