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

« back to all changes in this revision

Viewing changes to src/calibre/gui2/main.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
 <author>Kovid Goyal</author>
3
4
 <class>MainWindow</class>
4
 
 <widget class="QMainWindow" name="MainWindow" >
5
 
  <property name="geometry" >
 
5
 <widget class="QMainWindow" name="MainWindow">
 
6
  <property name="geometry">
6
7
   <rect>
7
8
    <x>0</x>
8
9
    <y>0</y>
10
11
    <height>822</height>
11
12
   </rect>
12
13
  </property>
13
 
  <property name="sizePolicy" >
14
 
   <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
 
14
  <property name="sizePolicy">
 
15
   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
15
16
    <horstretch>0</horstretch>
16
17
    <verstretch>0</verstretch>
17
18
   </sizepolicy>
18
19
  </property>
19
 
  <property name="contextMenuPolicy" >
 
20
  <property name="contextMenuPolicy">
20
21
   <enum>Qt::NoContextMenu</enum>
21
22
  </property>
22
 
  <property name="windowTitle" >
 
23
  <property name="windowTitle">
23
24
   <string>__appname__</string>
24
25
  </property>
25
 
  <property name="windowIcon" >
26
 
   <iconset resource="images.qrc" >
 
26
  <property name="windowIcon">
 
27
   <iconset resource="images.qrc">
27
28
    <normaloff>:/library</normaloff>:/library</iconset>
28
29
  </property>
29
 
  <widget class="QWidget" name="centralwidget" >
30
 
   <layout class="QGridLayout" name="gridLayout" >
31
 
    <item row="0" column="0" >
32
 
     <layout class="QHBoxLayout" name="horizontalLayout_3" >
 
30
  <widget class="QWidget" name="centralwidget">
 
31
   <layout class="QGridLayout" name="gridLayout">
 
32
    <item row="0" column="0">
 
33
     <layout class="QHBoxLayout" name="horizontalLayout_3">
33
34
      <item>
34
 
       <widget class="LocationView" name="location_view" >
35
 
        <property name="sizePolicy" >
36
 
         <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
 
35
       <widget class="LocationView" name="location_view">
 
36
        <property name="sizePolicy">
 
37
         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
37
38
          <horstretch>0</horstretch>
38
39
          <verstretch>0</verstretch>
39
40
         </sizepolicy>
40
41
        </property>
41
 
        <property name="maximumSize" >
 
42
        <property name="maximumSize">
42
43
         <size>
43
44
          <width>16777215</width>
44
 
          <height>100</height>
 
45
          <height>75</height>
45
46
         </size>
46
47
        </property>
47
 
        <property name="verticalScrollBarPolicy" >
 
48
        <property name="mouseTracking">
 
49
         <bool>true</bool>
 
50
        </property>
 
51
        <property name="verticalScrollBarPolicy">
48
52
         <enum>Qt::ScrollBarAlwaysOff</enum>
49
53
        </property>
50
 
        <property name="horizontalScrollBarPolicy" >
 
54
        <property name="horizontalScrollBarPolicy">
51
55
         <enum>Qt::ScrollBarAsNeeded</enum>
52
56
        </property>
53
 
        <property name="editTriggers" >
 
57
        <property name="editTriggers">
54
58
         <set>QAbstractItemView::NoEditTriggers</set>
55
59
        </property>
56
 
        <property name="tabKeyNavigation" >
57
 
         <bool>true</bool>
58
 
        </property>
59
 
        <property name="showDropIndicator" stdset="0" >
60
 
         <bool>true</bool>
61
 
        </property>
62
 
        <property name="selectionMode" >
 
60
        <property name="tabKeyNavigation">
 
61
         <bool>true</bool>
 
62
        </property>
 
63
        <property name="showDropIndicator" stdset="0">
 
64
         <bool>true</bool>
 
65
        </property>
 
66
        <property name="selectionMode">
63
67
         <enum>QAbstractItemView::NoSelection</enum>
64
68
        </property>
65
 
        <property name="selectionBehavior" >
 
69
        <property name="selectionBehavior">
66
70
         <enum>QAbstractItemView::SelectRows</enum>
67
71
        </property>
68
 
        <property name="iconSize" >
 
72
        <property name="iconSize">
69
73
         <size>
70
74
          <width>40</width>
71
75
          <height>40</height>
72
76
         </size>
73
77
        </property>
74
 
        <property name="movement" >
 
78
        <property name="movement">
75
79
         <enum>QListView::Static</enum>
76
80
        </property>
77
 
        <property name="flow" >
 
81
        <property name="flow">
78
82
         <enum>QListView::LeftToRight</enum>
79
83
        </property>
80
 
        <property name="gridSize" >
 
84
        <property name="gridSize">
81
85
         <size>
82
86
          <width>175</width>
83
87
          <height>90</height>
84
88
         </size>
85
89
        </property>
86
 
        <property name="viewMode" >
 
90
        <property name="viewMode">
87
91
         <enum>QListView::ListMode</enum>
88
92
        </property>
