10
11
<height>822</height>
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>
19
<property name="contextMenuPolicy" >
20
<property name="contextMenuPolicy">
20
21
<enum>Qt::NoContextMenu</enum>
22
<property name="windowTitle" >
23
<property name="windowTitle">
23
24
<string>__appname__</string>
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>
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">
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>
41
<property name="maximumSize" >
42
<property name="maximumSize">
43
44
<width>16777215</width>
47
<property name="verticalScrollBarPolicy" >
48
<property name="mouseTracking">
51
<property name="verticalScrollBarPolicy">
48
52
<enum>Qt::ScrollBarAlwaysOff</enum>
50
<property name="horizontalScrollBarPolicy" >
54
<property name="horizontalScrollBarPolicy">
51
55
<enum>Qt::ScrollBarAsNeeded</enum>
53
<property name="editTriggers" >
57
<property name="editTriggers">
54
58
<set>QAbstractItemView::NoEditTriggers</set>
56
<property name="tabKeyNavigation" >
59
<property name="showDropIndicator" stdset="0" >
62
<property name="selectionMode" >
60
<property name="tabKeyNavigation">
63
<property name="showDropIndicator" stdset="0">
66
<property name="selectionMode">
63
67
<enum>QAbstractItemView::NoSelection</enum>
65
<property name="selectionBehavior" >
69
<property name="selectionBehavior">
66
70
<enum>QAbstractItemView::SelectRows</enum>
68
<property name="iconSize" >
72
<property name="iconSize">
71
75
<height>40</height>
74
<property name="movement" >
78
<property name="movement">
75
79
<enum>QListView::Static</enum>
77
<property name="flow" >
81
<property name="flow">
78
82
<enum>QListView::LeftToRight</enum>
80
<property name="gridSize" >
84
<property name="gridSize">
83
87
<height>90</height>
86
<property name="viewMode" >
90
<property name="viewMode">
87
91
<enum>QListView::ListMode</enum>
89
<property name="wordWrap" >
93
<property name="wordWrap">
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>
99
<property name="text" >
103
<property name="text">
100
104
<string>...</string>
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>
106
<property name="iconSize" >
110
<property name="iconSize">
108
112
<width>64</width>
109
113
<height>64</height>
112
<property name="autoRaise" >
116
<property name="autoRaise">
113
117
<bool>true</bool>
118
<layout class="QVBoxLayout" name="verticalLayout_3" >
122
<layout class="QVBoxLayout" name="verticalLayout_3">
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>
127
<property name="maximumSize" >
131
<property name="maximumSize">
129
133
<width>16777215</width>
130
134
<height>90</height>
133
<property name="text" >
137
<property name="text">
136
<property name="textFormat" >
140
<property name="textFormat">
137
141
<enum>Qt::RichText</enum>
139
<property name="openExternalLinks" >
143
<property name="openExternalLinks">
140
144
<bool>true</bool>
145
<layout class="QHBoxLayout" name="horizontalLayout_2" >
147
<widget class="QLabel" name="label_2" >
148
<property name="text" >
149
<string>Output:</string>
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>
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>
171
<property name="margin" >
157
<property name="margin">
172
158
<number>0</number>
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>
179
<property name="text" >
165
<property name="text">
180
166
<string>...</string>
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>
186
<property name="shortcut" >
172
<property name="shortcut">
187
173
<string>Alt+S</string>
192
<widget class="QLabel" name="label" >
193
<property name="text" >
178
<widget class="QLabel" name="label">
179
<property name="text">
194
180
<string>&Search:</string>
196
<property name="buddy" >
182
<property name="buddy">
197
183
<cstring>search</cstring>
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>
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>
212
<property name="acceptDrops" >
215
<property name="toolTip" >
216
<string>Search the list of books by title or author<br><br>Words separated by spaces are ANDed</string>
218
<property name="whatsThis" >
219
<string>Search the list of books by title, author, publisher, tags and comments<br><br>Words separated by spaces are ANDed</string>
221
<property name="autoFillBackground" >
224
<property name="text" >
198
<property name="acceptDrops">
201
<property name="toolTip">
202
<string>Search the list of books by title or author<br><br>Words separated by spaces are ANDed</string>
204
<property name="whatsThis">
205
<string>Search the list of books by title, author, publisher, tags and comments<br><br>Words separated by spaces are ANDed</string>
207
<property name="autoFillBackground">
210
<property name="text">
227
<property name="frame" >
213
<property name="frame">
228
214
<bool>true</bool>
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>
237
<property name="text" >
223
<property name="text">
238
224
<string>...</string>
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>
247
<widget class="Line" name="line" >
248
<property name="orientation" >
249
<enum>Qt::Vertical</enum>
255
<property name="orientation" >
256
<enum>Qt::Horizontal</enum>
258
<property name="sizeHint" stdset="0" >
267
<widget class="QToolButton" name="config_button" >
268
<property name="toolTip" >
269
<string>Configuration</string>
271
<property name="text" >
274
<property name="icon" >
275
<iconset resource="images.qrc" >
276
<normaloff>:/images/config.svg</normaloff>:/images/config.svg</iconset>
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>
290
<property name="currentIndex" >
242
<property name="currentIndex">
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">
296
<layout class="QHBoxLayout" name="horizontalLayout" >
248
<layout class="QHBoxLayout" name="horizontalLayout">
298
<layout class="QVBoxLayout" name="verticalLayout" >
250
<layout class="QVBoxLayout" name="verticalLayout">
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>
304
<property name="checked" >
256
<property name="checked">
305
257
<bool>false</bool>
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>
314
<property name="checked" >
266
<property name="checked">
315
267
<bool>true</bool>
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 &popularity</string>
327
<widget class="TagsView" name="tags_view" >
328
<property name="tabKeyNavigation" >
331
<property name="alternatingRowColors" >
334
<property name="animated" >
337
<property name="headerHidden" >
279
<widget class="TagsView" name="tags_view">
280
<property name="tabKeyNavigation">
283
<property name="alternatingRowColors">
286
<property name="animated">
289
<property name="headerHidden">
338
290
<bool>true</bool>
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>
392
<property name="acceptDrops" >
395
<property name="dragEnabled" >
398
<property name="dragDropOverwriteMode" >
401
<property name="dragDropMode" >
402
<enum>QAbstractItemView::DragDrop</enum>
404
<property name="alternatingRowColors" >
407
<property name="selectionBehavior" >
408
<enum>QAbstractItemView::SelectRows</enum>
410
<property name="showGrid" >
413
<property name="wordWrap" >
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>
430
<property name="acceptDrops" >
433
<property name="dragEnabled" >
436
<property name="dragDropOverwriteMode" >
439
<property name="dragDropMode" >
440
<enum>QAbstractItemView::DragDrop</enum>
442
<property name="alternatingRowColors" >
445
<property name="selectionBehavior" >
446
<enum>QAbstractItemView::SelectRows</enum>
448
<property name="showGrid" >
451
<property name="wordWrap" >
344
<property name="acceptDrops">
347
<property name="dragEnabled">
350
<property name="dragDropOverwriteMode">
353
<property name="dragDropMode">
354
<enum>QAbstractItemView::DragDrop</enum>
356
<property name="alternatingRowColors">
359
<property name="selectionBehavior">
360
<enum>QAbstractItemView::SelectRows</enum>
362
<property name="showGrid">
365
<property name="wordWrap">
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>
382
<property name="acceptDrops">
385
<property name="dragEnabled">
388
<property name="dragDropOverwriteMode">
391
<property name="dragDropMode">
392
<enum>QAbstractItemView::DragDrop</enum>
394
<property name="alternatingRowColors">
397
<property name="selectionBehavior">
398
<enum>QAbstractItemView::SelectRows</enum>
400
<property name="showGrid">
403
<property name="wordWrap">
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>
420
<property name="acceptDrops">
423
<property name="dragEnabled">
426
<property name="dragDropOverwriteMode">
429
<property name="dragDropMode">
430
<enum>QAbstractItemView::DragDrop</enum>
432
<property name="alternatingRowColors">
435
<property name="selectionBehavior">
436
<enum>QAbstractItemView::SelectRows</enum>
438
<property name="showGrid">
441
<property name="wordWrap">
452
442
<bool>false</bool>
462
<widget class="QToolBar" name="tool_bar" >
463
<property name="minimumSize" >
452
<widget class="QToolBar" name="tool_bar">
453
<property name="minimumSize">
466
456
<height>0</height>
469
<property name="contextMenuPolicy" >
459
<property name="contextMenuPolicy">
470
460
<enum>Qt::PreventContextMenu</enum>
472
<property name="movable" >
462
<property name="movable">
473
463
<bool>false</bool>
475
<property name="orientation" >
465
<property name="orientation">
476
466
<enum>Qt::Horizontal</enum>
478
<property name="iconSize" >
468
<property name="iconSize">
480
470
<width>48</width>
481
471
<height>48</height>
484
<property name="toolButtonStyle" >
474
<property name="toolButtonStyle">
485
475
<enum>Qt::ToolButtonTextUnderIcon</enum>
487
<attribute name="toolBarArea" >
477
<attribute name="toolBarArea">
488
478
<enum>TopToolBarArea</enum>
490
<attribute name="toolBarBreak" >
480
<attribute name="toolBarBreak">
491
481
<bool>false</bool>
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"/>
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>
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>
515
<property name="text" >
505
<property name="text">
516
506
<string>Add books</string>
518
<property name="shortcut" >
508
<property name="shortcut">
519
509
<string>A</string>
521
<property name="autoRepeat" >
511
<property name="autoRepeat">
522
512
<bool>false</bool>
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>
530
<property name="text" >
531
<string>Remove books</string>
533
<property name="toolTip" >
534
<string>Remove books</string>
536
<property name="shortcut" >
520
<property name="text">
521
<string>Remove books</string>
523
<property name="toolTip">
524
<string>Remove books</string>
526
<property name="shortcut">
537
527
<string>Del</string>
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>
545
<property name="text" >
535
<property name="text">
546
536
<string>Edit meta information</string>
548
<property name="shortcut" >
538
<property name="shortcut">
549
539
<string>E</string>
551
<property name="autoRepeat" >
541
<property name="autoRepeat">
552
542
<bool>false</bool>
555
<action name="action_sync" >
556
<property name="enabled" >
545
<action name="action_sync">
546
<property name="enabled">
557
547
<bool>false</bool>
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>
563
<property name="text" >
553
<property name="text">
564
554
<string>Send to device</string>
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>
572
<property name="text" >
562
<property name="text">
573
563
<string>Save to disk</string>
575
<property name="shortcut" >
565
<property name="shortcut">
576
566
<string>S</string>
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>
584
<property name="text" >
574
<property name="text">
585
575
<string>Fetch news</string>
587
<property name="shortcut" >
577
<property name="shortcut">
588
578
<string>F</string>
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>
596
<property name="text" >
586
<property name="text">
597
587
<string>Convert E-books</string>
599
<property name="shortcut" >
589
<property name="shortcut">
600
590
<string>C</string>
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>
608
<property name="text" >
598
<property name="text">
609
599
<string>View</string>
611
<property name="shortcut" >
601
<property name="shortcut">
612
602
<string>V</string>
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>
620
<property name="text" >
610
<property name="text">
621
611
<string>Open containing folder</string>
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>
629
<property name="text" >
619
<property name="text">
630
620
<string>Show book details</string>
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>
638
<property name="text" >
628
<property name="text">
639
629
<string>Books by same author</string>
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>
647
<property name="text" >
637
<property name="text">
648
638
<string>Books in this series</string>
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>
656
<property name="text" >
646
<property name="text">
657
647
<string>Books by this publisher</string>
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>
665
<property name="text" >
655
<property name="text">
666
656
<string>Books with the same tags</string>
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>
674
<property name="text" >
664
<property name="text">
675
665
<string>Preferences</string>
677
<property name="toolTip" >
667
<property name="toolTip">
678
668
<string>Configure calibre</string>
680
<property name="shortcut" >
670
<property name="shortcut">
681
671
<string>Ctrl+P</string>