home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1231 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  1.3 KB  |  27 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. __license__ = 'GPL 3'
  5. __copyright__ = '2010, Li Fanxi <lifanxi@freemindworld.com>'
  6. __docformat__ = 'restructuredtext en'
  7. from calibre.gui2.convert.snb_output_ui import Ui_Form
  8. from calibre.gui2.convert import Widget
  9. newline_model = None
  10.  
  11. class PluginWidget(Widget, Ui_Form):
  12.     TITLE = _('SNB Output')
  13.     HELP = _('Options specific to') + ' SNB ' + _('output')
  14.     COMMIT_NAME = 'snb_output'
  15.     ICON = I('mimetypes/snb.png')
  16.     
  17.     def __init__(self, parent, get_option, get_help, db = None, book_id = None):
  18.         Widget.__init__(self, parent, [
  19.             'snb_insert_empty_line',
  20.             'snb_indent_first_line',
  21.             'snb_hide_chapter_name'])
  22.         self.db = db
  23.         self.book_id = book_id
  24.         self.initialize_options(get_option, get_help, db, book_id)
  25.  
  26.  
  27.