89
 
        <property name="wordWrap" >
 
93
        <property name="wordWrap">
90
94
         <bool>true</bool>
91
95
        </property>
92
96
       </widget>
93
97
      </item>
94
98
      <item>
95
 
       <widget class="QToolButton" name="donate_button" >
96
 
        <property name="cursor" >
 
99
       <widget class="QToolButton" name="donate_button">
 
100
        <property name="cursor">
97
101
         <cursorShape>PointingHandCursor</cursorShape>
98
102
        </property>
99
 
        <property name="text" >
 
103
        <property name="text">
100
104
         <string>...</string>
101
105
        </property>
102
 
        <property name="icon" >
103
 
         <iconset resource="images.qrc" >
 
106
        <property name="icon">
 
107
         <iconset resource="images.qrc">
104
108
          <normaloff>:/images/donate.svg</normaloff>:/images/donate.svg</iconset>
105
109
        </property>
106
 
        <property name="iconSize" >
 
110
        <property name="iconSize">
107
111
         <size>
108
112
          <width>64</width>
109
113
          <height>64</height>
110
114
         </size>
111
115
        </property>
112
 
        <property name="autoRaise" >
 
116
        <property name="autoRaise">
113
117
         <bool>true</bool>
114
118
        </property>
115
119
       </widget>
116
120
      </item>
117
121
      <item>
118
 
       <layout class="QVBoxLayout" name="verticalLayout_3" >
 
122
       <layout class="QVBoxLayout" name="verticalLayout_3">
119
123
        <item>
120
 
         <widget class="QLabel" name="vanity" >
121
 
          <property name="sizePolicy" >
122
 
           <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
 
124
         <widget class="QLabel" name="vanity">
 
125
          <property name="sizePolicy">
 
126
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
123
127
            <horstretch>0</horstretch>
124
128
            <verstretch>0</verstretch>
125
129
           </sizepolicy>
126
130
          </property>
127
 
          <property name="maximumSize" >
 
131
          <property name="maximumSize">
128
132
           <size>
129
133
            <width>16777215</width>
130
134
            <height>90</height>
131
135
           </size>
132
136
          </property>
133
 
          <property name="text" >
 
137
          <property name="text">
134
138
           <string/>
135
139
          </property>
136
 
          <property name="textFormat" >
 
140
          <property name="textFormat">
137
141
           <enum>Qt::RichText</enum>
138
142
          </property>
139
 
          <property name="openExternalLinks" >
 
143
          <property name="openExternalLinks">
140
144
           <bool>true</bool>
141
145
          </property>
142
146
         </widget>
143
147
        </item>
144
 
        <item>
145
 
         <layout class="QHBoxLayout" name="horizontalLayout_2" >
146
 
          <item>
147
 
           <widget class="QLabel" name="label_2" >
148
 
            <property name="text" >
149
 
             <string>Output:</string>
150
 
            </property>
151
 
           </widget>
152
 
          </item>
153
 
          <item>
154
 
           <widget class="QComboBox" name="output_format" >
155
 
            <property name="toolTip" >
156
 
             <string>Set the output format that is used when converting ebooks and downloading news</string>
157
 
            </property>
158
 
           </widget>
159
 
          </item>
160
 
         </layout>
161
 
        </item>
162
148
       </layout>
163
149
      </item>
164
150
     </layout>
165
151
    </item>
166
 
    <item row="1" column="0" >
167
 
     <layout class="QHBoxLayout" >
168
 
      <property name="spacing" >
 
152
    <item row="1" column="0">
 
153
     <layout class="QHBoxLayout">
 
154
      <property name="spacing">
169
155
       <number>6</number>
170
156
      </property>
171
 
      <property name="margin" >
 
157
      <property name="margin">
172
158
       <number>0</number>
173
159
      </property>
174
160
      <item>
175
 
       <widget class="QToolButton" name="advanced_search_button" >
176
 
        <property name="toolTip" >
 
161
       <widget class="QToolButton" name="advanced_search_button">
 
162
        <property name="toolTip">
177
163
         <string>Advanced search</string>
178
164
        </property>
179
 
        <property name="text" >
 
165
        <property name="text">
180
166
         <string>...</string>
181
167
        </property>
182
 
        <property name="icon" >
183
 
         <iconset resource="images.qrc" >
 
168
        <property name="icon">
 
169
         <iconset resource="images.qrc">
184
170
          <normaloff>:/images/search.svg</normaloff>:/images/search.svg</iconset>
185
171
        </property>
186
 
        <property name="shortcut" >
 
172
        <property name="shortcut">
187
173
         <string>Alt+S</string>
188
174
        </property>
189
175
       </widget>
190
176
      </item>
191
177
      <item>
192
 
       <widget class="QLabel" name="label" >
193
 
        <property name="text" >
 
178
       <widget class="QLabel" name="label">
 
179
        <property name="text">
194
180
         <string>&amp;Search:</string>
195
181
        </property>
196
 
        <property name="buddy" >
 
182
        <property name="buddy">
