~ubuntu-branches/ubuntu/karmic/calibre/karmic

« back to all changes in this revision

Viewing changes to src/calibre/gui2/dialogs/tag_editor.ui

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-30 12:49:41 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090730124941-qjdsmri25zt8zocn
Tags: 0.6.3+dfsg-0ubuntu1
* New upstream release. Please see http://calibre.kovidgoyal.net/new_in_6/
  for the list of new features and changes.
* remove_postinstall.patch: Update for new version.
* build_debug.patch: Does not apply any more, disable for now. Might not be
  necessary any more.
* debian/copyright: Fix reference to versionless GPL.
* debian/rules: Drop obsolete dh_desktop call.
* debian/rules: Add workaround for weird Python 2.6 setuptools behaviour of
  putting compiled .so files into src/calibre/plugins/calibre/plugins
  instead of src/calibre/plugins.
* debian/rules: Drop hal fdi moving, new upstream version does not use hal
  any more. Drop hal dependency, too.
* debian/rules: Install udev rules into /lib/udev/rules.d.
* Add debian/calibre.preinst: Remove unmodified
  /etc/udev/rules.d/95-calibre.rules on upgrade.
* debian/control: Bump Python dependencies to 2.6, since upstream needs
  it now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<ui version="4.0" >
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ui version="4.0">
2
3
 <class>TagEditor</class>
3
 
 <widget class="QDialog" name="TagEditor" >
4
 
  <property name="geometry" >
 
4
 <widget class="QDialog" name="TagEditor">
 
5
  <property name="geometry">
5
6
   <rect>
6
7
    <x>0</x>
7
8
    <y>0</y>
9
10
    <height>335</height>
10
11
   </rect>
11
12
  </property>
12
 
  <property name="windowTitle" >
 
13
  <property name="windowTitle">
13
14
   <string>Tag Editor</string>
14
15
  </property>
15
 
  <property name="windowIcon" >
16
 
   <iconset resource="../images.qrc" >:/images/chapters.svg</iconset>
 
16
  <property name="windowIcon">
 
17
   <iconset resource="../images.qrc">
 
18
    <normaloff>:/images/chapters.svg</normaloff>:/images/chapters.svg</iconset>
17
19
  </property>
18
 
  <layout class="QGridLayout" >
19
 
   <item row="0" column="0" >
20
 
    <layout class="QVBoxLayout" >
 
20
  <layout class="QGridLayout">
 
21
   <item row="0" column="0">
 
22
    <layout class="QVBoxLayout">
21
23
     <item>
22
 
      <layout class="QHBoxLayout" >
 
24
      <layout class="QHBoxLayout">
23
25
       <item>
24
 
        <widget class="QLabel" name="label" >
25
 
         <property name="text" >
 
26
        <widget class="QLabel" name="label">
 
27
         <property name="text">
26
28
          <string>A&amp;vailable tags</string>
27
29
         </property>
28
 
         <property name="buddy" >
 
30
         <property name="buddy">
29
31
          <cstring>available_tags</cstring>
30
32
         </property>
31
33
        </widget>
32
34
       </item>
33
35
       <item>
34
36
        <spacer>
35
 
         <property name="orientation" >
 
37
         <property name="orientation">
36
38
          <enum>Qt::Horizontal</enum>
37
39
         </property>
38
 
         <property name="sizeHint" >
 
40
         <property name="sizeHint" stdset="0">
39
41
          <size>
40
42
           <width>40</width>
41
43
           <height>20</height>
46
48
      </layout>
47
49
     </item>
48
50
     <item>
49
 
      <layout class="QHBoxLayout" >
 
51
      <layout class="QHBoxLayout">
50
52
       <item>
51
 
        <widget class="QToolButton" name="delete_button" >
52
 
         <property name="toolTip" >
 
53
        <widget class="QToolButton" name="delete_button">
 
54
         <property name="toolTip">
53
55
          <string>Delete tag from database. This will unapply the tag from all books and then remove it from the database.</string>
