def seed_input(self, title, message, is_seed, options):
     slayout = SeedLayout(title=message,
                          is_seed=is_seed,
                          options=options,
                          parent=self)
     self.set_main_layout(slayout, title, next_enabled=False)
     return slayout.get_seed(), slayout.is_bip39, slayout.is_ext
 def text_input(self, title, message, is_valid):
     slayout = SeedLayout(parent=self,
                          title=message,
                          is_seed=is_valid,
                          icon=False)
     self.set_main_layout(slayout.layout(), title, next_enabled=False)
     return slayout.get_seed()
 def show_xpub_dialog(self, xpub, run_next):
     msg = ' '.join([
         _("Here is your master public key."),
         _("Please share it with your cosigners.")
     ])
     vbox = QVBoxLayout()
     layout = SeedLayout(xpub, title=msg, icon=False)
     vbox.addLayout(layout.layout())
     self.set_main_layout(vbox, _('Master Public Key'))
     return None
Beispiel #4
0
 def show_xpub_dialog(self, xpub, run_next):
     msg = ' '.join([
         _("Here is your master public key."),
         _("Please share it with your cosigners.")
     ])
     vbox = QVBoxLayout()
     layout = SeedLayout(xpub, title=msg, icon=False)
     vbox.addLayout(layout.layout())
     self.exec_layout(vbox, _('Master Public Key'))
     return None
 def show_seed_dialog(self, run_next, seed_text):
     title = _("Your wallet generation seed is:")
     slayout = SeedLayout(seed=seed_text,
                          title=title,
                          msg=True,
                          options=['ext'])
     self.set_main_layout(slayout)
     return slayout.is_ext
Beispiel #6
0
 def seed_input(self, title, message, is_seed, options):
     slayout = SeedLayout(title=message, is_seed=is_seed, options=options, parent=self)
     self.exec_layout(slayout, title, next_enabled=False)
     return slayout.get_seed(), slayout.is_bip39, slayout.is_ext