197
183
         <cstring>search</cstring>
198
184
        </property>
199
185
       </widget>
200
186
      </item>
201
187
      <item>
202
 
       <widget class="SearchBox" name="search" >
203
 
        <property name="enabled" >
 
188
       <widget class="SearchBox" name="search">
 
189
        <property name="enabled">
204
190
         <bool>true</bool>
205
191
        </property>
206
 
        <property name="sizePolicy" >
207
 
         <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
 
192
        <property name="sizePolicy">
 
193
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
208
194
          <horstretch>1</horstretch>
209
195
          <verstretch>0</verstretch>
210
196
         </sizepolicy>
211
197
        </property>
212
 
        <property name="acceptDrops" >
213
 
         <bool>false</bool>
214
 
        </property>
215
 
        <property name="toolTip" >
216
 
         <string>Search the list of books by title or author&lt;br>&lt;br>Words separated by spaces are ANDed</string>
217
 
        </property>
218
 
        <property name="whatsThis" >
219
 
         <string>Search the list of books by title, author, publisher, tags and comments&lt;br>&lt;br>Words separated by spaces are ANDed</string>
220
 
        </property>
221
 
        <property name="autoFillBackground" >
222
 
         <bool>false</bool>
223
 
        </property>
224
 
        <property name="text" >
 
198
        <property name="acceptDrops">
 
199
         <bool>false</bool>
 
200
        </property>
 
201
        <property name="toolTip">
 
202
         <string>Search the list of books by title or author&lt;br&gt;&lt;br&gt;Words separated by spaces are ANDed</string>
 
203
        </property>
 
204
        <property name="whatsThis">
 
205
         <string>Search the list of books by title, author, publisher, tags and comments&lt;br&gt;&lt;br&gt;Words separated by spaces are ANDed</string>
 
206
        </property>
 
207
        <property name="autoFillBackground">
 
208
         <bool>false</bool>
 
209
        </property>
 
210
        <property name="text">
225
211
         <string/>
226
212
        </property>
227
 
        <property name="frame" >
 
213
        <property name="frame">
228
214
         <bool>true</bool>
229
215
        </property>
230
216
       </widget>
231
217
      </item>
232
218
      <item>
233
 
       <widget class="QToolButton" name="clear_button" >
234
 
        <property name="toolTip" >
 
219
       <widget class="QToolButton" name="clear_button">
 
220
        <property name="toolTip">
235
221
         <string>Reset Quick Search</string>
236
222
        </property>
237
 
        <property name="text" >
 
223
        <property name="text">
238
224
         <string>...</string>
239
225
        </property>
240
 
        <property name="icon" >
241
 
         <iconset resource="images.qrc" >
 
226
        <property name="icon">
 
227
         <iconset resource="images.qrc">
242
228
          <normaloff>:/images/clear_left.svg</normaloff>:/images/clear_left.svg</iconset>
243
229
        </property>
244
230
       </widget>
245
231
      </item>
246
 
      <item>
247
 
       <widget class="Line" name="line" >
248
 
        <property name="orientation" >
249
 
         <enum>Qt::Vertical</enum>
250
 
        </property>
251
 
       </widget>
252
 
      </item>
253
 
      <item>
254
 
       <spacer>
255
 
        <property name="orientation" >
256
 
         <enum>Qt::Horizontal</enum>
257
 
        </property>
258
 
        <property name="sizeHint" stdset="0" >
259
 
         <size>
260
 
          <width>20</width>
261
 
          <height>20</height>
262
 
         </size>
263
 
        </property>
264
 
       </spacer>
265
 
      </item>
266
 
      <item>
267
 
       <widget class="QToolButton" name="config_button" >
268
 
        <property name="toolTip" >
269
 
         <string>Configuration</string>
270
 
        </property>
271
 
        <property name="text" >
272
 
         <string>...</string>
273
 
        </property>
274
 
        <property name="icon" >
275
 
         <iconset resource="images.qrc" >
276
 
          <normaloff>:/images/config.svg</normaloff>:/images/config.svg</iconset>
277
 
        </property>
278
 
       </widget>
279
 
      </item>
280
232
     </layout>
281
233
    </item>
282
 
    <item row="2" column="0" >
283
 
     <widget class="QStackedWidget" name="stack" >
284
 
      <property name="sizePolicy" >
285
 
       <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
 
234
    <item row="2" column="0">
 
235
     <widget class="QStackedWidget" name="stack">
 
236
      <property name="sizePolicy">
 
237
       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
286
238
        <horstretch>100</horstretch>
287
239
        <verstretch>100</verstretch>
288
240
       </sizepolicy>
289
241
      </property>
290
 
      <property name="currentIndex" >
291
 
       <number>0</number>
 
242
      <property name="currentIndex">
 
243
       <number>3</number>
292
244
      </property>
293
 
      <widget class="QWidget" name="library" >
294
 
       <layout class="QVBoxLayout" name="verticalLayout_2" >
 
245
      <widget class="QWidget" name="library">
 
246
       <layout class="QVBoxLayout" name="verticalLayout_2">