54
56
         </property>
55
 
         <property name="text" >
 
57
         <property name="text">
56
58
          <string>...</string>
57
59
         </property>
58
 
         <property name="icon" >
59
 
          <iconset resource="../images.qrc" >:/images/trash.svg</iconset>
 
60
         <property name="icon">
 
61
          <iconset resource="../images.qrc">
 
62
           <normaloff>:/images/trash.svg</normaloff>:/images/trash.svg</iconset>
60
63
         </property>
61
64
        </widget>
62
65
       </item>
63
66
       <item>
64
 
        <widget class="QListWidget" name="available_tags" >
65
 
         <property name="alternatingRowColors" >
 
67
        <widget class="QListWidget" name="available_tags">
 
68
         <property name="alternatingRowColors">
66
69
          <bool>true</bool>
67
70
         </property>
68
 
         <property name="selectionMode" >
 
71
         <property name="selectionMode">
69
72
          <enum>QAbstractItemView::MultiSelection</enum>
70
73
         </property>
71
 
         <property name="selectionBehavior" >
 
74
         <property name="selectionBehavior">
72
75
          <enum>QAbstractItemView::SelectRows</enum>
73
76
         </property>
74
77
        </widget>
77
80
     </item>
78
81
    </layout>
79
82
   </item>
80
 
   <item row="0" column="1" >
81
 
    <layout class="QVBoxLayout" >
 
83
   <item row="0" column="1">
 
84
    <layout class="QVBoxLayout">
82
85
     <item>
83
86
      <spacer>
84
 
       <property name="orientation" >
 
87
       <property name="orientation">
85
88
        <enum>Qt::Vertical</enum>
86
89
       </property>
87
 
       <property name="sizeHint" >
 
90
       <property name="sizeHint" stdset="0">
88
91
        <size>
89
92
         <width>20</width>
90
93
         <height>40</height>
93
96
      </spacer>
94
97
     </item>
95
98
     <item>
96
 
      <widget class="QToolButton" name="apply_button" >
97
 
       <property name="toolTip" >
 
99
      <widget class="QToolButton" name="apply_button">
 
100
       <property name="toolTip">
98
101
        <string>Apply tag to current book</string>
99
102
       </property>
100
 
       <property name="text" >
 
103
       <property name="text">
101
104
        <string>...</string>
102
105
       </property>
103
 
       <property name="icon" >
104
 
        <iconset resource="../images.qrc" >:/images/forward.svg</iconset>
 
106
       <property name="icon">
 
107
        <iconset resource="../images.qrc">
 
108
         <normaloff>:/images/forward.svg</normaloff>:/images/forward.svg</iconset>
105
109
       </property>
106
110
      </widget>
107
111
     </item>
108
112
     <item>
109
113
      <spacer>
110
 
       <property name="orientation" >
 
114
       <property name="orientation">
111
115
        <enum>Qt::Vertical</enum>
112
116
       </property>
113
 
       <property name="sizeHint" >
 
117
       <property name="sizeHint" stdset="0">
114
118
        <size>
115
119
         <width>20</width>
116
120
         <height>40</height>
120
124
     </item>
121
125
    </layout>
122
126
   </item>
123
 
   <item row="0" column="2" >
124
 
    <layout class="QVBoxLayout" >
 
127
   <item row="0" column="2">
 
128
    <layout class="QVBoxLayout">
125
129
     <item>
126
 
      <layout class="QHBoxLayout" >
 
130
      <layout class="QHBoxLayout">
127
131
       <item>
128
 
        <widget class="QLabel" name="label_2" >
129
 
         <property name="text" >
 
132
        <widget class="QLabel" name="label_2">
 
133
         <property name="text">
130
134
          <string>A&amp;pplied tags</string>
131
135
         </property>
132
 
         <property name="buddy" >
 
136
         <property name="buddy">
133
137
          <cstring>applied_tags</cstring>
134
138
         </property>
135
139
        </widget>
