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

« back to all changes in this revision

Viewing changes to src/calibre/gui2/dialogs/epub.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" >
2
 
 <class>Dialog</class>
3
 
 <widget class="QDialog" name="Dialog" >
4
 
  <property name="geometry" >
5
 
   <rect>
6
 
    <x>0</x>
7
 
    <y>0</y>
8
 
    <width>965</width>
9
 
    <height>698</height>
10
 
   </rect>
11
 
  </property>
12
 
  <property name="windowTitle" >
13
 
   <string>Convert to EPUB</string>
14
 
  </property>
15
 
  <property name="windowIcon" >
16
 
   <iconset resource="../images.qrc" >
17
 
    <normaloff>:/images/convert.svg</normaloff>:/images/convert.svg</iconset>
18
 
  </property>
19
 
  <property name="sizeGripEnabled" >
20
 
   <bool>true</bool>
21
 
  </property>
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>
29
 
      </sizepolicy>
30
 
     </property>
31
 
     <property name="font" >
32
 
      <font>
33
 
       <weight>75</weight>
34
 
       <bold>true</bold>
35
 
      </font>
36
 
     </property>
37
 
     <property name="mouseTracking" >
38
 
      <bool>true</bool>
39
 
     </property>
40
 
     <property name="verticalScrollBarPolicy" >
41
 
      <enum>Qt::ScrollBarAlwaysOff</enum>
42
 
     </property>
43
 
     <property name="tabKeyNavigation" >
44
 
      <bool>true</bool>
45
 
     </property>
46
 
     <property name="iconSize" >
47
 
      <size>
48
 
       <width>48</width>
49
 
       <height>48</height>
50
 
      </size>
51
 
     </property>
52
 
     <property name="spacing" >
53
 
      <number>20</number>
54
 
     </property>
55
 
     <property name="wordWrap" >
56
 
      <bool>true</bool>
57
 
     </property>
58
 
    </widget>
59
 
   </item>
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>
66
 
      </sizepolicy>
67
 
     </property>
68
 
     <property name="frameShape" >
69
 
      <enum>QFrame::NoFrame</enum>
70
 
     </property>
71
 
     <property name="widgetResizable" >
72
 
      <bool>true</bool>
73
 
     </property>
74
 
     <widget class="QWidget" name="scrollAreaWidgetContents" >
75
 
      <property name="geometry" >
76
 
       <rect>
77
 
        <x>0</x>
78
 
        <y>0</y>
79
 
        <width>697</width>
80
 
        <height>554</height>
81
 
       </rect>
82
 
      </property>
83
 
      <property name="minimumSize" >
84
 
       <size>
85
 
        <width>680</width>
86
 
        <height>520</height>
87
 
       </size>
88
 
      </property>
89
 
      <layout class="QVBoxLayout" name="verticalLayout_3" >
90
 
       <property name="margin" >
91
 
        <number>0</number>
92
 
       </property>
93
 
       <item>
94
 
        <widget class="QStackedWidget" name="stack" >
95
 
         <property name="currentIndex" >
96
 
          <number>0</number>
97
 
         </property>
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" >
102
 
             <item>
103
 
              <widget class="QGroupBox" name="groupBox_4" >
104
 
               <property name="title" >
105
 
                <string>Book Cover</string>
106
 
               </property>
107
 
               <layout class="QGridLayout" name="_2" >
108
 
                <item row="1" column="0" >
109
 
                 <layout class="QVBoxLayout" name="_4" >
110
 
                  <property name="spacing" >
111
 
                   <number>6</number>
112
 
                  </property>
113
 
                  <property name="margin" >
114
 
                   <number>0</number>
115
 
                  </property>
116
 
                  <item>
117
 
                   <widget class="QLabel" name="label_5" >
118
 
                    <property name="text" >
119
 
                     <string>Change &amp;cover image:</string>
120
 
                    </property>
121
 
                    <property name="buddy" >
122
 
                     <cstring>cover_path</cstring>
123
 
                    </property>
124
 
                   </widget>
125
 
                  </item>
126
 
                  <item>
127
 
                   <layout class="QHBoxLayout" name="_5" >
128
 
                    <property name="spacing" >
129
 
                     <number>6</number>
130
 
                    </property>
131
 
                    <property name="margin" >
132
 
                     <number>0</number>
133
 
                    </property>
134
 
                    <item>
135
 
                     <widget class="QLineEdit" name="cover_path" >