295
247
        <item>
296
 
         <layout class="QHBoxLayout" name="horizontalLayout" >
 
248
         <layout class="QHBoxLayout" name="horizontalLayout">
297
249
          <item>
298
 
           <layout class="QVBoxLayout" name="verticalLayout" >
 
250
           <layout class="QVBoxLayout" name="verticalLayout">
299
251
            <item>
300
 
             <widget class="QRadioButton" name="match_any" >
301
 
              <property name="text" >
 
252
             <widget class="QRadioButton" name="match_any">
 
253
              <property name="text">
302
254
               <string>Match any</string>
303
255
              </property>
304
 
              <property name="checked" >
 
256
              <property name="checked">
305
257
               <bool>false</bool>
306
258
              </property>
307
259
             </widget>
308
260
            </item>
309
261
            <item>
310
 
             <widget class="QRadioButton" name="match_all" >
311
 
              <property name="text" >
 
262
             <widget class="QRadioButton" name="match_all">
 
263
              <property name="text">
312
264
               <string>Match all</string>
313
265
              </property>
314
 
              <property name="checked" >
 
266
              <property name="checked">
315
267
               <bool>true</bool>
316
268
              </property>
317
269
             </widget>
318
270
            </item>
319
271
            <item>
320
 
             <widget class="QCheckBox" name="popularity" >
321
 
              <property name="text" >
 
272
             <widget class="QCheckBox" name="popularity">
 
273
              <property name="text">
322
274
               <string>Sort by &amp;popularity</string>
323
275
              </property>
324
276
             </widget>
325
277
            </item>
326
278
            <item>
327
 
             <widget class="TagsView" name="tags_view" >
328
 
              <property name="tabKeyNavigation" >
329
 
               <bool>true</bool>
330
 
              </property>
331
 
              <property name="alternatingRowColors" >
332
 
               <bool>true</bool>
333
 
              </property>
334
 
              <property name="animated" >
335
 
               <bool>true</bool>
336
 
              </property>
337
 
              <property name="headerHidden" >
 
279
             <widget class="TagsView" name="tags_view">
 
280
              <property name="tabKeyNavigation">
 
281
               <bool>true</bool>
 
282
              </property>
 
283
              <property name="alternatingRowColors">
 
284
               <bool>true</bool>
 
285
              </property>
 
286
              <property name="animated">
 
287
               <bool>true</bool>
 
288
              </property>
 
289
              <property name="headerHidden">
338
290
               <bool>true</bool>
339
291
              </property>
340
292
             </widget>
342
294
           </layout>
343
295
          </item>
344
296
          <item>
345
 
           <widget class="BooksView" name="library_view" >
346
 
            <property name="sizePolicy" >
347
 
             <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
 
297
           <widget class="BooksView" name="library_view">
 
298
            <property name="sizePolicy">
 
299
             <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
348
300
              <horstretch>100</horstretch>
349
301
              <verstretch>10</verstretch>
350
302
             </sizepolicy>
351
303
            </property>
352
 
            <property name="acceptDrops" >
353
 
             <bool>true</bool>
354
 
            </property>
355
 
            <property name="dragEnabled" >
356
 
             <bool>true</bool>
357
 
            </property>
358
 
            <property name="dragDropOverwriteMode" >
 
304
            <property name="acceptDrops">
 
305
             <bool>true</bool>
 
306
            </property>
 
307
            <property name="dragEnabled">
 
308
             <bool>true</bool>
 
309
            </property>
 
310
            <property name="dragDropOverwriteMode">
359
311
             <bool>false</bool>
360
312
            </property>
361
 
            <property name="dragDropMode" >
 
313
            <property name="dragDropMode">
362
314
             <enum>QAbstractItemView::DragDrop</enum>
363
315
            </property>
364
 
            <property name="alternatingRowColors" >
 
316
            <property name="alternatingRowColors">
365
317
             <bool>true</bool>
366
318
            </property>
367
 
            <property name="selectionBehavior" >
 
319
            <property name="selectionBehavior">
368
320
             <enum>QAbstractItemView::SelectRows</enum>
369
321
            </property>
370
 
            <property name="showGrid" >
 
322
            <property name="showGrid">
371
323
             <bool>false</bool>
372
324
            </property>
373
 
            <property name="wordWrap" >
 
325
            <property name="wordWrap">
374
326
             <bool>false</bool>
375
327
            </property>
376
328
           </widget>
379
331
        </item>
380
332
       </layout>
381
333
      </widget>
382
 
      <widget class="QWidget" name="main_memory" >
383
 
       <layout class="QGridLayout" >
384
 
        <item row="0" column="0" >
385
 
         <widget class="DeviceBooksView" name="memory_view" >
386
 
          <property name="sizePolicy" >
387
 
           <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
 
334
      <widget class="QWidget" name="main_memory">
 
335
       <layout class="QGridLayout">
 
336
        <item row="0" column="0">
 
337
         <widget class="DeviceBooksView" name="memory_view">
 
338
          <property name="sizePolicy">
 