136
140
       </item>
137
141
       <item>
138
142
        <spacer>
139
 
         <property name="orientation" >
 
143
         <property name="orientation">
140
144
          <enum>Qt::Horizontal</enum>
141
145
         </property>
142
 
         <property name="sizeHint" >
 
146
         <property name="sizeHint" stdset="0">
143
147
          <size>
144
148
           <width>40</width>
145
149
           <height>20</height>
150
154
      </layout>
151
155
     </item>
152
156
     <item>
153
 
      <widget class="QListWidget" name="applied_tags" >
154
 
       <property name="alternatingRowColors" >
 
157
      <widget class="QListWidget" name="applied_tags">
 
158
       <property name="alternatingRowColors">
155
159
        <bool>true</bool>
156
160
       </property>
157
 
       <property name="selectionMode" >
 
161
       <property name="selectionMode">
158
162
        <enum>QAbstractItemView::MultiSelection</enum>
159
163
       </property>
160
164
      </widget>
161
165
     </item>
162
166
    </layout>
163
167
   </item>
164
 
   <item row="0" column="3" >
165
 
    <layout class="QVBoxLayout" >
 
168
   <item row="0" column="3">
 
169
    <layout class="QVBoxLayout">
166
170
     <item>
167
171
      <spacer>
168
 
       <property name="orientation" >
 
172
       <property name="orientation">
169
173
        <enum>Qt::Vertical</enum>
170
174
       </property>
171
 
       <property name="sizeHint" >
 
175
       <property name="sizeHint" stdset="0">
172
176
        <size>
173
177
         <width>20</width>
174
178
         <height>40</height>
177
181
      </spacer>
178
182
     </item>
179
183
     <item>
180
 
      <widget class="QToolButton" name="unapply_button" >
181
 
       <property name="toolTip" >
 
184
      <widget class="QToolButton" name="unapply_button">
 
185
       <property name="toolTip">
182
186
        <string>Unapply (remove) tag from current book</string>
183
187
       </property>
184
 
       <property name="text" >
 
188
       <property name="text">
185
189
        <string>...</string>
186
190
       </property>
187
 
       <property name="icon" >
188
 
        <iconset resource="../images.qrc" >:/images/list_remove.svg</iconset>
 
191
       <property name="icon">
 
192
        <iconset resource="../images.qrc">
 
193
         <normaloff>:/images/list_remove.svg</normaloff>:/images/list_remove.svg</iconset>
189
194
       </property>
190
195
      </widget>
191
196
     </item>
192
197
     <item>
193
198
      <spacer>
194
 
       <property name="orientation" >
 
199
       <property name="orientation">
195
200
        <enum>Qt::Vertical</enum>
196
201
       </property>
197
 
       <property name="sizeHint" >
 
202
       <property name="sizeHint" stdset="0">
198
203
        <size>
199
204
         <width>20</width>
200
205
         <height>40</height>
204
209
     </item>
205
210
    </layout>
206
211
   </item>
207
 
   <item row="1" column="0" colspan="4" >
208
 
    <layout class="QHBoxLayout" >
 
212
   <item row="1" column="0" colspan="4">
 
213
    <layout class="QHBoxLayout">
209
214
     <item>
210
215
      <spacer>
211
 
       <property name="orientation" >
 
216
       <property name="orientation">
212
217
        <enum>Qt::Horizontal</enum>
213
218
       </property>
214
 
       <property name="sizeHint" >
 
219
       <property name="sizeHint" stdset="0">
215
220
        <size>
216
221
         <width>40</width>
217
222
         <height>20</height>
220
225
      </spacer>
221
226
     </item>
222
227
     <item>
223
 
      <widget class="QLabel" name="label_3" >
224
 
       <property name="text" >
 
228
      <widget class="QLabel" name="label_3">
 
229
       <property name="text">
225
230
        <string>&amp;Add tag:</string>
226
231
       </property>
227
 
       <property name="buddy" >
 