136
 
                      <property name="readOnly" >
137
 
                       <bool>true</bool>
138
 
                      </property>
139
 
                     </widget>
140
 
                    </item>
141
 
                    <item>
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>
145
 
                      </property>
146
 
                      <property name="text" >
147
 
                       <string>...</string>
148
 
                      </property>
149
 
                      <property name="icon" >
150
 
                       <iconset resource="../images.qrc" >
151
 
                        <normaloff>:/images/document_open.svg</normaloff>:/images/document_open.svg</iconset>
152
 
                      </property>
153
 
                     </widget>
154
 
                    </item>
155
 
                   </layout>
156
 
                  </item>
157
 
                 </layout>
158
 
                </item>
159
 
                <item row="2" column="0" >
160
 
                 <widget class="QCheckBox" name="opt_prefer_metadata_cover" >
161
 
                  <property name="text" >
162
 
                   <string>Use cover from &amp;source file</string>
163
 
                  </property>
164
 
                  <property name="checked" >
165
 
                   <bool>true</bool>
166
 
                  </property>
167
 
                 </widget>
168
 
                </item>
169
 
                <item row="0" column="0" >
170
 
                 <layout class="QHBoxLayout" name="_3" >
171
 
                  <item>
172
 
                   <widget class="ImageView" name="cover" >
173
 
                    <property name="text" >
174
 
                     <string/>
175
 
                    </property>
176
 
                    <property name="pixmap" >
177
 
                     <pixmap resource="../images.qrc" >:/images/book.svg</pixmap>
178
 
                    </property>
179
 
                    <property name="scaledContents" >
180
 
                     <bool>true</bool>
181
 
                    </property>
182
 
                    <property name="alignment" >
183
 
                     <set>Qt::AlignCenter</set>
184
 
                    </property>
185
 
                   </widget>
186
 
                  </item>
187
 
                 </layout>
188
 
                </item>
189
 
               </layout>
190
 
               <zorder>opt_prefer_metadata_cover</zorder>
191
 
               <zorder></zorder>
192
 
              </widget>
193
 
             </item>
194
 
             <item>
195
 
              <layout class="QVBoxLayout" name="verticalLayout_2" >
196
 
               <item>
197
 
                <layout class="QGridLayout" name="_7" >
198
 
                 <item row="0" column="0" >
199
 
                  <widget class="QLabel" name="label" >
200
 
                   <property name="text" >
201
 
                    <string>&amp;Title: </string>
202
 
                   </property>
203
 
                   <property name="alignment" >
204
 
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
205
 
                   </property>
206
 
                   <property name="buddy" >
207
 
                    <cstring>title</cstring>
208
 
                   </property>
209
 
                  </widget>
210
 
                 </item>
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>
215
 
                   </property>
216
 
                  </widget>
217
 
                 </item>
218
 
                 <item row="1" column="0" >
219
 
                  <widget class="QLabel" name="label_2" >
220
 
                   <property name="text" >
221
 
                    <string>&amp;Author(s): </string>
222
 
                   </property>
223
 
                   <property name="alignment" >
224
 
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
225
 
                   </property>
226
 
                   <property name="buddy" >
227
 
                    <cstring>author</cstring>
228
 
                   </property>
229
 
                  </widget>
230
 
                 </item>
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>
237
 
                    </sizepolicy>
238
 
                   </property>
239
 
                   <property name="toolTip" >
240
 
                    <string>Change the author(s) of this book. Multiple authors should be separated by an &amp;. If the author name contains an &amp;, use &amp;&amp; to represent it.</string>
241
 
                   </property>
242
 
                  </widget>
243
 
                 </item>
244
 
                 <item row="2" column="0" >
245
 
                  <widget class="QLabel" name="label_6" >
246
 
                   <property name="text" >
247
 
                    <string>Author So&amp;rt:</string>
248
 
                   </property>
249
 
                   <property name="alignment" >
250
 
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
251
 
                   </property>
252
 
                   <property name="buddy" >
253
 
                    <cstring>author_sort</cstring>
254
 
                   </property>
255
 
                  </widget>
256
 
                 </item>
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>
263
 
                    </sizepolicy>
264
 
                   </property>
265
 
                   <property name="toolTip" >
266
 
                    <string>Change the author(s) of this book. Multiple authors should be separated by a comma</string>
267
 
                   </property>
268
 
                  </widget>
