home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_1172 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  1.4 KB  |  30 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from __future__ import with_statement
  5. __license__ = 'GPL v3'
  6. __copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
  7. __docformat__ = 'restructuredtext en'
  8. from calibre.gui2.convert.epub_output_ui import Ui_Form
  9. from calibre.gui2.convert import Widget
  10.  
  11. class PluginWidget(Widget, Ui_Form):
  12.     TITLE = _('EPUB Output')
  13.     HELP = _('Options specific to') + ' EPUB ' + _('output')
  14.     
  15.     def __init__(self, parent, get_option, get_help, db = None, book_id = None):
  16.         Widget.__init__(self, parent, 'epub_output', [
  17.             'dont_split_on_page_breaks',
  18.             'flow_size',
  19.             'no_default_epub_cover',
  20.             'no_svg_cover',
  21.             'preserve_cover_aspect_ratio'])
  22.         for i in range(2):
  23.             self.opt_no_svg_cover.toggle()
  24.         
  25.         self.db = db
  26.         self.book_id = book_id
  27.         self.initialize_options(get_option, get_help, db, book_id)
  28.  
  29.  
  30.