mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Remove ununsed DJVU input GUI widget
This commit is contained in:
parent
a479db415c
commit
0415fb19dd
@ -1,24 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
from __future__ import (unicode_literals, division, absolute_import,
|
|
||||||
print_function)
|
|
||||||
|
|
||||||
__license__ = 'GPL v3'
|
|
||||||
__copyright__ = '2011, Anthon van der Neut <A.van.der.Neut@ruamel.eu>'
|
|
||||||
|
|
||||||
|
|
||||||
from calibre.gui2.convert.djvu_input_ui import Ui_Form
|
|
||||||
from calibre.gui2.convert import Widget
|
|
||||||
|
|
||||||
class PluginWidget(Widget, Ui_Form):
|
|
||||||
|
|
||||||
TITLE = _('DJVU Input')
|
|
||||||
HELP = _('Options specific to')+' DJVU '+_('input')
|
|
||||||
COMMIT_NAME = 'djvu_input'
|
|
||||||
ICON = I('mimetypes/djvu.png')
|
|
||||||
|
|
||||||
def __init__(self, parent, get_option, get_help, db=None, book_id=None):
|
|
||||||
Widget.__init__(self, parent,
|
|
||||||
['use_djvutxt', ])
|
|
||||||
self.db, self.book_id = db, book_id
|
|
||||||
self.initialize_options(get_option, get_help, db, book_id)
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<ui version="4.0">
|
|
||||||
<class>Form</class>
|
|
||||||
<widget class="QWidget" name="Form">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>0</x>
|
|
||||||
<y>0</y>
|
|
||||||
<width>400</width>
|
|
||||||
<height>300</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="windowTitle">
|
|
||||||
<string>Form</string>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
|
||||||
<item>
|
|
||||||
<widget class="QCheckBox" name="opt_use_djvutxt">
|
|
||||||
<property name="text">
|
|
||||||
<string>Use &djvutxt, if available, for faster processing</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<resources/>
|
|
||||||
<connections/>
|
|
||||||
</ui>
|
|
Loading…
x
Reference in New Issue
Block a user