269
 
                 </item>
270
 
                 <item row="3" column="0" >
271
 
                  <widget class="QLabel" name="label_3" >
272
 
                   <property name="text" >
273
 
                    <string>&amp;Publisher: </string>
274
 
                   </property>
275
 
                   <property name="alignment" >
276
 
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
277
 
                   </property>
278
 
                   <property name="buddy" >
279
 
                    <cstring>publisher</cstring>
280
 
                   </property>
281
 
                  </widget>
282
 
                 </item>
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>
287
 
                   </property>
288
 
                  </widget>
289
 
                 </item>
290
 
                 <item row="4" column="0" >
291
 
                  <widget class="QLabel" name="label_4" >
292
 
                   <property name="text" >
293
 
                    <string>Ta&amp;gs: </string>
294
 
                   </property>
295
 
                   <property name="alignment" >
296
 
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
297
 
                   </property>
298
 
                   <property name="buddy" >
299
 
                    <cstring>tags</cstring>
300
 
                   </property>
301
 
                  </widget>
302
 
                 </item>
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. &lt;br>&lt;br>They can be any words or phrases, separated by commas.</string>
307
 
                   </property>
308
 
                  </widget>
309
 
                 </item>
310
 
                 <item row="5" column="0" >
311
 
                  <widget class="QLabel" name="label_7" >
312
 
                   <property name="text" >
313
 
                    <string>&amp;Series:</string>
314
 
                   </property>
315
 
                   <property name="textFormat" >
316
 
                    <enum>Qt::PlainText</enum>
317
 
                   </property>
318
 
                   <property name="alignment" >
319
 
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
320
 
                   </property>
321
 
                   <property name="buddy" >
322
 
                    <cstring>series</cstring>
323
 
                   </property>
324
 
                  </widget>
325
 
                 </item>
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>
332
 
                    </sizepolicy>
333
 
                   </property>
334
 
                   <property name="toolTip" >
335
 
                    <string>List of known series. You can add new series.</string>
336
 
                   </property>
337
 
                   <property name="whatsThis" >
338
 
                    <string>List of known series. You can add new series.</string>
339
 
                   </property>
340
 
                   <property name="editable" >
341
 
                    <bool>true</bool>
342
 
                   </property>
343
 
                   <property name="insertPolicy" >
344
 
                    <enum>QComboBox::InsertAlphabetically</enum>
345
 
                   </property>
346
 
                   <property name="sizeAdjustPolicy" >
347
 
                    <enum>QComboBox::AdjustToContents</enum>
348
 
                   </property>
349
 
                  </widget>
350
 
                 </item>
351
 
                 <item row="6" column="1" >
352
 
                  <widget class="QSpinBox" name="series_index" >
353
 
                   <property name="enabled" >
354
 
                    <bool>true</bool>
355
 
                   </property>
356
 
                   <property name="toolTip" >
357
 
                    <string>Series index.</string>
358
 
                   </property>
359
 
                   <property name="whatsThis" >
360
 
                    <string>Series index.</string>
361
 
                   </property>
362
 
                   <property name="prefix" >
363
 
                    <string>Book </string>
364
 
                   </property>
365
 
                   <property name="minimum" >
366
 
                    <number>1</number>
367
 
                   </property>
368
 
                   <property name="maximum" >
369
 
                    <number>10000</number>
370
 
                   </property>
371
 
                  </widget>
372
 
                 </item>
373
 
                </layout>
374
 
               </item>
375
 
               <item>
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>
381
 
                  </sizepolicy>
382
 
                 </property>
383
 
                 <property name="maximumSize" >
384
 
                  <size>
385
 
                   <width>16777215</width>
386
 
                   <height>200</height>
387
 
                  </size>
388
 
                 </property>
389
 
                 <property name="title" >
390
 
                  <string>Comments</string>
391
 
                 </property>
392
 
                 <layout class="QGridLayout" name="_8" >
393
 
                  <item row="0" column="0" >
394
 
                   <widget class="QTextEdit" name="comment" >
395
 
                    <property name="maximumSize" >
396
 
                     <size>
397
 
                      <width>16777215</width>
398
 
                      <height>180</height>
399
 
                     </size>
400
 
                    </property>
401
 
                   </widget>
402
 
                  </item>
403
 
                 </layout>
404
 
                </widget>
405
 
               </item>
406
 
              </layout>
407
 
             </item>
