mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-03 08:22:58 +02:00
IGN:...
This commit is contained in:
parent
b090666b36
commit
3c1ec39656
3 changed files with 20 additions and 7 deletions
|
|
@ -21,7 +21,7 @@ def __init__(self, parent, get_option, get_help, db=None, book_id=None):
|
|||
['dont_justify', 'extra_css', 'base_font_size',
|
||||
'font_size_mapping', 'insert_metadata', 'line_height',
|
||||
'linearize_tables', 'remove_first_image',
|
||||
'remove_paragraph_spacing']
|
||||
'remove_paragraph_spacing', 'input_encoding']
|
||||
)
|
||||
self.db, self.book_id = db, book_id
|
||||
self.initialize_options(get_option, get_help, db, book_id)
|
||||
|
|
|
|||
|
|
@ -68,28 +68,28 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0" colspan="2">
|
||||
<item row="4" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="opt_remove_paragraph_spacing">
|
||||
<property name="text">
|
||||
<string>Remove &spacing between paragraphs</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0" colspan="2">
|
||||
<item row="5" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="opt_dont_justify">
|
||||
<property name="text">
|
||||
<string>No text &justification</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0" colspan="2">
|
||||
<item row="6" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="opt_linearize_tables">
|
||||
<property name="text">
|
||||
<string>&Linearize tables</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0" colspan="2">
|
||||
<item row="7" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="opt_remove_first_image">
|
||||
<property name="text">
|
||||
<string>Remove &first image from source file</string>
|
||||
|
|
@ -109,13 +109,26 @@
|
|||
<item row="1" column="1" colspan="2">
|
||||
<widget class="QLineEdit" name="opt_font_size_mapping"/>
|
||||
</item>
|
||||
<item row="7" column="0" colspan="2">
|
||||
<item row="8" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="opt_insert_metadata">
|
||||
<property name="text">
|
||||
<string>Insert &metadata at start of book</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0" colspan="2">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>Input character &encoding</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>opt_input_encoding</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QLineEdit" name="opt_input_encoding"/>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ def __init__(self, parent, db, book_id,
|
|||
self.show_pane)
|
||||
self.connect(self.groups, SIGNAL('clicked(QModelIndex)'),
|
||||
self.show_pane)
|
||||
self.connect(self.groups, SIGNAL('itemEntered(QModelIndex)'),
|
||||
self.connect(self.groups, SIGNAL('entered(QModelIndex)'),
|
||||
self.show_group_help)
|
||||
self.groups.setMouseTracking(True)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue