예제 #1
0
    def password_dialog(self, wallet):
        msg = _("Please choose a password to encrypt your wallet keys.")+'\n'\
              +_("Leave these fields empty if you want to disable encryption.")
        from password_dialog import make_password_dialog, run_password_dialog
        self.set_layout( make_password_dialog(self, wallet, msg) )

        run_password_dialog(self, wallet, self)
예제 #2
0
    def password_dialog(self, wallet):
        msg = _("Please choose a password to encrypt your wallet keys.")+'\n'\
              +_("Leave these fields empty if you want to disable encryption.")
        from password_dialog import make_password_dialog, run_password_dialog
        self.set_layout(make_password_dialog(self, wallet, msg))

        run_password_dialog(self, wallet, self)
예제 #3
0
    def password_dialog(self, wallet):
        msg = (
            _("Please choose a password to encrypt your wallet keys.")
            + "\n"
            + _("Leave these fields empty if you want to disable encryption.")
        )
        from password_dialog import make_password_dialog, run_password_dialog

        if self.layout():
            QWidget().setLayout(self.layout())
        make_password_dialog(self, wallet, msg)
        run_password_dialog(self, wallet, self)
예제 #4
0
    def password_dialog(self):
        msg = (
            _("Please choose a password to encrypt your wallet keys.")
            + "\n"
            + _("Leave these fields empty if you want to disable encryption.")
        )
        from password_dialog import make_password_dialog, run_password_dialog

        self.set_layout(make_password_dialog(self, None, msg))
        return run_password_dialog(self, None, self)[2]