408
 
            </layout>
409
 
           </item>
410
 
          </layout>
411
 
         </widget>
412
 
         <widget class="QWidget" name="lookandfeel_page" >
413
 
          <layout class="QVBoxLayout" name="verticalLayout" >
414
 
           <item>
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&amp;coding:</string>
420
 
               </property>
421
 
               <property name="buddy" >
422
 
                <cstring>opt_encoding</cstring>
423
 
               </property>
424
 
              </widget>
425
 
             </item>
426
 
             <item row="0" column="1" colspan="2" >
427
 
              <widget class="QLineEdit" name="opt_encoding" />
428
 
             </item>
429
 
             <item row="1" column="0" colspan="2" >
430
 
              <widget class="QLabel" name="label_18" >
431
 
               <property name="text" >
432
 
                <string>Base &amp;font size:</string>
433
 
               </property>
434
 
               <property name="buddy" >
435
 
                <cstring>opt_base_font_size2</cstring>
436
 
               </property>
437
 
              </widget>
438
 
             </item>
439
 
             <item row="1" column="2" >
440
 
              <widget class="QDoubleSpinBox" name="opt_base_font_size2" >
441
 
               <property name="suffix" >
442
 
                <string> pt</string>
443
 
               </property>
444
 
               <property name="decimals" >
445
 
                <number>0</number>
446
 
               </property>
447
 
               <property name="minimum" >
448
 
                <double>0.000000000000000</double>
449
 
               </property>
450
 
               <property name="maximum" >
451
 
                <double>30.000000000000000</double>
452
 
               </property>
453
 
               <property name="singleStep" >
454
 
                <double>1.000000000000000</double>
455
 
               </property>
456
 
               <property name="value" >
457
 
                <double>30.000000000000000</double>
458
 
               </property>
459
 
              </widget>
460
 
             </item>
461
 
             <item row="2" column="0" >
462
 
              <widget class="QCheckBox" name="opt_remove_paragraph_spacing" >
463
 
               <property name="text" >
464
 
                <string>Remove &amp;spacing between paragraphs</string>
465
 
               </property>
466
 
              </widget>
467
 
             </item>
468
 
             <item row="3" column="0" >
469
 
              <widget class="QCheckBox" name="opt_preserve_tag_structure" >
470
 
               <property name="text" >
471
 
                <string>Preserve &amp;tag structure when splitting</string>
472
 
               </property>
473
 
              </widget>
474
 
             </item>
475
 
             <item row="4" column="0" >
476
 
              <widget class="QCheckBox" name="opt_rescale_images" >
477
 
               <property name="text" >
478
 
                <string>&amp;Rescale images</string>
479
 
               </property>
480
 
              </widget>
481
 
             </item>
482
 
             <item row="5" column="0" >
483
 
              <widget class="QCheckBox" name="opt_ignore_tables" >
484
 
               <property name="text" >
485
 
                <string>&amp;Ignore tables</string>
486
 
               </property>
487
 
              </widget>
488
 
             </item>
489
 
             <item row="6" column="0" >
490
 
              <widget class="QCheckBox" name="opt_prefer_author_sort" >
491
 
               <property name="text" >
492
 
                <string>&amp;Use author sort to set author field in output</string>
493
 
               </property>
494
 
              </widget>
495
 
             </item>
496
 
             <item row="7" column="0" >
497
 
              <widget class="QCheckBox" name="opt_no_justification" >
498
 
               <property name="text" >
499
 
                <string>No text &amp;justification</string>
500
 
               </property>
501
 
              </widget>
502
 
             </item>
503
 
             <item row="8" column="0" >
504
 
              <widget class="QCheckBox" name="opt_linearize_tables" >
505
 
               <property name="text" >
506
 
                <string>&amp;Linearize tables</string>
507
 
               </property>
508
 
              </widget>
509
 
             </item>
510
 
             <item row="9" column="0" >
511
 
              <widget class="QCheckBox" name="opt_remove_first_image" >
512
 
               <property name="text" >
513
 
                <string>Remove &amp;first image from source file</string>
514
 
               </property>
515
 
              </widget>
516
 
             </item>
517
 
            </layout>
518
 
           </item>
519
 
           <item>
520
 
            <widget class="QGroupBox" name="groupBox" >
521
 
             <property name="title" >
522
 
              <string>Override &amp;CSS</string>
523
 
             </property>
