mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
more cleanups
This commit is contained in:
parent
8f97e09d0b
commit
44f6c0a1f5
@ -2,7 +2,7 @@ from __future__ import with_statement
|
||||
__license__ = 'GPL v3'
|
||||
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
|
||||
|
||||
import atexit, os, shutil, sys, tempfile, zipfile
|
||||
import os, sys, zipfile
|
||||
|
||||
from calibre.constants import numeric_version
|
||||
from calibre.ptempfile import PersistentTemporaryFile
|
||||
|
@ -9,7 +9,7 @@ __docformat__ = 'restructuredtext en'
|
||||
|
||||
from calibre.gui2 import gprefs
|
||||
from calibre.gui2.catalog.catalog_csv_xml_ui import Ui_Form
|
||||
from PyQt4.Qt import QDialog, QWidget, SIGNAL
|
||||
from PyQt4.Qt import QWidget
|
||||
|
||||
class PluginWidget(QWidget,Ui_Form):
|
||||
|
||||
|
@ -1,26 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
|
||||
from __future__ import with_statement
|
||||
|
||||
__license__ = 'GPL v3'
|
||||
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
|
||||
__docformat__ = 'restructuredtext en'
|
||||
|
||||
|
||||
from <basename> import Ui_Form
|
||||
from PyQt4.Qt import QDialog, QWidget
|
||||
|
||||
class PluginWidget(QWidget,Ui_Form):
|
||||
|
||||
TITLE = _('<formats> Output')
|
||||
HELP = _('Options specific to')+' <formats> '+_('output')
|
||||
# Indicates whether this plugin wants its output synced to the connected device
|
||||
sync_enabled = False
|
||||
|
||||
def initialize(self):
|
||||
QWidget.__init__(self)
|
||||
self.setupUi(self)
|
||||
|
||||
def options(self):
|
||||
# Return a dictionary with options for this Widget
|
||||
return {}
|
Loading…
x
Reference in New Issue
Block a user