339
           <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
388
340
            <horstretch>100</horstretch>
389
341
            <verstretch>10</verstretch>
390
342
           </sizepolicy>
391
343
          </property>
392
 
          <property name="acceptDrops" >
393
 
           <bool>true</bool>
394
 
          </property>
395
 
          <property name="dragEnabled" >
396
 
           <bool>true</bool>
397
 
          </property>
398
 
          <property name="dragDropOverwriteMode" >
399
 
           <bool>false</bool>
400
 
          </property>
401
 
          <property name="dragDropMode" >
402
 
           <enum>QAbstractItemView::DragDrop</enum>
403
 
          </property>
404
 
          <property name="alternatingRowColors" >
405
 
           <bool>true</bool>
406
 
          </property>
407
 
          <property name="selectionBehavior" >
408
 
           <enum>QAbstractItemView::SelectRows</enum>
409
 
          </property>
410
 
          <property name="showGrid" >
411
 
           <bool>false</bool>
412
 
          </property>
413
 
          <property name="wordWrap" >
414
 
           <bool>false</bool>
415
 
          </property>
416
 
         </widget>
417
 
        </item>
418
 
       </layout>
419
 
      </widget>
420
 
      <widget class="QWidget" name="page" >
421
 
       <layout class="QGridLayout" >
422
 
        <item row="0" column="0" >
423
 
         <widget class="DeviceBooksView" name="card_view" >
424
 
          <property name="sizePolicy" >
425
 
           <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
426
 
            <horstretch>10</horstretch>
427
 
            <verstretch>10</verstretch>
428
 
           </sizepolicy>
429
 
          </property>
430
 
          <property name="acceptDrops" >
431
 
           <bool>true</bool>
432
 
          </property>
433
 
          <property name="dragEnabled" >
434
 
           <bool>true</bool>
435
 
          </property>
436
 
          <property name="dragDropOverwriteMode" >
437
 
           <bool>false</bool>
438
 
          </property>
439
 
          <property name="dragDropMode" >
440
 
           <enum>QAbstractItemView::DragDrop</enum>
441
 
          </property>
442
 
          <property name="alternatingRowColors" >
443
 
           <bool>true</bool>
444
 
          </property>
445
 
          <property name="selectionBehavior" >
446
 
           <enum>QAbstractItemView::SelectRows</enum>
447
 
          </property>
448
 
          <property name="showGrid" >
449
 
           <bool>false</bool>
450
 
          </property>
451
 
          <property name="wordWrap" >
 
344
          <property name="acceptDrops">
 
345
           <bool>true</bool>
 
346
          </property>
 
347
          <property name="dragEnabled">
 
348
           <bool>true</bool>
 
349
          </property>
 
350
          <property name="dragDropOverwriteMode">
 
351
           <bool>false</bool>
 
352
          </property>
 
353
          <property name="dragDropMode">
 
354
           <enum>QAbstractItemView::DragDrop</enum>
 
355
          </property>
 
356
          <property name="alternatingRowColors">
 
357
           <bool>true</bool>
 
358
          </property>
 
359
          <property name="selectionBehavior">
 
360
           <enum>QAbstractItemView::SelectRows</enum>
 
361
          </property>
 
362
          <property name="showGrid">
 
363
           <bool>false</bool>
 
364
          </property>
 
365
          <property name="wordWrap">
 
366
           <bool>false</bool>
 
367
          </property>
 
368
         </widget>
 
369
        </item>
 
370
       </layout>
 
371
      </widget>
 
372
      <widget class="QWidget" name="card_a_memory">
 
373
       <layout class="QGridLayout">
 
374
        <item row="0" column="0">
 
375
         <widget class="DeviceBooksView" name="card_a_view">
 
376
          <property name="sizePolicy">
 
377
           <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
 
378
            <horstretch>10</horstretch>
 
379
            <verstretch>10</verstretch>
 
380
           </sizepolicy>
 
381
          </property>
 
382
          <property name="acceptDrops">
 
383
           <bool>true</bool>
 
384
          </property>
 
385
          <property name="dragEnabled">
 
386
           <bool>true</bool>
 
387
          </property>
 
388
          <property name="dragDropOverwriteMode">
 
389
           <bool>false</bool>
 
390
          </property>
 
391
          <property name="dragDropMode">
 
392
           <enum>QAbstractItemView::DragDrop</enum>
 
393
          </property>
 
394
          <property name="alternatingRowColors">
 
395
           <bool>true</bool>
 
396
          </property>
 
397
          <property name="selectionBehavior">
 
398
           <enum>QAbstractItemView::SelectRows</enum>
 
399
          </property>
 
400
          <property name="showGrid">
 
401
           <bool>false</bool>
 
402
          </property>
 
403
          <property name="wordWrap">
 
404
           <bool>false</bool>
 
405
          </property>
 
406
         </widget>
 
407
        </item>
 
408
       </layout>
 
409
      </widget>
 
410
      <widget class="QWidget" name="card_b_memory">
 
411
       <layout class="QGridLayout">
 