524
 
             <layout class="QGridLayout" name="gridLayout_3" >
525
 
              <item row="0" column="0" >
526
 
               <widget class="QTextEdit" name="opt_override_css" />
527
 
              </item>
528
 
             </layout>
529
 
            </widget>
530
 
           </item>
531
 
          </layout>
532
 
         </widget>
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>&amp;Profile:</string>
539
 
             </property>
540
 
             <property name="buddy" >
541
 
              <cstring>opt_profile</cstring>
542
 
             </property>
543
 
            </widget>
544
 
           </item>
545
 
           <item row="0" column="1" >
546
 
            <widget class="QComboBox" name="opt_profile" >
547
 
             <property name="currentIndex" >
548
 
              <number>-1</number>
549
 
             </property>
550
 
             <property name="minimumContentsLength" >
551
 
              <number>1</number>
552
 
             </property>
553
 
            </widget>
554
 
           </item>
555
 
           <item row="1" column="0" >
556
 
            <widget class="QLabel" name="source_profile_label" >
557
 
             <property name="text" >
558
 
              <string>&amp;Source profile:</string>
559
 
             </property>
560
 
             <property name="buddy" >
561
 
              <cstring>opt_source_profile</cstring>
562
 
             </property>
563
 
            </widget>
564
 
           </item>
565
 
           <item row="1" column="1" >
566
 
            <widget class="QComboBox" name="opt_source_profile" />
567
 
           </item>
568
 
           <item row="2" column="0" >
569
 
            <widget class="QLabel" name="dest_profile_label" >
570
 
             <property name="text" >
571
 
              <string>&amp;Destination profile:</string>
572
 
             </property>
573
 
             <property name="buddy" >
574
 
              <cstring>opt_dest_profile</cstring>
575
 
             </property>
576
 
            </widget>
577
 
           </item>
578
 
           <item row="2" column="1" >
579
 
            <widget class="QComboBox" name="opt_dest_profile" />
580
 
           </item>
581
 
           <item row="3" column="0" >
582
 
            <widget class="QLabel" name="label_12" >
583
 
             <property name="text" >
584
 
              <string>&amp;Left Margin:</string>
585
 
             </property>
586
 
             <property name="buddy" >
587
 
              <cstring>opt_margin_left</cstring>
588
 
             </property>
589
 
            </widget>
590
 
           </item>
591
 
           <item row="3" column="1" >
592
 
            <widget class="QSpinBox" name="opt_margin_left" >
593
 
             <property name="suffix" >
594
 
              <string> pt</string>
595
 
             </property>
596
 
             <property name="maximum" >
597
 
              <number>200</number>
598
 
             </property>
599
 
             <property name="value" >
600
 
              <number>20</number>
601
 
             </property>
602
 
            </widget>
603
 
           </item>
604
 
           <item row="4" column="0" >
605
 
            <widget class="QLabel" name="label_13" >
606
 
             <property name="text" >
607
 
              <string>&amp;Right Margin:</string>
608
 
             </property>
609
 
             <property name="buddy" >
610
 
              <cstring>opt_margin_right</cstring>
611
 
             </property>
612
 
            </widget>
613
 
           </item>
614
 
           <item row="4" column="1" >
615
 
            <widget class="QSpinBox" name="opt_margin_right" >
616
 
             <property name="suffix" >
617
 
              <string> pt</string>
618
 
             </property>
619
 
             <property name="maximum" >
620
 
              <number>200</number>
621
 
             </property>
622
 
             <property name="value" >
623
 
              <number>20</number>
624
 
             </property>
625
 
            </widget>
626
 
           </item>
627
 
           <item row="5" column="0" >
628
 
            <widget class="QLabel" name="label_14" >
629
 
             <property name="text" >
630
 
              <string>&amp;Top Margin:</string>
631
 
             </property>
632
 
             <property name="buddy" >
633
 
              <cstring>opt_margin_top</cstring>
634
 
             </property>
635
 
            </widget>
636
 
           </item>
637
 
           <item row="5" column="1" >
638
 
            <widget class="QSpinBox" name="opt_margin_top" >
639
 
             <property name="suffix" >
640
 
              <string> pt</string>
641
 
             </property>
642
 
             <property name="maximum" >
643
 
              <number>200</number>
644
 
             </property>
645
 
             <property name="value" >
646
 
              <number>10</number>
647
 
             </property>
648
 
            </widget>
649
 
           </item>
