2
<class>LRFSingleDialog</class>
3
<widget class="QDialog" name="LRFSingleDialog" >
4
<property name="geometry" >
12
<property name="windowTitle" >
13
<string>Convert to LRF</string>
15
<property name="windowIcon" >
16
<iconset resource="../images.qrc" >
17
<normaloff>:/images/convert.svg</normaloff>:/images/convert.svg</iconset>
19
<layout class="QGridLayout" name="gridLayout_2" >
20
<item rowspan="3" row="0" column="0" >
21
<widget class="QGroupBox" name="category" >
22
<property name="sizePolicy" >
23
<sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
24
<horstretch>0</horstretch>
25
<verstretch>0</verstretch>
28
<property name="title" >
29
<string>Category</string>
31
<layout class="QVBoxLayout" >
33
<widget class="QListWidget" name="categoryList" >
34
<property name="sizePolicy" >
35
<sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
36
<horstretch>3</horstretch>
37
<verstretch>0</verstretch>
40
<property name="maximumSize" >
43
<height>16777215</height>
46
<property name="font" >
52
<property name="mouseTracking" >
55
<property name="verticalScrollBarPolicy" >
56
<enum>Qt::ScrollBarAlwaysOff</enum>
58
<property name="horizontalScrollBarPolicy" >
59
<enum>Qt::ScrollBarAlwaysOff</enum>
61
<property name="showDropIndicator" stdset="0" >
64
<property name="dragDropMode" >
65
<enum>QAbstractItemView::NoDragDrop</enum>
67
<property name="alternatingRowColors" >
70
<property name="selectionBehavior" >
71
<enum>QAbstractItemView::SelectRows</enum>
73
<property name="iconSize" >
79
<property name="movement" >
80
<enum>QListView::Static</enum>
82
<property name="spacing" >
85
<property name="viewMode" >
86
<enum>QListView::IconMode</enum>
88
<property name="uniformItemSizes" >
91
<property name="currentRow" >
99
<item row="0" column="1" >
100
<widget class="QScrollArea" name="scrollArea" >
101
<property name="frameShape" >
102
<enum>QFrame::NoFrame</enum>
104
<property name="widgetResizable" >
107
<widget class="QWidget" name="scrollAreaWidgetContents" >
108
<property name="geometry" >
116
<layout class="QVBoxLayout" name="verticalLayout" >
117
<property name="margin" >
121
<widget class="QStackedWidget" name="stack" >
122
<property name="currentIndex" >
125
<widget class="QWidget" name="metadata_page" >
126
<layout class="QHBoxLayout" name="_2" >
128
<widget class="QGroupBox" name="groupBox_4" >
129
<property name="title" >
130
<string>Book Cover</string>
132
<layout class="QGridLayout" name="_3" >
133
<item row="0" column="0" >
134
<layout class="QHBoxLayout" name="_4" >
136
<widget class="ImageView" name="cover" >
137
<property name="text" >
140
<property name="pixmap" >
141
<pixmap resource="../images.qrc" >:/images/book.svg</pixmap>
143
<property name="scaledContents" >
146
<property name="alignment" >
147
<set>Qt::AlignCenter</set>
153
<item row="1" column="0" >
154
<layout class="QVBoxLayout" name="_5" >
155
<property name="spacing" >
158
<property name="margin" >
162
<widget class="QLabel" name="label_5" >
163
<property name="text" >
164
<string>Change &cover image:</string>
166
<property name="buddy" >
167
<cstring>cover_path</cstring>
172
<layout class="QHBoxLayout" name="_6" >
173
<property name="spacing" >
176
<property name="margin" >
180
<widget class="QLineEdit" name="cover_path" >
181
<property name="readOnly" >
187
<widget class="QToolButton" name="cover_button" >
188
<property name="toolTip" >
189
<string>Browse for an image to use as the cover of this book.</string>
191
<property name="text" >
194
<property name="icon" >
195
<iconset resource="../images.qrc" >
196
<normaloff>:/images/document_open.svg</normaloff>:/images/document_open.svg</iconset>
204
<item row="2" column="0" >
205
<widget class="QCheckBox" name="gui_use_metadata_cover" >
206
<property name="text" >
207
<string>Use cover from &source file</string>
209
<property name="checked" >
218
<layout class="QVBoxLayout" name="_7" >
220
<layout class="QGridLayout" name="_8" >
221
<item row="0" column="0" >
222
<widget class="QLabel" name="label" >
223
<property name="text" >
224
<string>&Title: </string>
226
<property name="alignment" >
227
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
229
<property name="buddy" >
230
<cstring>gui_title</cstring>
234
<item row="0" column="1" >
235
<widget class="QLineEdit" name="gui_title" >
236
<property name="toolTip" >
237
<string>Change the title of this book</string>
241
<item row="1" column="0" >
242
<widget class="QLabel" name="label_2" >
243
<property name="text" >
244
<string>&Author(s): </string>
246
<property name="alignment" >
247
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
249
<property name="buddy" >
250
<cstring>gui_author</cstring>
254
<item row="1" column="1" >
255
<widget class="QLineEdit" name="gui_author" >
256
<property name="sizePolicy" >
257
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
258
<horstretch>1</horstretch>
259
<verstretch>0</verstretch>
262
<property name="toolTip" >
263
<string>Change the author(s) of this book. Multiple authors should be separated by an &. If the author name contains an &, use && to represent it.</string>
267
<item row="2" column="0" >
268
<widget class="QLabel" name="label_6" >
269
<property name="text" >
270
<string>Author So&rt:</string>
272
<property name="alignment" >
273
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
275
<property name="buddy" >
276
<cstring>gui_author_sort</cstring>
280
<item row="2" column="1" >
281
<widget class="QLineEdit" name="gui_author_sort" >
282
<property name="sizePolicy" >
283
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
284
<horstretch>0</horstretch>
285
<verstretch>0</verstretch>
288
<property name="toolTip" >
289
<string>Change the author(s) of this book. Multiple authors should be separated by a comma</string>
293
<item row="3" column="0" >
294
<widget class="QLabel" name="label_3" >
295
<property name="text" >
296
<string>&Publisher: </string>
298
<property name="alignment" >
299
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
301
<property name="buddy" >
302
<cstring>gui_publisher</cstring>
306
<item row="3" column="1" >
307
<widget class="QLineEdit" name="gui_publisher" >
308
<property name="toolTip" >
309
<string>Change the publisher of this book</string>
313
<item row="4" column="0" >
314
<widget class="QLabel" name="label_4" >
315
<property name="text" >
316
<string>Ta&gs: </string>
318
<property name="alignment" >
319
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
321
<property name="buddy" >
322
<cstring>tags</cstring>
326
<item row="4" column="1" >
327
<widget class="QLineEdit" name="tags" >
328
<property name="toolTip" >
329
<string>Tags categorize the book. This is particularly useful while searching. <br><br>They can be any words or phrases, separated by commas.</string>
333
<item row="5" column="0" >
334
<widget class="QLabel" name="label_7" >
335
<property name="text" >
336
<string>&Series:</string>
338
<property name="textFormat" >
339
<enum>Qt::PlainText</enum>
341
<property name="alignment" >
342
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
344
<property name="buddy" >
345
<cstring>series</cstring>
349
<item row="5" column="1" >
350
<widget class="QComboBox" name="series" >
351
<property name="sizePolicy" >
352
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
353
<horstretch>10</horstretch>
354
<verstretch>0</verstretch>
357
<property name="toolTip" >
358
<string>List of known series. You can add new series.</string>
360
<property name="whatsThis" >
361
<string>List of known series. You can add new series.</string>
363
<property name="editable" >
366
<property name="insertPolicy" >
367
<enum>QComboBox::InsertAlphabetically</enum>
369
<property name="sizeAdjustPolicy" >
370
<enum>QComboBox::AdjustToContents</enum>
374
<item row="6" column="1" >
375
<widget class="QSpinBox" name="series_index" >
376
<property name="toolTip" >
377
<string>Series index.</string>
379
<property name="whatsThis" >
380
<string>Series index.</string>
382
<property name="prefix" >
383
<string>Book </string>
385
<property name="minimum" >
388
<property name="maximum" >
389
<number>10000</number>
396
<widget class="QGroupBox" name="groupBox_2" >
397
<property name="sizePolicy" >
398
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
399
<horstretch>0</horstretch>
400
<verstretch>0</verstretch>
403
<property name="title" >
404
<string>Comments</string>
406
<layout class="QGridLayout" name="_9" >
407
<item row="0" column="0" >
408
<widget class="QTextEdit" name="gui_comment" />
417
<widget class="QWidget" name="lookandfeel_page" >
418
<layout class="QGridLayout" name="_10" >
419
<item row="0" column="0" >
420
<widget class="QLabel" name="label_8" >
421
<property name="text" >
422
<string>Base &font size:</string>
424
<property name="buddy" >
425
<cstring>gui_base_font_size</cstring>
429
<item row="0" column="1" colspan="2" >
430
<widget class="QDoubleSpinBox" name="gui_base_font_size" >
431
<property name="buttonSymbols" >
432
<enum>QAbstractSpinBox::PlusMinus</enum>
434
<property name="suffix" >
435
<string> pts</string>
437
<property name="decimals" >
440
<property name="minimum" >
441
<double>2.000000000000000</double>
443
<property name="maximum" >
444
<double>20.000000000000000</double>
446
<property name="singleStep" >
447
<double>0.100000000000000</double>
449
<property name="value" >
450
<double>10.000000000000000</double>
454
<item rowspan="4" row="0" column="4" >
455
<widget class="QGroupBox" name="groupBox_8" >
456
<property name="title" >
457
<string>Embedded Fonts</string>
459
<layout class="QGridLayout" name="_11" >
460
<item row="0" column="0" colspan="2" >
461
<widget class="QLabel" name="label_22" >
462
<property name="text" >
463
<string>&Serif:</string>
465
<property name="buddy" >
466
<cstring>gui_serif_family</cstring>
470
<item row="0" column="2" >
471
<widget class="QComboBox" name="gui_serif_family" >
472
<property name="sizePolicy" >
473
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
474
<horstretch>0</horstretch>
475
<verstretch>0</verstretch>
480
<item row="1" column="0" >
481
<widget class="QLabel" name="label_23" >
482
<property name="text" >
483
<string>S&ans-serif:</string>
485
<property name="buddy" >
486
<cstring>gui_sans_family</cstring>
490
<item row="1" column="1" colspan="2" >
491
<widget class="QComboBox" name="gui_sans_family" />
493
<item row="2" column="0" >
494
<widget class="QLabel" name="label_24" >
495
<property name="text" >
496
<string>&Monospace:</string>
498
<property name="buddy" >
499
<cstring>gui_mono_family</cstring>
503
<item row="2" column="1" colspan="2" >
504
<widget class="QComboBox" name="gui_mono_family" />
506
<item row="3" column="0" >
507
<widget class="QLabel" name="label_26" >
508
<property name="text" >
509
<string>Source en&coding:</string>
511
<property name="buddy" >
512
<cstring>gui_encoding</cstring>
516
<item row="3" column="1" colspan="2" >
517
<widget class="QLineEdit" name="gui_encoding" />
522
<item row="1" column="0" >
523
<widget class="QLabel" name="label_25" >
524
<property name="text" >
525
<string>Minimum &indent:</string>
527
<property name="buddy" >
528
<cstring>gui_minimum_indent</cstring>
532
<item row="1" column="1" >
533
<widget class="QDoubleSpinBox" name="gui_minimum_indent" >
534
<property name="buttonSymbols" >
535
<enum>QAbstractSpinBox::PlusMinus</enum>
537
<property name="suffix" >
538
<string> pts</string>
540
<property name="decimals" >
545
<item row="2" column="0" >
546
<widget class="QLabel" name="label_9" >
547
<property name="text" >
548
<string>&Word spacing:</string>
550
<property name="textFormat" >
551
<enum>Qt::PlainText</enum>
553
<property name="buddy" >
554
<cstring>gui_wordspace</cstring>
558
<item row="2" column="1" colspan="2" >
559
<widget class="QDoubleSpinBox" name="gui_wordspace" >
560
<property name="buttonSymbols" >
561
<enum>QAbstractSpinBox::PlusMinus</enum>
563
<property name="suffix" >
564
<string> pts</string>
566
<property name="decimals" >
569
<property name="minimum" >
570
<double>0.000000000000000</double>
572
<property name="maximum" >
573
<double>10.000000000000000</double>
575
<property name="singleStep" >
576
<double>0.100000000000000</double>
578
<property name="value" >
579
<double>2.500000000000000</double>
583
<item row="3" column="0" colspan="4" >
584
<layout class="QVBoxLayout" name="_12" >
586
<widget class="QCheckBox" name="gui_autorotation" >
587
<property name="text" >
588
<string>Enable auto &rotation of images</string>
593
<widget class="QCheckBox" name="gui_blank_after_para" >
594
<property name="text" >
595
<string>Insert &blank lines between paragraphs</string>
600
<widget class="QCheckBox" name="gui_ignore_tables" >
601
<property name="text" >
602
<string>Ignore &tables</string>
607
<widget class="QCheckBox" name="gui_ignore_colors" >
608
<property name="text" >
609
<string>Ignore &colors</string>
615
<item row="4" column="0" colspan="2" >
616
<widget class="QLabel" name="label_16" >
617
<property name="text" >
618
<string>&Preprocess:</string>
620
<property name="buddy" >
621
<cstring>preprocess</cstring>
625
<item row="4" column="3" colspan="2" >
626
<widget class="QComboBox" name="preprocess" />
628
<item row="5" column="0" colspan="5" >
629
<widget class="QGroupBox" name="groupBox_5" >
630
<property name="sizePolicy" >
631
<sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
632
<horstretch>0</horstretch>
633
<verstretch>0</verstretch>
636
<property name="title" >
637
<string>Header</string>
639
<layout class="QGridLayout" name="_13" >
640
<item row="0" column="0" >
641
<widget class="QCheckBox" name="gui_header" >
642
<property name="text" >
643
<string>&Show header</string>
647
<item row="2" column="0" >
648
<widget class="QLabel" name="label_10" >
649
<property name="text" >
650
<string>&Header format:</string>
652
<property name="buddy" >
653
<cstring>gui_headerformat</cstring>
657
<item row="2" column="1" >
658
<widget class="QLineEdit" name="gui_headerformat" />
660
<item row="1" column="1" >
661
<widget class="QSpinBox" name="gui_header_separation" >
662
<property name="suffix" >
667
<item row="1" column="0" >
668
<widget class="QLabel" name="label_29" >
669
<property name="text" >
670
<string>Header &separation:</string>
672
<property name="buddy" >
673
<cstring>gui_header_separation</cstring>
680
<item row="6" column="0" colspan="2" >
681
<widget class="QLabel" name="label_21" >
682
<property name="text" >
683
<string>Override<br>CSS</string>
687
<item row="6" column="2" colspan="3" >
688
<widget class="QTextEdit" name="gui_override_css" />
692
<widget class="QWidget" name="pagesetup_page" >
693
<layout class="QGridLayout" name="_14" >
694
<item row="0" column="0" >
695
<widget class="QLabel" name="label_11" >
696
<property name="text" >
697
<string>&Profile:</string>
699
<property name="buddy" >
700
<cstring>gui_profile</cstring>
704
<item row="0" column="1" >
705
<widget class="QComboBox" name="gui_profile" >
706
<property name="currentIndex" >
709
<property name="minimumContentsLength" >
714
<item row="1" column="0" >
715
<widget class="QLabel" name="label_12" >
716
<property name="text" >
717
<string>&Left Margin:</string>
719
<property name="buddy" >
720
<cstring>gui_left_margin</cstring>
724
<item row="1" column="1" >
725
<widget class="QSpinBox" name="gui_left_margin" >
726
<property name="suffix" >
729
<property name="maximum" >
732
<property name="value" >
737
<item row="2" column="0" >
738
<widget class="QLabel" name="label_13" >
739
<property name="text" >
740
<string>&Right Margin:</string>
742
<property name="buddy" >
743
<cstring>gui_right_margin</cstring>
747
<item row="2" column="1" >
748
<widget class="QSpinBox" name="gui_right_margin" >
749
<property name="suffix" >
752
<property name="maximum" >
755
<property name="value" >
760
<item row="3" column="0" >
761
<widget class="QLabel" name="label_14" >
762
<property name="text" >
763
<string>&Top Margin:</string>
765
<property name="buddy" >
766
<cstring>gui_top_margin</cstring>
770
<item row="3" column="1" >
771
<widget class="QSpinBox" name="gui_top_margin" >
772
<property name="suffix" >
775
<property name="maximum" >
778
<property name="value" >
783
<item row="4" column="0" >
784
<widget class="QLabel" name="label_15" >
785
<property name="text" >
786
<string>&Bottom Margin:</string>
788
<property name="buddy" >
789
<cstring>gui_bottom_margin</cstring>
793
<item row="4" column="1" >
794
<widget class="QSpinBox" name="gui_bottom_margin" >
795
<property name="suffix" >
798
<property name="maximum" >
801
<property name="value" >
806
<item row="5" column="0" >
807
<widget class="QCheckBox" name="gui_render_tables_as_images" >
808
<property name="text" >
809
<string>&Convert tables to images (good for large/complex tables)</string>
813
<item row="6" column="0" >
814
<widget class="QLabel" name="label_27" >
815
<property name="text" >
816
<string>&Multiplier for text size in rendered tables:</string>
818
<property name="buddy" >
819
<cstring>gui_text_size_multiplier_for_rendered_tables</cstring>
823
<item row="6" column="1" >
824
<widget class="QDoubleSpinBox" name="gui_text_size_multiplier_for_rendered_tables" >
825
<property name="enabled" >
828
<property name="decimals" >
831
<property name="minimum" >
832
<double>0.100000000000000</double>
834
<property name="value" >
835
<double>1.000000000000000</double>
841
<widget class="QWidget" name="chapterdetection_page" >
842
<layout class="QVBoxLayout" name="_15" >
844
<widget class="QGroupBox" name="groupBox_6" >
845
<property name="title" >
846
<string>Title based detection</string>
848
<layout class="QGridLayout" name="gridLayout" >
849
<item row="0" column="0" colspan="2" >
850
<widget class="QCheckBox" name="gui_disable_chapter_detection" >
851
<property name="text" >
852
<string>&Disable chapter detection</string>
856
<item row="1" column="0" >
857
<widget class="QLabel" name="label_17" >
858
<property name="text" >
859
<string>&Regular expression:</string>
861
<property name="buddy" >
862
<cstring>gui_chapter_regex</cstring>
866
<item row="1" column="1" >
867
<widget class="QLineEdit" name="gui_chapter_regex" />
869
<item row="2" column="0" colspan="2" >
870
<widget class="QCheckBox" name="gui_add_chapters_to_toc" >
871
<property name="text" >
872
<string>Add &chapters to table of contents</string>
876
<item row="3" column="0" colspan="2" >
877
<widget class="QCheckBox" name="gui_no_links_in_toc" >
878
<property name="text" >
879
<string>Don't add &links to the table of contents</string>
887
<widget class="QGroupBox" name="groupBox_7" >
888
<property name="title" >
889
<string>Tag based detection</string>
891
<layout class="QGridLayout" name="_16" >
892
<item row="0" column="0" >
893
<widget class="QLabel" name="label_18" >
894
<property name="text" >
895
<string>&Page break before tag:</string>
897
<property name="buddy" >
898
<cstring>gui_page_break_before_tag</cstring>
902
<item row="0" column="1" >
903
<widget class="QLineEdit" name="gui_page_break_before_tag" />
905
<item row="1" column="0" >
906
<widget class="QLabel" name="label_19" >
907
<property name="text" >
908
<string>&Force page break before tag:</string>
910
<property name="buddy" >
911
<cstring>gui_force_page_break_before_tag</cstring>
915
<item row="1" column="1" >
916
<widget class="QLineEdit" name="gui_force_page_break_before_tag" />
918
<item row="2" column="0" >
919
<widget class="QLabel" name="label_20" >
920
<property name="text" >
921
<string>Force page break before &attribute:</string>
923
<property name="buddy" >
924
<cstring>gui_force_page_break_before_attr</cstring>
928
<item row="2" column="1" >
929
<widget class="QLineEdit" name="gui_force_page_break_before_attr" />
931
<item row="3" column="0" >
932
<widget class="QLabel" name="label_28" >
933
<property name="text" >
934
<string>Detect chapter &at tag:</string>
936
<property name="buddy" >
937
<cstring>gui_chapter_attr</cstring>
941
<item row="3" column="1" >
942
<widget class="QLineEdit" name="gui_chapter_attr" />
955
<item row="1" column="1" >
956
<widget class="QTextBrowser" name="help_view" >
957
<property name="sizePolicy" >
958
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
959
<horstretch>0</horstretch>
960
<verstretch>0</verstretch>
963
<property name="minimumSize" >
969
<property name="maximumSize" >
971
<width>16777215</width>
975
<property name="html" >
976
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
977
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
978
p, li { white-space: pre-wrap; }
979
</style></head><body style=" font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;">
980
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html></string>
984
<item row="2" column="1" >
985
<widget class="QDialogButtonBox" name="buttonBox" >
986
<property name="orientation" >
987
<enum>Qt::Horizontal</enum>
989
<property name="standardButtons" >
990
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
992
<property name="centerButtons" >
1001
<class>ImageView</class>
1002
<extends>QLabel</extends>
1003
<header>widgets.h</header>
1007
<include location="../images.qrc" />
1011
<sender>buttonBox</sender>
1012
<signal>accepted()</signal>
1013
<receiver>LRFSingleDialog</receiver>
1014
<slot>accept()</slot>
1016
<hint type="sourcelabel" >
1020
<hint type="destinationlabel" >
1027
<sender>buttonBox</sender>
1028
<signal>rejected()</signal>
1029
<receiver>LRFSingleDialog</receiver>
1030
<slot>reject()</slot>
1032
<hint type="sourcelabel" >
1036
<hint type="destinationlabel" >
1043
<sender>categoryList</sender>
1044
<signal>currentRowChanged(int)</signal>
1045
<receiver>stack</receiver>
1046
<slot>setCurrentIndex(int)</slot>
1048
<hint type="sourcelabel" >
1052
<hint type="destinationlabel" >
1059
<sender>gui_header</sender>
1060
<signal>toggled(bool)</signal>
1061
<receiver>gui_header_separation</receiver>
1062
<slot>setEnabled(bool)</slot>
1064
<hint type="sourcelabel" >
1068
<hint type="destinationlabel" >
1075
<sender>gui_header</sender>
1076
<signal>toggled(bool)</signal>
1077
<receiver>gui_headerformat</receiver>
1078
<slot>setEnabled(bool)</slot>
1080
<hint type="sourcelabel" >
1084
<hint type="destinationlabel" >