412
        <item row="0" column="0">
 
413
         <widget class="DeviceBooksView" name="card_b_view">
 
414
          <property name="sizePolicy">
 
415
           <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
 
416
            <horstretch>10</horstretch>
 
417
            <verstretch>10</verstretch>
 
418
           </sizepolicy>
 
419
          </property>
 
420
          <property name="acceptDrops">
 
421
           <bool>true</bool>
 
422
          </property>
 
423
          <property name="dragEnabled">
 
424
           <bool>true</bool>
 
425
          </property>
 
426
          <property name="dragDropOverwriteMode">
 
427
           <bool>false</bool>
 
428
          </property>
 
429
          <property name="dragDropMode">
 
430
           <enum>QAbstractItemView::DragDrop</enum>
 
431
          </property>
 
432
          <property name="alternatingRowColors">
 
433
           <bool>true</bool>
 
434
          </property>
 
435
          <property name="selectionBehavior">
 
436
           <enum>QAbstractItemView::SelectRows</enum>
 
437
          </property>
 
438
          <property name="showGrid">
 
439
           <bool>false</bool>
 
440
          </property>
 
441
          <property name="wordWrap">
452
442
           <bool>false</bool>
453
443
          </property>
454
444
         </widget>
459
449
    </item>
460
450
   </layout>
461
451
  </widget>
462
 
  <widget class="QToolBar" name="tool_bar" >
463
 
   <property name="minimumSize" >
 
452
  <widget class="QToolBar" name="tool_bar">
 
453
   <property name="minimumSize">
464
454
    <size>
465
455
     <width>0</width>
466
456
     <height>0</height>
467
457
    </size>
468
458
   </property>
469
 
   <property name="contextMenuPolicy" >
 
459
   <property name="contextMenuPolicy">
470
460
    <enum>Qt::PreventContextMenu</enum>
471
461
   </property>
472
 
   <property name="movable" >
 
462
   <property name="movable">
473
463
    <bool>false</bool>
474
464
   </property>
475
 
   <property name="orientation" >
 
465
   <property name="orientation">
476
466
    <enum>Qt::Horizontal</enum>
477
467
   </property>
478
 
   <property name="iconSize" >
 
468
   <property name="iconSize">
479
469
    <size>
480
470
     <width>48</width>
481
471
     <height>48</height>
482
472
    </size>
483
473
   </property>
484
 
   <property name="toolButtonStyle" >
 
474
   <property name="toolButtonStyle">
485
475
    <enum>Qt::ToolButtonTextUnderIcon</enum>
486
476
   </property>
487
 
   <attribute name="toolBarArea" >
 
477
   <attribute name="toolBarArea">
488
478
    <enum>TopToolBarArea</enum>
489
479
   </attribute>
490
 
   <attribute name="toolBarBreak" >
 
480
   <attribute name="toolBarBreak">
491
481
    <bool>false</bool>
492
482
   </attribute>
493
 
   <addaction name="action_add" />
494
 
   <addaction name="action_edit" />
495
 
   <addaction name="action_convert" />
496
 
   <addaction name="action_view" />
497
 
   <addaction name="action_news" />
498
 
   <addaction name="separator" />
499
 
   <addaction name="action_sync" />
500
 
   <addaction name="action_save" />
501
 
   <addaction name="action_del" />
502
 
   <addaction name="separator" />
503
 
   <addaction name="action_preferences" />
 
483
   <addaction name="action_add"/>
 
484
   <addaction name="action_edit"/>
 
485
   <addaction name="action_convert"/>
 
486
   <addaction name="action_view"/>
 
487
   <addaction name="action_news"/>
 
488
   <addaction name="separator"/>
 
489
   <addaction name="action_sync"/>
 
490
   <addaction name="action_save"/>
 
491
   <addaction name="action_del"/>
 
492
   <addaction name="separator"/>
 
493
   <addaction name="action_preferences"/>
504
494
  </widget>
505
 
  <widget class="QStatusBar" name="statusBar" >
506
 
   <property name="mouseTracking" >
 
495
  <widget class="QStatusBar" name="statusBar">
 
496
   <property name="mouseTracking">
507
497
    <bool>true</bool>
508
498
   </property>
509
499
  </widget>
510
 
  <action name="action_add" >
511
 
   <property name="icon" >
512
 
    <iconset resource="images.qrc" >
 
500
  <action name="action_add">
 
501
   <property name="icon">
 
502
    <iconset resource="images.qrc">
513
503
     <normaloff>:/images/add_book.svg</normaloff>:/images/add_book.svg</iconset>
514
504
   </property>
515
 
   <property name="text" >
 
505
   <property name="text">
516
506
    <string>Add books</string>
517
507
   </property>
518
 
   <property name="shortcut" >
 
508
   <property name="shortcut">
519
509
    <string>A</string>
520
510
   </property>
521
 
   <property name="autoRepeat" >
 
511
   <property name="autoRepeat">
522
512
    <bool>false</bool>
523
513
   </property>
524
514
  </action>
