home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1237 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  1.3 KB  |  28 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.     COMMIT_NAME = 'txt_input'
  14.     ICON = I('mimetypes/txt.png')
  15.     
  16.     def __init__(self, parent, get_option, get_help, db = None, book_id = None):
  17.         Widget.__init__(self, parent, [
  18.             'single_line_paras',
  19.             'print_formatted_paras',
  20.             'markdown',
  21.             'markdown_disable_toc',
  22.             'preserve_spaces'])
  23.         self.db = db
  24.         self.book_id = book_id
  25.         self.initialize_options(get_option, get_help, db, book_id)
  26.  
  27.  
  28.