650
 
           <item row="6" column="0" >
651
 
            <widget class="QLabel" name="label_15" >
652
 
             <property name="text" >
653
 
              <string>&amp;Bottom Margin:</string>
654
 
             </property>
655
 
             <property name="buddy" >
656
 
              <cstring>opt_margin_bottom</cstring>
657
 
             </property>
658
 
            </widget>
659
 
           </item>
660
 
           <item row="6" column="1" >
661
 
            <widget class="QSpinBox" name="opt_margin_bottom" >
662
 
             <property name="suffix" >
663
 
              <string> pt</string>
664
 
             </property>
665
 
             <property name="maximum" >
666
 
              <number>200</number>
667
 
             </property>
668
 
             <property name="value" >
669
 
              <number>0</number>
670
 
             </property>
671
 
            </widget>
672
 
           </item>
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 &amp;split on page breaks</string>
677
 
             </property>
678
 
            </widget>
679
 
           </item>
680
 
           <item row="8" column="0" colspan="2" >
681
 
            <widget class="QGroupBox" name="page_map_box" >
682
 
             <property name="title" >
683
 
              <string>&amp;Page map</string>
684
 
             </property>
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>
692
 
                 </sizepolicy>
693
 
                </property>
694
 
                <property name="text" >
695
 
                 <string>&lt;p>You can control how calibre detects page boundaries using a XPath expression. To learn how to use XPath expressions see the &lt;a href="http://calibre.kovidgoyal.net/user_manual/xpath.html">XPath tutorial&lt;/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.&lt;/p></string>
696
 
                </property>
697
 
                <property name="wordWrap" >
698
 
                 <bool>true</bool>
699
 
                </property>
700
 
                <property name="openExternalLinks" >
701
 
                 <bool>true</bool>
702
 
                </property>
703
 
               </widget>
704
 
              </item>
705
 
              <item row="1" column="0" >
706
 
               <widget class="QLabel" name="label_21" >
707
 
                <property name="text" >
708
 
                 <string>&amp;Boundary XPath:</string>
709
 
                </property>
710
 
                <property name="buddy" >
711
 
                 <cstring>opt_page</cstring>
712
 
                </property>
713
 
               </widget>
714
 
              </item>
715
 
              <item row="1" column="1" >
716
 
               <widget class="QLineEdit" name="opt_page" />
717
 
              </item>
718
 
              <item row="1" column="2" >
719
 
               <widget class="QLabel" name="label_22" >
720
 
                <property name="text" >
721
 
                 <string>&amp;Name XPath:</string>
722
 
                </property>
723
 
                <property name="buddy" >
724
 
                 <cstring>opt_page_names</cstring>
725
 
                </property>
726
 
               </widget>
727
 
              </item>
728
 
              <item row="1" column="3" >
729
 
               <widget class="QLineEdit" name="opt_page_names" />
730
 
              </item>
731
 
             </layout>
732
 
            </widget>
733
 
           </item>
734
 
           <item row="9" column="0" >
735
 
            <spacer name="verticalSpacer" >
736
 
             <property name="orientation" >
737
 
              <enum>Qt::Vertical</enum>
738
 
             </property>
739
 
             <property name="sizeHint" stdset="0" >
740
 
              <size>
741
 
               <width>20</width>
742
 
               <height>40</height>
743
 
              </size>
744
 
             </property>
745
 
            </spacer>
746
 
           </item>
747
 
          </layout>
748
 
         </widget>
749
 
         <widget class="QWidget" name="chapterdetection_page" >
750
 
          <layout class="QVBoxLayout" name="_14" >
751
 
           <item>
752
 
            <widget class="QGroupBox" name="groupBox_6" >
753
 
             <property name="title" >
754
 
              <string>Automatic &amp;chapter detection</string>
755
 
             </property>
756
 
             <layout class="QVBoxLayout" name="verticalLayout_4" >
757
 
              <item>
758
 
               <widget class="QLabel" name="label_8" >
759
 
                <property name="text" >
760
 
                 <string>&lt;p>You can control how calibre detects chapters using a XPath expression. To learn how to use XPath expressions see the &lt;a href="http://calibre.kovidgoyal.net/user_manual/xpath.html">XPath tutorial&lt;/a>&lt;/p></string>
761
 
                </property>
762
 
                <property name="textFormat" >
763
 
                 <enum>Qt::RichText</enum>
