~stub/ubuntu/precise/calibre/devel

« back to all changes in this revision

Viewing changes to src/calibre/gui2/preferences/search.ui

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-04-12 11:29:25 UTC
  • mfrom: (42.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110412112925-c7171kt2bb5rmft4
Tags: 0.7.50+dfsg-2
* debian/control: Build with libpodofo-dev to enable PDF metadata.
  (Closes: #619632)
* debian/control: Add libboost1.42-dev build dependency. Apparently it is
  needed in some setups. (Closes: #619807)
* debian/rules: Call dh_sip to generate a proper sip API dependency, to
  prevent crashes like #616372 for partial upgrades.
* debian/control: Bump python-qt4 dependency to >= 4.8.3-2, which reportedly
  fixes crashes on startup. (Closes: #619701, #620125)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ui version="4.0">
 
3
 <class>Form</class>
 
4
 <widget class="QWidget" name="Form">
 
5
  <property name="geometry">
 
6
   <rect>
 
7
    <x>0</x>
 
8
    <y>0</y>
 
9
    <width>670</width>
 
10
    <height>556</height>
 
11
   </rect>
 
12
  </property>
 
13
  <property name="windowTitle">
 
14
   <string>Form</string>
 
15
  </property>
 
16
  <layout class="QGridLayout" name="gridLayout">
 
17
   <item row="0" column="0">
 
18
    <widget class="QCheckBox" name="opt_search_as_you_type">
 
19
     <property name="text">
 
20
      <string>Search as you &amp;type</string>
 
21
     </property>
 
22
    </widget>
 
23
   </item>
 
24
   <item row="1" column="0">
 
25
    <widget class="QCheckBox" name="opt_highlight_search_matches">
 
26
     <property name="text">
 
27
      <string>&amp;Highlight search results instead of restricting the book list to the results</string>
 
28
     </property>
 
29
    </widget>
 
30
   </item>
 
31
   <item row="2" column="0">
 
32
    <widget class="QGroupBox" name="groupBox">
 
33
     <property name="title">
 
34
      <string>What to search by default</string>
 
35
     </property>
 
36
     <layout class="QGridLayout" name="gridLayout_2">
 
37
      <item row="0" column="0" colspan="2">
 
38
       <widget class="QLabel" name="label">
 
39
        <property name="text">
 
40
         <string>When you enter a search term without a prefix, by default calibre will search all metadata for matches. For example, entering, &quot;asimov&quot; will search not just authors but title/tags/series/comments/etc. Use these options if you would like to change this behavior.</string>
 
41
        </property>
 
42
        <property name="wordWrap">
 
43
         <bool>true</bool>
 
44
        </property>
 
45
       </widget>
 
46
      </item>
 
47
      <item row="1" column="0" colspan="2">
 
48
       <widget class="QCheckBox" name="opt_limit_search_columns">
 
49
        <property name="text">
 
50
         <string>&amp;Limit the searched metadata</string>
 
51
        </property>
 
52
       </widget>
 
53
      </item>
 
54
      <item row="2" column="0">
 
55
       <widget class="QLabel" name="label_2">
 
56
        <property name="text">
 
57
         <string>&amp;Columns that non-prefixed searches are limited to:</string>
 
58
        </property>
 
59
        <property name="buddy">
 
60
         <cstring>opt_limit_search_columns_to</cstring>
 
61
        </property>
 
62
       </widget>
 
63
      </item>
 
64
      <item row="2" column="1">
 
65
       <widget class="MultiCompleteLineEdit" name="opt_limit_search_columns_to"/>
 
66
      </item>
 
67
      <item row="5" column="0" colspan="2">
 
68
       <widget class="QLabel" name="label_3">
 
69
        <property name="text">
 
70
         <string>Note that this option affects all searches, including saved searches and restrictions. Therefore, if you use this option, it is best to ensure that you always use prefixes in your saved searches. For example, use &quot;series:Foundation&quot; rather than just &quot;Foundation&quot; in  a saved search</string>
 
71
        </property>
 
72
        <property name="wordWrap">
 
73
         <bool>true</bool>
 
74
        </property>
 
75
       </widget>
 
76
      </item>
 
77
     </layout>
 
78
    </widget>
 
79
   </item>
 
80
   <item row="3" column="0">
 
81
    <widget class="QPushButton" name="clear_history_button">
 
82
     <property name="toolTip">
 
83
      <string>Clear search histories from all over calibre. Including the book list, e-book viewer, fetch news dialog, etc.</string>
 
84
     </property>
 
85
     <property name="text">
 
86
      <string>Clear search &amp;histories</string>
 
87
     </property>
 
88
    </widget>
 
89
   </item>
 
90
   <item row="4" column="0">
 
91
    <widget class="QGroupBox" name="groupBox_2">
 
92
     <property name="title">
 
93
      <string>Grouped Search Terms</string>
 
94
     </property>
 
95
     <layout class="QGridLayout" name="gridLayout_3">
 
96
      <item row="0" column="0">
 
97
       <layout class="QHBoxLayout" name="l12">
 
98
        <item>
 
99
         <widget class="QLabel" name="la10">
 
100
          <property name="text">
 
101
           <string>&amp;Names:</string>
 
102
          </property>
 
103
          <property name="buddy">
 
104
           <cstring>gst_names</cstring>
 
105
          </property>
 
106
         </widget>
 
107
        </item>
 
108
        <item>
 
109
         <widget class="QComboBox" name="gst_names">
 
110
          <property name="editable">
 
111
           <bool>true</bool>
 
112
          </property>
 
113
          <property name="minimumContentsLength">
 
114
           <number>10</number>
 
115
          </property>
 
116
          <property name="toolTip">
 
117
           <string>Contains the names of the currently-defined group search terms.
 
118
Create a new name by entering it into the empty box, then
 
119
pressing Save. Rename a search term by selecting it then
 
120
changing the name and pressing Save. Change the value of
 
121
a search term by changing the value box then pressing Save.</string>
 
122
          </property>
 
123
         </widget>
 
124
        </item>
 
125
        <item>
 
126
         <widget class="QToolButton" name="gst_delete_button">
 
127
          <property name="toolTip">
 
128
           <string>Delete the current search term</string>
 
129
          </property>
 
130
          <property name="text">
 
131
           <string>...</string>
 
132
          </property>
 
133
          <property name="icon">
 
134
           <iconset resource="../../../../resources/images.qrc">
 
135
            <normaloff>:/images/trash.png</normaloff>:/images/trash.png</iconset>
 
136
          </property>
 
137
         </widget>
 
138
        </item>
 
139
        <item>
 
140
         <widget class="MultiCompleteLineEdit" name="gst_value"/>
 
141
        </item>
 
142
        <item>
 
143
         <widget class="QToolButton" name="gst_save_button">
 
144
          <property name="toolTip">
 
145
           <string>Save the current search term. You can rename a search term by
 
146
changing the name then pressing Save. You can change the value
 
147
of a search term by changing the value box then pressing Save.</string>
 
148
          </property>
 
149
          <property name="text">
 
150
           <string>&amp;Save</string>
 
151
          </property>
 
152
         </widget>
 
153
        </item>
 
154
       </layout>
 
155
      </item>
 
156
      <item row="0" column="1" rowspan="3">
 
157
       <widget class="QTextBrowser" name="gst_explanation">
 
158
        <property name="sizePolicy">
 
159
         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
 
160
          <horstretch>0</horstretch>
 
161
          <verstretch>100</verstretch>
 
162
         </sizepolicy>
 
163
        </property>
 
164
       </widget>
 
165
      </item>
 
166
      <item row="1" column="0">
 
167
       <layout class="QHBoxLayout">
 
168
        <item>
 
169
         <widget class="QLabel" name="l11">
 
170
          <property name="text">
 
171
           <string>Make &amp;user categories from:</string>
 
172
          </property>
 
173
          <property name="buddy">
 
174
           <cstring>opt_grouped_search_make_user_categories</cstring>
 
175
          </property>
 
176
         </widget>
 
177
        </item>
 
178
        <item>
 
179
         <widget class="MultiCompleteLineEdit" name="opt_grouped_search_make_user_categories">
 
180
          <property name="toolTip">
 
181
           <string>Enter the names of any grouped search terms you wish
 
182
to be shown as user categories</string>
 
183
          </property>
 
184
         </widget>
 
185
        </item>
 
186
       </layout>
 
187
      </item>
 
188
      <item row="2" column="0">
 
189
       <spacer name="verticalSpacer">
 
190
        <property name="orientation">
 
191
         <enum>Qt::Vertical</enum>
 
192
        </property>
 
193
        <property name="sizeHint" stdset="0">
 
194
         <size>
 
195
          <width>20</width>
 
196
          <height>40</height>
 
197
         </size>
 
198
        </property>
 
199
       </spacer>
 
200
      </item>
 
201
     </layout>
 
202
    </widget>
 
203
   </item>
 
204
  </layout>
 
205
 </widget>
 
206
 <customwidgets>
 
207
  <customwidget>
 
208
   <class>MultiCompleteLineEdit</class>
 
209
   <extends>QLineEdit</extends>
 
210
   <header>calibre/gui2/complete.h</header>
 
211
  </customwidget>
 
212
 </customwidgets>
 
213
 <resources>
 
214
  <include location="../../../../resources/images.qrc"/>
 
215
 </resources>
 
216
 <connections/>
 
217
</ui>