Exemplo n.º 1
0
    def __init__(self, db, parent):
        QWizardPage.__init__(self, parent)
        self.db = db
        self.register = parent.register
        self.setupUi(self)

        self.do_init()
Exemplo n.º 2
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)
     try:
         self.um_label.setText(self.um_label.text() % localize_user_manual_link('https://manual.calibre-ebook.com'))
     except TypeError:
         pass  # link already localized
Exemplo n.º 3
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)
     self.registerField('library_location', self.location)
     self.button_change.clicked.connect(self.change)
     self.init_languages()
     self.language.currentIndexChanged[int].connect(self.change_language)
     self.location.textChanged.connect(self.location_text_changed)
Exemplo n.º 4
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)
     try:
         self.instructions.setText(self.instructions.text() % localize_user_manual_link(
             'https://manual.calibre-ebook.com/faq.html#how-do-i-use-calibre-with-my-ipad-iphone-ipod-touch'))
     except TypeError:
         pass  # user manual link was already replaced
     self.instructions.setOpenExternalLinks(True)
     self.content_server.stateChanged[(int)].connect(self.set_port)
Exemplo n.º 5
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)
     try:
         self.instructions.setText(self.instructions.text(
         ) % localize_user_manual_link(
             'https://manual.calibre-ebook.com/faq.html#how-do-i-use-calibre-with-my-ipad-iphone-ipod-touch'
         ))
     except TypeError:
         pass  # user manual link was already replaced
     self.instructions.setOpenExternalLinks(True)
     self.content_server.stateChanged[(int)].connect(self.set_port)
Exemplo n.º 6
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)
     self.registerField('library_location', self.location)
     self.button_change.clicked.connect(self.change)
     self.init_languages()
     self.language.currentIndexChanged[int].connect(self.change_language)
     self.location.textChanged.connect(self.location_text_changed)
     self.move_lib_label.setText(_(
         'If you are moving calibre from an old computer to a new one,'
         ' please read <a href="{0}">the instructions</a>.').format(
             localize_user_manual_link(
     'https://manual.calibre-ebook.com/faq.html#how-do-i-move-my-calibre-data-from-one-computer-to-another')))
Exemplo n.º 7
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)
     self.registerField('library_location', self.location)
     self.button_change.clicked.connect(self.change)
     self.init_languages()
     self.language.currentIndexChanged[int].connect(self.change_language)
     self.location.textChanged.connect(self.location_text_changed)
     self.move_lib_label.setText(_(
         'If you are moving calibre from an old computer to a new one,'
         ' please read <a href="{0}">the instructions</a>.').format(
             localize_user_manual_link(
     'https://manual.calibre-ebook.com/faq.html#how-do-i-move-my-calibre-data-from-one-computer-to-another')))
Exemplo n.º 8
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)
     self.registerField("manufacturer", self.manufacturer_view)
     self.registerField("device", self.device_view)
Exemplo n.º 9
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)
Exemplo n.º 10
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)
     self.registerField("manufacturer", self.manufacturer_view)
     self.registerField("device", self.device_view)
Exemplo n.º 11
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)
Exemplo n.º 12
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)
     self.content_server.stateChanged[(int)].connect(self.set_port)
Exemplo n.º 13
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)
     self.content_server.stateChanged[(int)].connect(self.set_port)