764
 
                </property>
765
 
                <property name="wordWrap" >
766
 
                 <bool>true</bool>
767
 
                </property>
768
 
                <property name="openExternalLinks" >
769
 
                 <bool>true</bool>
770
 
                </property>
771
 
               </widget>
772
 
              </item>
773
 
              <item>
774
 
               <layout class="QHBoxLayout" name="horizontalLayout_3" >
775
 
                <item>
776
 
                 <widget class="QLabel" name="label_17" >
777
 
                  <property name="text" >
778
 
                   <string>&amp;XPath:</string>
779
 
                  </property>
780
 
                  <property name="buddy" >
781
 
                   <cstring>opt_chapter</cstring>
782
 
                  </property>
783
 
                 </widget>
784
 
                </item>
785
 
                <item>
786
 
                 <widget class="QLineEdit" name="opt_chapter" />
787
 
                </item>
788
 
                <item>
789
 
                 <widget class="QLabel" name="label_9" >
790
 
                  <property name="text" >
791
 
                   <string>Chapter &amp;mark:</string>
792
 
                  </property>
793
 
                  <property name="buddy" >
794
 
                   <cstring>opt_chapter_mark</cstring>
795
 
                  </property>
796
 
                 </widget>
797
 
                </item>
798
 
                <item>
799
 
                 <widget class="QComboBox" name="opt_chapter_mark" />
800
 
                </item>
801
 
               </layout>
802
 
              </item>
803
 
             </layout>
804
 
            </widget>
805
 
           </item>
806
 
           <item>
807
 
            <widget class="QGroupBox" name="groupBox_7" >
808
 
             <property name="title" >
809
 
              <string>Automatic &amp;Table of Contents</string>
810
 
             </property>
811
 
             <layout class="QGridLayout" name="gridLayout_5" >
812
 
              <item row="2" column="1" >
813
 
               <widget class="QSpinBox" name="opt_max_toc_links" />
814
 
              </item>
815
 
              <item row="2" column="0" >
816
 
               <widget class="QLabel" name="label_10" >
817
 
                <property name="text" >
818
 
                 <string>Number of &amp;links to add to Table of Contents</string>
819
 
                </property>
820
 
                <property name="buddy" >
821
 
                 <cstring>opt_max_toc_links</cstring>
822
 
                </property>
823
 
               </widget>
824
 
              </item>
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 &amp;detected chapters to the Table of Contents</string>
829
 
                </property>
830
 
               </widget>
831
 
              </item>
832
 
              <item row="3" column="1" >
833
 
               <widget class="QSpinBox" name="opt_toc_threshold" />
834
 
              </item>
835
 
              <item row="3" column="0" >
836
 
               <widget class="QLabel" name="label_16" >
837
 
                <property name="text" >
838
 
                 <string>Chapter &amp;threshold</string>
839
 
                </property>
840
 
                <property name="buddy" >
841
 
                 <cstring>opt_toc_threshold</cstring>
842
 
                </property>
843
 
               </widget>
844
 
              </item>
845
 
              <item row="0" column="0" >
846
 
               <widget class="QCheckBox" name="opt_use_auto_toc" >
847
 
                <property name="text" >
848
 
                 <string>&amp;Force use of auto-generated Table of Contents</string>
849
 
                </property>
850
 
               </widget>
851
 
              </item>
852
 
              <item row="4" column="1" >
853
 
               <widget class="QLineEdit" name="opt_level1_toc" />
854
 
              </item>
855
 
              <item row="4" column="0" >
856
 
               <widget class="QLabel" name="label_19" >
857
 
                <property name="text" >
858
 
                 <string>Level &amp;1 TOC</string>
859
 
                </property>
860
 
                <property name="buddy" >
861
 
                 <cstring>opt_level1_toc</cstring>
862
 
                </property>
863
 
               </widget>
864
 
              </item>
865
 
              <item row="5" column="0" >
866
 
               <widget class="QLabel" name="label_20" >
867
 
                <property name="text" >
868
 
                 <string>Level &amp;2 TOC</string>
869
 
                </property>
870
 
                <property name="buddy" >
871
 
                 <cstring>opt_level2_toc</cstring>
872
 
                </property>
873
 
               </widget>
874
 
              </item>
875
 
              <item row="5" column="1" >
876
 
               <widget class="QLineEdit" name="opt_level2_toc" />
877
 
              </item>
878
 
              <item row="7" column="1" >
