3
<widget class="QDialog" name="Dialog" >
4
<property name="geometry" >
12
<property name="windowTitle" >
13
<string>Convert to EPUB</string>
15
<property name="windowIcon" >
16
<iconset resource="../images.qrc" >
17
<normaloff>:/images/convert.svg</normaloff>:/images/convert.svg</iconset>
19
<property name="sizeGripEnabled" >
22
<layout class="QGridLayout" name="gridLayout_2" >
23
<item row="0" column="0" >
24
<widget class="QListWidget" name="category_list" >
25
<property name="sizePolicy" >
26
<sizepolicy vsizetype="Expanding" hsizetype="Minimum" >
27
<horstretch>0</horstretch>
28
<verstretch>0</verstretch>
31
<property name="font" >
37
<property name="mouseTracking" >
40
<property name="verticalScrollBarPolicy" >
41
<enum>Qt::ScrollBarAlwaysOff</enum>
43
<property name="tabKeyNavigation" >
46
<property name="iconSize" >
52
<property name="spacing" >
55
<property name="wordWrap" >
60
<item row="0" column="1" >
61
<widget class="QScrollArea" name="scrollArea" >
62
<property name="sizePolicy" >
63
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
64
<horstretch>10</horstretch>
65
<verstretch>0</verstretch>
68
<property name="frameShape" >
69
<enum>QFrame::NoFrame</enum>
71
<property name="widgetResizable" >
74
<widget class="QWidget" name="scrollAreaWidgetContents" >
75
<property name="geometry" >
83
<property name="minimumSize" >
89
<layout class="QVBoxLayout" name="verticalLayout_3" >
90
<property name="margin" >
94
<widget class="QStackedWidget" name="stack" >
95
<property name="currentIndex" >
98
<widget class="QWidget" name="metadata_page" >
99
<layout class="QGridLayout" name="gridLayout_4" >
100
<item row="0" column="0" >
101
<layout class="QHBoxLayout" name="horizontalLayout_2" >
103
<widget class="QGroupBox" name="groupBox_4" >
104
<property name="title" >
105
<string>Book Cover</string>
107
<layout class="QGridLayout" name="_2" >
108
<item row="1" column="0" >
109
<layout class="QVBoxLayout" name="_4" >
110
<property name="spacing" >
113
<property name="margin" >
117
<widget class="QLabel" name="label_5" >
118
<property name="text" >
119
<string>Change &cover image:</string>
121
<property name="buddy" >
122
<cstring>cover_path</cstring>
127
<layout class="QHBoxLayout" name="_5" >
128
<property name="spacing" >
131
<property name="margin" >
135
<widget class="QLineEdit" name="cover_path" >
136
<property name="readOnly" >
142
<widget class="QToolButton" name="cover_button" >
143
<property name="toolTip" >
144
<string>Browse for an image to use as the cover of this book.</string>
146
<property name="text" >
149
<property name="icon" >
150
<iconset resource="../images.qrc" >
151
<normaloff>:/images/document_open.svg</normaloff>:/images/document_open.svg</iconset>
159
<item row="2" column="0" >
160
<widget class="QCheckBox" name="opt_prefer_metadata_cover" >
161
<property name="text" >
162
<string>Use cover from &source file</string>
164
<property name="checked" >
169
<item row="0" column="0" >
170
<layout class="QHBoxLayout" name="_3" >
172
<widget class="ImageView" name="cover" >
173
<property name="text" >
176
<property name="pixmap" >
177
<pixmap resource="../images.qrc" >:/images/book.svg</pixmap>
179
<property name="scaledContents" >
182
<property name="alignment" >
183
<set>Qt::AlignCenter</set>
190
<zorder>opt_prefer_metadata_cover</zorder>
195
<layout class="QVBoxLayout" name="verticalLayout_2" >
197
<layout class="QGridLayout" name="_7" >
198
<item row="0" column="0" >
199
<widget class="QLabel" name="label" >
200
<property name="text" >
201
<string>&Title: </string>
203
<property name="alignment" >
204
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
206
<property name="buddy" >
207
<cstring>title</cstring>
211
<item row="0" column="1" >
212
<widget class="QLineEdit" name="title" >
213
<property name="toolTip" >
214
<string>Change the title of this book</string>
218
<item row="1" column="0" >
219
<widget class="QLabel" name="label_2" >
220
<property name="text" >
221
<string>&Author(s): </string>
223
<property name="alignment" >
224
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
226
<property name="buddy" >
227
<cstring>author</cstring>
231
<item row="1" column="1" >
232
<widget class="QLineEdit" name="author" >
233
<property name="sizePolicy" >
234
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
235
<horstretch>1</horstretch>
236
<verstretch>0</verstretch>
239
<property name="toolTip" >
240
<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>
244
<item row="2" column="0" >
245
<widget class="QLabel" name="label_6" >
246
<property name="text" >
247
<string>Author So&rt:</string>
249
<property name="alignment" >
250
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
252
<property name="buddy" >
253
<cstring>author_sort</cstring>
257
<item row="2" column="1" >
258
<widget class="QLineEdit" name="author_sort" >
259
<property name="sizePolicy" >
260
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
261
<horstretch>0</horstretch>
262
<verstretch>0</verstretch>
265
<property name="toolTip" >
266
<string>Change the author(s) of this book. Multiple authors should be separated by a comma</string>
270
<item row="3" column="0" >
271
<widget class="QLabel" name="label_3" >
272
<property name="text" >
273
<string>&Publisher: </string>
275
<property name="alignment" >
276
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
278
<property name="buddy" >
279
<cstring>publisher</cstring>
283
<item row="3" column="1" >
284
<widget class="QLineEdit" name="publisher" >
285
<property name="toolTip" >
286
<string>Change the publisher of this book</string>
290
<item row="4" column="0" >
291
<widget class="QLabel" name="label_4" >
292
<property name="text" >
293
<string>Ta&gs: </string>
295
<property name="alignment" >
296
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
298
<property name="buddy" >
299
<cstring>tags</cstring>
303
<item row="4" column="1" >
304
<widget class="QLineEdit" name="tags" >
305
<property name="toolTip" >
306
<string>Tags categorize the book. This is particularly useful while searching. <br><br>They can be any words or phrases, separated by commas.</string>
310
<item row="5" column="0" >
311
<widget class="QLabel" name="label_7" >
312
<property name="text" >
313
<string>&Series:</string>
315
<property name="textFormat" >
316
<enum>Qt::PlainText</enum>
318
<property name="alignment" >
319
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
321
<property name="buddy" >
322
<cstring>series</cstring>
326
<item row="5" column="1" >
327
<widget class="QComboBox" name="series" >
328
<property name="sizePolicy" >
329
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
330
<horstretch>10</horstretch>
331
<verstretch>0</verstretch>
334
<property name="toolTip" >
335
<string>List of known series. You can add new series.</string>
337
<property name="whatsThis" >
338
<string>List of known series. You can add new series.</string>
340
<property name="editable" >
343
<property name="insertPolicy" >
344
<enum>QComboBox::InsertAlphabetically</enum>
346
<property name="sizeAdjustPolicy" >
347
<enum>QComboBox::AdjustToContents</enum>
351
<item row="6" column="1" >
352
<widget class="QSpinBox" name="series_index" >
353
<property name="enabled" >
356
<property name="toolTip" >
357
<string>Series index.</string>
359
<property name="whatsThis" >
360
<string>Series index.</string>
362
<property name="prefix" >
363
<string>Book </string>
365
<property name="minimum" >
368
<property name="maximum" >
369
<number>10000</number>
376
<widget class="QGroupBox" name="groupBox_2" >
377
<property name="sizePolicy" >
378
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
379
<horstretch>0</horstretch>
380
<verstretch>0</verstretch>
383
<property name="maximumSize" >
385
<width>16777215</width>
389
<property name="title" >
390
<string>Comments</string>
392
<layout class="QGridLayout" name="_8" >
393
<item row="0" column="0" >
394
<widget class="QTextEdit" name="comment" >
395
<property name="maximumSize" >
397
<width>16777215</width>
412
<widget class="QWidget" name="lookandfeel_page" >
413
<layout class="QVBoxLayout" name="verticalLayout" >
415
<layout class="QGridLayout" name="gridLayout_6" >
416
<item row="0" column="0" >
417
<widget class="QLabel" name="label_26" >
418
<property name="text" >
419
<string>Source en&coding:</string>
421
<property name="buddy" >
422
<cstring>opt_encoding</cstring>
426
<item row="0" column="1" colspan="2" >
427
<widget class="QLineEdit" name="opt_encoding" />
429
<item row="1" column="0" colspan="2" >
430
<widget class="QLabel" name="label_18" >
431
<property name="text" >
432
<string>Base &font size:</string>
434
<property name="buddy" >
435
<cstring>opt_base_font_size2</cstring>
439
<item row="1" column="2" >
440
<widget class="QDoubleSpinBox" name="opt_base_font_size2" >
441
<property name="suffix" >
444
<property name="decimals" >
447
<property name="minimum" >
448
<double>0.000000000000000</double>
450
<property name="maximum" >
451
<double>30.000000000000000</double>
453
<property name="singleStep" >
454
<double>1.000000000000000</double>
456
<property name="value" >
457
<double>30.000000000000000</double>
461
<item row="2" column="0" >
462
<widget class="QCheckBox" name="opt_remove_paragraph_spacing" >
463
<property name="text" >
464
<string>Remove &spacing between paragraphs</string>
468
<item row="3" column="0" >
469
<widget class="QCheckBox" name="opt_preserve_tag_structure" >
470
<property name="text" >
471
<string>Preserve &tag structure when splitting</string>
475
<item row="4" column="0" >
476
<widget class="QCheckBox" name="opt_rescale_images" >
477
<property name="text" >
478
<string>&Rescale images</string>
482
<item row="5" column="0" >
483
<widget class="QCheckBox" name="opt_ignore_tables" >
484
<property name="text" >
485
<string>&Ignore tables</string>
489
<item row="6" column="0" >
490
<widget class="QCheckBox" name="opt_prefer_author_sort" >
491
<property name="text" >
492
<string>&Use author sort to set author field in output</string>
496
<item row="7" column="0" >
497
<widget class="QCheckBox" name="opt_no_justification" >
498
<property name="text" >
499
<string>No text &justification</string>
503
<item row="8" column="0" >
504
<widget class="QCheckBox" name="opt_linearize_tables" >
505
<property name="text" >
506
<string>&Linearize tables</string>
510
<item row="9" column="0" >
511
<widget class="QCheckBox" name="opt_remove_first_image" >
512
<property name="text" >
513
<string>Remove &first image from source file</string>
520
<widget class="QGroupBox" name="groupBox" >
521
<property name="title" >
522
<string>Override &CSS</string>
524
<layout class="QGridLayout" name="gridLayout_3" >
525
<item row="0" column="0" >
526
<widget class="QTextEdit" name="opt_override_css" />
533
<widget class="QWidget" name="pagesetup_page" >
534
<layout class="QGridLayout" name="gridLayout_7" >
535
<item row="0" column="0" >
536
<widget class="QLabel" name="profile_label" >
537
<property name="text" >
538
<string>&Profile:</string>
540
<property name="buddy" >
541
<cstring>opt_profile</cstring>
545
<item row="0" column="1" >
546
<widget class="QComboBox" name="opt_profile" >
547
<property name="currentIndex" >
550
<property name="minimumContentsLength" >
555
<item row="1" column="0" >
556
<widget class="QLabel" name="source_profile_label" >
557
<property name="text" >
558
<string>&Source profile:</string>
560
<property name="buddy" >
561
<cstring>opt_source_profile</cstring>
565
<item row="1" column="1" >
566
<widget class="QComboBox" name="opt_source_profile" />
568
<item row="2" column="0" >
569
<widget class="QLabel" name="dest_profile_label" >
570
<property name="text" >
571
<string>&Destination profile:</string>
573
<property name="buddy" >
574
<cstring>opt_dest_profile</cstring>
578
<item row="2" column="1" >
579
<widget class="QComboBox" name="opt_dest_profile" />
581
<item row="3" column="0" >
582
<widget class="QLabel" name="label_12" >
583
<property name="text" >
584
<string>&Left Margin:</string>
586
<property name="buddy" >
587
<cstring>opt_margin_left</cstring>
591
<item row="3" column="1" >
592
<widget class="QSpinBox" name="opt_margin_left" >
593
<property name="suffix" >
596
<property name="maximum" >
599
<property name="value" >
604
<item row="4" column="0" >
605
<widget class="QLabel" name="label_13" >
606
<property name="text" >
607
<string>&Right Margin:</string>
609
<property name="buddy" >
610
<cstring>opt_margin_right</cstring>
614
<item row="4" column="1" >
615
<widget class="QSpinBox" name="opt_margin_right" >
616
<property name="suffix" >
619
<property name="maximum" >
622
<property name="value" >
627
<item row="5" column="0" >
628
<widget class="QLabel" name="label_14" >
629
<property name="text" >
630
<string>&Top Margin:</string>
632
<property name="buddy" >
633
<cstring>opt_margin_top</cstring>
637
<item row="5" column="1" >
638
<widget class="QSpinBox" name="opt_margin_top" >
639
<property name="suffix" >
642
<property name="maximum" >
645
<property name="value" >
650
<item row="6" column="0" >
651
<widget class="QLabel" name="label_15" >
652
<property name="text" >
653
<string>&Bottom Margin:</string>
655
<property name="buddy" >
656
<cstring>opt_margin_bottom</cstring>
660
<item row="6" column="1" >
661
<widget class="QSpinBox" name="opt_margin_bottom" >
662
<property name="suffix" >
665
<property name="maximum" >
668
<property name="value" >
673
<item row="7" column="0" >
674
<widget class="QCheckBox" name="opt_dont_split_on_page_breaks" >
675
<property name="text" >
676
<string>Do not &split on page breaks</string>
680
<item row="8" column="0" colspan="2" >
681
<widget class="QGroupBox" name="page_map_box" >
682
<property name="title" >
683
<string>&Page map</string>
685
<layout class="QGridLayout" name="gridLayout" >
686
<item rowspan="2" row="0" column="0" colspan="4" >
687
<widget class="QLabel" name="label_23" >
688
<property name="sizePolicy" >
689
<sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
690
<horstretch>0</horstretch>
691
<verstretch>0</verstretch>
694
<property name="text" >
695
<string><p>You can control how calibre detects page boundaries using a XPath expression. To learn how to use XPath expressions see the <a href="http://calibre.kovidgoyal.net/user_manual/xpath.html">XPath tutorial</a>. The page boundaries are useful only if you want a mapping from pages in a paper book, to locations in the e-book. This controls where Adobe Digital Editions displays the page numbers in the right margin.</p></string>
697
<property name="wordWrap" >
700
<property name="openExternalLinks" >
705
<item row="1" column="0" >
706
<widget class="QLabel" name="label_21" >
707
<property name="text" >
708
<string>&Boundary XPath:</string>
710
<property name="buddy" >
711
<cstring>opt_page</cstring>
715
<item row="1" column="1" >
716
<widget class="QLineEdit" name="opt_page" />
718
<item row="1" column="2" >
719
<widget class="QLabel" name="label_22" >
720
<property name="text" >
721
<string>&Name XPath:</string>
723
<property name="buddy" >
724
<cstring>opt_page_names</cstring>
728
<item row="1" column="3" >
729
<widget class="QLineEdit" name="opt_page_names" />
734
<item row="9" column="0" >
735
<spacer name="verticalSpacer" >
736
<property name="orientation" >
737
<enum>Qt::Vertical</enum>
739
<property name="sizeHint" stdset="0" >
749
<widget class="QWidget" name="chapterdetection_page" >
750
<layout class="QVBoxLayout" name="_14" >
752
<widget class="QGroupBox" name="groupBox_6" >
753
<property name="title" >
754
<string>Automatic &chapter detection</string>
756
<layout class="QVBoxLayout" name="verticalLayout_4" >
758
<widget class="QLabel" name="label_8" >
759
<property name="text" >
760
<string><p>You can control how calibre detects chapters using a XPath expression. To learn how to use XPath expressions see the <a href="http://calibre.kovidgoyal.net/user_manual/xpath.html">XPath tutorial</a></p></string>
762
<property name="textFormat" >
763
<enum>Qt::RichText</enum>
765
<property name="wordWrap" >
768
<property name="openExternalLinks" >
774
<layout class="QHBoxLayout" name="horizontalLayout_3" >
776
<widget class="QLabel" name="label_17" >
777
<property name="text" >
778
<string>&XPath:</string>
780
<property name="buddy" >
781
<cstring>opt_chapter</cstring>
786
<widget class="QLineEdit" name="opt_chapter" />
789
<widget class="QLabel" name="label_9" >
790
<property name="text" >
791
<string>Chapter &mark:</string>
793
<property name="buddy" >
794
<cstring>opt_chapter_mark</cstring>
799
<widget class="QComboBox" name="opt_chapter_mark" />
807
<widget class="QGroupBox" name="groupBox_7" >
808
<property name="title" >
809
<string>Automatic &Table of Contents</string>
811
<layout class="QGridLayout" name="gridLayout_5" >
812
<item row="2" column="1" >
813
<widget class="QSpinBox" name="opt_max_toc_links" />
815
<item row="2" column="0" >
816
<widget class="QLabel" name="label_10" >
817
<property name="text" >
818
<string>Number of &links to add to Table of Contents</string>
820
<property name="buddy" >
821
<cstring>opt_max_toc_links</cstring>
825
<item row="1" column="0" >
826
<widget class="QCheckBox" name="opt_no_chapters_in_toc" >
827
<property name="text" >
828
<string>Do not add &detected chapters to the Table of Contents</string>
832
<item row="3" column="1" >
833
<widget class="QSpinBox" name="opt_toc_threshold" />
835
<item row="3" column="0" >
836
<widget class="QLabel" name="label_16" >
837
<property name="text" >
838
<string>Chapter &threshold</string>
840
<property name="buddy" >
841
<cstring>opt_toc_threshold</cstring>
845
<item row="0" column="0" >
846
<widget class="QCheckBox" name="opt_use_auto_toc" >
847
<property name="text" >
848
<string>&Force use of auto-generated Table of Contents</string>
852
<item row="4" column="1" >
853
<widget class="QLineEdit" name="opt_level1_toc" />
855
<item row="4" column="0" >
856
<widget class="QLabel" name="label_19" >
857
<property name="text" >
858
<string>Level &1 TOC</string>
860
<property name="buddy" >
861
<cstring>opt_level1_toc</cstring>
865
<item row="5" column="0" >
866
<widget class="QLabel" name="label_20" >
867
<property name="text" >
868
<string>Level &2 TOC</string>
870
<property name="buddy" >
871
<cstring>opt_level2_toc</cstring>
875
<item row="5" column="1" >
876
<widget class="QLineEdit" name="opt_level2_toc" />
878
<item row="7" column="1" >
879
<widget class="QLineEdit" name="opt_toc_title" />
881
<item row="7" column="0" >
882
<widget class="QLabel" name="toc_title_label" >
883
<property name="text" >
884
<string>&Title for generated TOC</string>
886
<property name="buddy" >
887
<cstring>opt_toc_title</cstring>
891
<item row="6" column="1" >
892
<widget class="QLineEdit" name="opt_level3_toc" />
894
<item row="6" column="0" >
895
<widget class="QLabel" name="label_11" >
896
<property name="text" >
897
<string>Level &3 TOC</string>
899
<property name="buddy" >
900
<cstring>opt_level3_toc</cstring>
915
<item row="1" column="0" colspan="2" >
916
<widget class="QTextBrowser" name="help_view" >
917
<property name="maximumSize" >
919
<width>16777215</width>
923
<property name="acceptRichText" >
928
<item row="3" column="0" colspan="2" >
929
<widget class="QDialogButtonBox" name="buttonBox" >
930
<property name="orientation" >
931
<enum>Qt::Horizontal</enum>
933
<property name="standardButtons" >
934
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
942
<class>ImageView</class>
943
<extends>QLabel</extends>
944
<header>widgets.h</header>
948
<include location="../images.qrc" />
949
<include location="../images.qrc" />
953
<sender>buttonBox</sender>
954
<signal>accepted()</signal>
955
<receiver>Dialog</receiver>
956
<slot>accept()</slot>
958
<hint type="sourcelabel" >
962
<hint type="destinationlabel" >
969
<sender>buttonBox</sender>
970
<signal>rejected()</signal>
971
<receiver>Dialog</receiver>
972
<slot>reject()</slot>
974
<hint type="sourcelabel" >
978
<hint type="destinationlabel" >
985
<sender>category_list</sender>
986
<signal>currentRowChanged(int)</signal>
987
<receiver>stack</receiver>
988
<slot>setCurrentIndex(int)</slot>
990
<hint type="sourcelabel" >
994
<hint type="destinationlabel" >