525
 
  <action name="action_del" >
526
 
   <property name="icon" >
527
 
    <iconset resource="images.qrc" >
 
515
  <action name="action_del">
 
516
   <property name="icon">
 
517
    <iconset resource="images.qrc">
528
518
     <normaloff>:/images/trash.svg</normaloff>:/images/trash.svg</iconset>
529
519
   </property>
530
 
   <property name="text" >
531
 
    <string>Remove books</string>
532
 
   </property>
533
 
   <property name="toolTip" >
534
 
    <string>Remove books</string>
535
 
   </property>
536
 
   <property name="shortcut" >
 
520
   <property name="text">
 
521
    <string>Remove books</string>
 
522
   </property>
 
523
   <property name="toolTip">
 
524
    <string>Remove books</string>
 
525
   </property>
 
526
   <property name="shortcut">
537
527
    <string>Del</string>
538
528
   </property>
539
529
  </action>
540
 
  <action name="action_edit" >
541
 
   <property name="icon" >
542
 
    <iconset resource="images.qrc" >
 
530
  <action name="action_edit">
 
531
   <property name="icon">
 
532
    <iconset resource="images.qrc">
543
533
     <normaloff>:/images/edit_input.svg</normaloff>:/images/edit_input.svg</iconset>
544
534
   </property>
545
 
   <property name="text" >
 
535
   <property name="text">
546
536
    <string>Edit meta information</string>
547
537
   </property>
548
 
   <property name="shortcut" >
 
538
   <property name="shortcut">
549
539
    <string>E</string>
550
540
   </property>
551
 
   <property name="autoRepeat" >
 
541
   <property name="autoRepeat">
552
542
    <bool>false</bool>
553
543
   </property>
554
544
  </action>
555
 
  <action name="action_sync" >
556
 
   <property name="enabled" >
 
545
  <action name="action_sync">
 
546
   <property name="enabled">
557
547
    <bool>false</bool>
558
548
   </property>
559
 
   <property name="icon" >
560
 
    <iconset resource="images.qrc" >
 
549
   <property name="icon">
 
550
    <iconset resource="images.qrc">
561
551
     <normaloff>:/images/sync.svg</normaloff>:/images/sync.svg</iconset>
562
552
   </property>
563
 
   <property name="text" >
 
553
   <property name="text">
564
554
    <string>Send to device</string>
565
555
   </property>
566
556
  </action>
567
 
  <action name="action_save" >
568
 
   <property name="icon" >
569
 
    <iconset resource="images.qrc" >
 
557
  <action name="action_save">
 
558
   <property name="icon">
 
559
    <iconset resource="images.qrc">
570
560
     <normaloff>:/images/save.svg</normaloff>:/images/save.svg</iconset>
571
561
   </property>
572
 
   <property name="text" >
 
562
   <property name="text">
573
563
    <string>Save to disk</string>
574
564
   </property>
575
 
   <property name="shortcut" >
 
565
   <property name="shortcut">
576
566
    <string>S</string>
577
567
   </property>
578
568
  </action>
579
 
  <action name="action_news" >
580
 
   <property name="icon" >
581
 
    <iconset resource="images.qrc" >
 
569
  <action name="action_news">
 
570
   <property name="icon">
 
571
    <iconset resource="images.qrc">
582
572
     <normaloff>:/images/news.svg</normaloff>:/images/news.svg</iconset>
583
573
   </property>
584
 
   <property name="text" >
 
574
   <property name="text">
585
575
    <string>Fetch news</string>
586
576
   </property>
587
 
   <property name="shortcut" >
 
577
   <property name="shortcut">
588
578
    <string>F</string>
589
579
   </property>
590
580
  </action>
591
 
  <action name="action_convert" >
592
 
   <property name="icon" >
593
 
    <iconset resource="images.qrc" >
 
581
  <action name="action_convert">
 
582
   <property name="icon">
 
583
    <iconset resource="images.qrc">
594
584
     <normaloff>:/images/convert.svg</normaloff>:/images/convert.svg</iconset>
595
585
   </property>
596
 
   <property name="text" >
 
586
   <property name="text">
597
587
    <string>Convert E-books</string>
598
588
   </property>
599
 
   <property name="shortcut" >
 
589
   <property name="shortcut">
600
590
    <string>C</string>
601
591
   </property>
602
592
  </action>
603
 
  <action name="action_view" >
604
 
   <property name="icon" >
605
 
    <iconset resource="images.qrc" >
 
593
  <action name="action_view">
 
594
   <property name="icon">
 
595
    <iconset resource="images.qrc">
606
596
     <normaloff>:/images/view.svg</normaloff>:/images/view.svg</iconset>
607
597
   </property>
608
 
   <property name="text" >
 
598
   <property name="text">
609
599
    <string>View</string>
610
600
   </property>
611
 
   <property name="shortcut" >
 
601
   <property name="shortcut">
612
602
    <string>V</string>
613
603
   </property>
614
604
  </action>
615
 
  <action name="action_open_containing_folder" >
616
 
   <property name="icon" >