879
 
               <widget class="QLineEdit" name="opt_toc_title" />
880
 
              </item>
881
 
              <item row="7" column="0" >
882
 
               <widget class="QLabel" name="toc_title_label" >
883
 
                <property name="text" >
884
 
                 <string>&amp;Title for generated TOC</string>
885
 
                </property>
886
 
                <property name="buddy" >
887
 
                 <cstring>opt_toc_title</cstring>
888
 
                </property>
889
 
               </widget>
890
 
              </item>
891
 
              <item row="6" column="1" >
892
 
               <widget class="QLineEdit" name="opt_level3_toc" />
893
 
              </item>
894
 
              <item row="6" column="0" >
895
 
               <widget class="QLabel" name="label_11" >
896
 
                <property name="text" >
897
 
                 <string>Level &amp;3 TOC</string>
898
 
                </property>
899
 
                <property name="buddy" >
900
 
                 <cstring>opt_level3_toc</cstring>
901
 
                </property>
902
 
               </widget>
903
 
              </item>
904
 
             </layout>
905
 
            </widget>
906
 
           </item>
907
 
          </layout>
908
 
         </widget>
909
 
        </widget>
910
 
       </item>
911
 
      </layout>
912
 
     </widget>
913
 
    </widget>
914
 
   </item>
915
 
   <item row="1" column="0" colspan="2" >
916
 
    <widget class="QTextBrowser" name="help_view" >
917
 
     <property name="maximumSize" >
918
 
      <size>
919
 
       <width>16777215</width>
920
 
       <height>100</height>
921
 
      </size>
922
 
     </property>
923
 
     <property name="acceptRichText" >
924
 
      <bool>false</bool>
925
 
     </property>
926
 
    </widget>
927
 
   </item>
928
 
   <item row="3" column="0" colspan="2" >
929
 
    <widget class="QDialogButtonBox" name="buttonBox" >
930
 
     <property name="orientation" >
931
 
      <enum>Qt::Horizontal</enum>
932
 
     </property>
933
 
     <property name="standardButtons" >
934
 
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
935
 
     </property>
936
 
    </widget>
937
 
   </item>
938
 
  </layout>
939
 
 </widget>
940
 
 <customwidgets>
941
 
  <customwidget>
942
 
   <class>ImageView</class>
943
 
   <extends>QLabel</extends>
944
 
   <header>widgets.h</header>
945
 
  </customwidget>
946
 
 </customwidgets>
947
 
 <resources>
948
 
  <include location="../images.qrc" />
949
 
  <include location="../images.qrc" />
950
 
 </resources>
951
 
 <connections>
952
 
  <connection>
953
 
   <sender>buttonBox</sender>
954
 
   <signal>accepted()</signal>
955
 
   <receiver>Dialog</receiver>
956
 
   <slot>accept()</slot>
957
 
   <hints>
958
 
    <hint type="sourcelabel" >
959
 
     <x>226</x>
960
 
     <y>684</y>
961
 
    </hint>
962
 
    <hint type="destinationlabel" >
963
 
     <x>157</x>
964
 
     <y>274</y>
965
 
    </hint>
966
 
   </hints>
967
 
  </connection>
968
 
  <connection>
969
 
   <sender>buttonBox</sender>
970
 
   <signal>rejected()</signal>
971
 
   <receiver>Dialog</receiver>
972
 
   <slot>reject()</slot>
973
 
   <hints>
974
 
    <hint type="sourcelabel" >
975
 
     <x>290</x>
976
 
     <y>658</y>
977
 
    </hint>
978
 
    <hint type="destinationlabel" >
979
 
     <x>286</x>
980
 
     <y>274</y>
981
 
    </hint>
982
 
   </hints>
983
 
  </connection>
984
 
  <connection>
985
 
   <sender>category_list</sender>
986
 
   <signal>currentRowChanged(int)</signal>
987
 
   <receiver>stack</receiver>
988
 
   <slot>setCurrentIndex(int)</slot>
989
 
   <hints>
990
 
    <hint type="sourcelabel" >
991
 
     <x>81</x>
992
 
     <y>118</y>
993
 
    </hint>
994
 
    <hint type="destinationlabel" >
995
 
     <x>866</x>
996
 
     <y>11</y>
997
 
    </hint>
998
 
   </hints>
999
 
  </connection>
1000
 
 </connections>
1001
 
</ui>