232
       <property name="buddy">
228
233
        <cstring>add_tag_input</cstring>
229
234
       </property>
230
235
      </widget>
231
236
     </item>
232
237
     <item>
233
 
      <widget class="QLineEdit" name="add_tag_input" >
234
 
       <property name="toolTip" >
 
238
      <widget class="EnLineEdit" name="add_tag_input">
 
239
       <property name="toolTip">
235
240
        <string>If the tag you want is not in the available list, you can add it here. Accepts a comma separated list of tags.</string>
236
241
       </property>
237
242
      </widget>
238
243
     </item>
239
244
     <item>
240
 
      <widget class="QToolButton" name="add_tag_button" >
241
 
       <property name="toolTip" >
 
245
      <widget class="QToolButton" name="add_tag_button">
 
246
       <property name="toolTip">
242
247
        <string>Add tag to available tags and apply it to current book</string>
243
248
       </property>
244
 
       <property name="text" >
 
249
       <property name="text">
245
250
        <string>...</string>
246
251
       </property>
247
 
       <property name="icon" >
248
 
        <iconset resource="../images.qrc" >:/images/plus.svg</iconset>
 
252
       <property name="icon">
 
253
        <iconset resource="../images.qrc">
 
254
         <normaloff>:/images/plus.svg</normaloff>:/images/plus.svg</iconset>
249
255
       </property>
250
256
      </widget>
251
257
     </item>
252
258
     <item>
253
259
      <spacer>
254
 
       <property name="orientation" >
 
260
       <property name="orientation">
255
261
        <enum>Qt::Horizontal</enum>
256
262
       </property>
257
 
       <property name="sizeHint" >
 
263
       <property name="sizeHint" stdset="0">
258
264
        <size>
259
265
         <width>40</width>
260
266
         <height>20</height>
264
270
     </item>
265
271
    </layout>
266
272
   </item>
267
 
   <item row="2" column="0" colspan="4" >
268
 
    <widget class="QDialogButtonBox" name="buttonBox" >
269
 
     <property name="orientation" >
 
273
   <item row="2" column="0" colspan="4">
 
274
    <widget class="QDialogButtonBox" name="buttonBox">
 
275
     <property name="orientation">
270
276
      <enum>Qt::Horizontal</enum>
271
277
     </property>
272
 
     <property name="standardButtons" >
273
 
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
 
278
     <property name="standardButtons">
 
279
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
274
280
     </property>
275
281
    </widget>
276
282
   </item>
277
283
  </layout>
278
284
 </widget>
 
285
 <customwidgets>
 
286
  <customwidget>
 
287
   <class>EnLineEdit</class>
 
288
   <extends>QLineEdit</extends>
 
289
   <header>widgets.h</header>
 
290
  </customwidget>
 
291
 </customwidgets>
279
292
 <resources>
280
 
  <include location="../images.qrc" />
 
293
  <include location="../images.qrc"/>
281
294
 </resources>
282
295
 <connections>
283
296
  <connection>
286
299
   <receiver>TagEditor</receiver>
287
300
   <slot>accept()</slot>
288
301
   <hints>
289
 
    <hint type="sourcelabel" >
 
302
    <hint type="sourcelabel">
290
303
     <x>248</x>
291
304
     <y>254</y>
292
305
    </hint>
293
 
    <hint type="destinationlabel" >
 
306
    <hint type="destinationlabel">
294
307
     <x>157</x>
295
308
     <y>274</y>
296
309
    </hint>
302
315
   <receiver>TagEditor</receiver>
303
316
   <slot>reject()</slot>
304
317
   <hints>
305
 
    <hint type="sourcelabel" >
 
318
    <hint type="sourcelabel">
306
319
     <x>316</x>
307
320
     <y>260</y>
308
321
    </hint>
309
 
    <hint type="destinationlabel" >
 
322
    <hint type="destinationlabel">
310
323
     <x>286</x>
311
324
     <y>274</y>
312
325
    </hint>