617
 
    <iconset resource="images.qrc" >
 
605
  <action name="action_open_containing_folder">
 
606
   <property name="icon">
 
607
    <iconset resource="images.qrc">
618
608
     <normaloff>:/images/document_open.svg</normaloff>:/images/document_open.svg</iconset>
619
609
   </property>
620
 
   <property name="text" >
 
610
   <property name="text">
621
611
    <string>Open containing folder</string>
622
612
   </property>
623
613
  </action>
624
 
  <action name="action_show_book_details" >
625
 
   <property name="icon" >
626
 
    <iconset resource="images.qrc" >
 
614
  <action name="action_show_book_details">
 
615
   <property name="icon">
 
616
    <iconset resource="images.qrc">
627
617
     <normaloff>:/images/dialog_information.svg</normaloff>:/images/dialog_information.svg</iconset>
628
618
   </property>
629
 
   <property name="text" >
 
619
   <property name="text">
630
620
    <string>Show book details</string>
631
621
   </property>
632
622
  </action>
633
 
  <action name="action_books_by_same_author" >
634
 
   <property name="icon" >
635
 
    <iconset resource="images.qrc" >
 
623
  <action name="action_books_by_same_author">
 
624
   <property name="icon">
 
625
    <iconset resource="images.qrc">
636
626
     <normaloff>:/images/user_profile.svg</normaloff>:/images/user_profile.svg</iconset>
637
627
   </property>
638
 
   <property name="text" >
 
628
   <property name="text">
639
629
    <string>Books by same author</string>
640
630
   </property>
641
631
  </action>
642
 
  <action name="action_books_in_this_series" >
643
 
   <property name="icon" >
644
 
    <iconset resource="images.qrc" >
 
632
  <action name="action_books_in_this_series">
 
633
   <property name="icon">
 
634
    <iconset resource="images.qrc">
645
635
     <normaloff>:/images/books_in_series.svg</normaloff>:/images/books_in_series.svg</iconset>
646
636
   </property>
647
 
   <property name="text" >
 
637
   <property name="text">
648
638
    <string>Books in this series</string>
649
639
   </property>
650
640
  </action>
651
 
  <action name="action_books_by_this_publisher" >
652
 
   <property name="icon" >
653
 
    <iconset resource="images.qrc" >
 
641
  <action name="action_books_by_this_publisher">
 
642
   <property name="icon">
 
643
    <iconset resource="images.qrc">
654
644
     <normaloff>:/images/publisher.png</normaloff>:/images/publisher.png</iconset>
655
645
   </property>
656
 
   <property name="text" >
 
646
   <property name="text">
657
647
    <string>Books by this publisher</string>
658
648
   </property>
659
649
  </action>
660
 
  <action name="action_books_with_the_same_tags" >
661
 
   <property name="icon" >
662
 
    <iconset resource="images.qrc" >
 
650
  <action name="action_books_with_the_same_tags">
 
651
   <property name="icon">
 
652
    <iconset resource="images.qrc">
663
653
     <normaloff>:/images/tags.svg</normaloff>:/images/tags.svg</iconset>
664
654
   </property>
665
 
   <property name="text" >
 
655
   <property name="text">
666
656
    <string>Books with the same tags</string>
667
657
   </property>
668
658
  </action>
669
 
  <action name="action_preferences" >
670
 
   <property name="icon" >
671
 
    <iconset resource="images.qrc" >
 
659
  <action name="action_preferences">
 
660
   <property name="icon">
 
661
    <iconset resource="images.qrc">
672
662
     <normaloff>:/images/config.svg</normaloff>:/images/config.svg</iconset>
673
663
   </property>
674
 
   <property name="text" >
 
664
   <property name="text">
675
665
    <string>Preferences</string>
676
666
   </property>
677
 
   <property name="toolTip" >
 
667
   <property name="toolTip">
678
668
    <string>Configure calibre</string>
679
669
   </property>
680
 
   <property name="shortcut" >
 
670
   <property name="shortcut">
681
671
    <string>Ctrl+P</string>
682
672
   </property>
683
673
  </action>
706
696
  <customwidget>
707
697
   <class>TagsView</class>
708
698
   <extends>QTreeView</extends>
709
 
   <header>tags.h</header>
 
699
   <header>calibre/gui2/tag_view.h</header>
710
700
  </customwidget>
711
701
 </customwidgets>
712
702
 <resources>
713
 
  <include location="images.qrc" />
 
703
  <include location="images.qrc"/>
714
704
 </resources>
715
705
 <connections>
716
706
  <connection>
719
709
   <receiver>search</receiver>
720
710
   <slot>clear()</slot>
721
711
   <hints>
722
 
    <hint type="sourcelabel" >
 
712
    <hint type="sourcelabel">
723
713
     <x>787</x>
724
714
     <y>215</y>
725
715
    </hint>
726
 
    <hint type="destinationlabel" >
 
716
    <hint type="destinationlabel">
727
717
     <x>755</x>
728
718
     <y>213</y>
729
719
    </hint>