Esempio n. 1
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
Esempio n. 2
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)
Esempio n. 3
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.made_dirs = []
     self.initial_library_location = None
     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.set_move_lib_label_text()
Esempio n. 4
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)
     self.registerField("manufacturer", self.manufacturer_view)
     self.registerField("device", self.device_view)
Esempio n. 5
0
 def __init__(self):
     QWizardPage.__init__(self)
     self.setupUi(self)