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

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. __license__ = 'GPL 3'
  5. __copyright__ = '2009, John Schember <john@nachtimwald.com>'
  6. __docformat__ = 'restructuredtext en'
  7. from calibre.gui2.convert.txt_input_ui import Ui_Form
  8. from calibre.gui2.convert import Widget
  9.  
  10. class PluginWidget(Widget, Ui_Form):
  11.     TITLE = _('TXT Input')
  12.     HELP = _('Options specific to') + ' TXT ' + _('input')
  13.     
  14.     def __init__(self, parent, get_option, get_help, db = None, book_id = None):
  15.         Widget.__init__(self, parent, 'txt_input', [
  16.             'single_line_paras',
  17.             'print_formatted_paras',
  18.             'markdown',
  19.             'markdown_disable_toc',
  20.             'preserve_spaces'])
  21.         self.db = db
  22.         self.book_id = book_id
  23.         self.initialize_options(get_option, get_help, db, book_id)
  24.  
  25.  
  26.