electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit ebafa73071d9fbf4e6c46fd818baff8226000275
parent 193e3847583e802e427e158b9fd9212f9169dde0
Author: ThomasV <thomasv@gitorious>
Date:   Sat, 14 Jun 2014 13:05:55 +0200

use QRTextEdit for public and private keys

Diffstat:
Mgui/qt/main_window.py | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -46,6 +46,7 @@ from electrum import bmp, pyqrnative from amountedit import AmountEdit, BTCAmountEdit, MyLineEdit from network_dialog import NetworkDialog from qrcodewidget import QRCodeWidget, QRDialog +from qrtextedit import QRTextEdit from decimal import Decimal @@ -1705,11 +1706,10 @@ class ElectrumWindow(QMainWindow): vbox = QVBoxLayout() vbox.addWidget( QLabel(_("Address") + ': ' + address)) vbox.addWidget( QLabel(_("Public key") + ':')) - keys = QTextEdit() + keys = QRTextEdit() keys.setReadOnly(True) keys.setText('\n'.join(pubkey_list)) vbox.addWidget(keys) - #vbox.addWidget( QRCodeWidget('\n'.join(pk_list)) ) vbox.addLayout(close_button(d)) d.setLayout(vbox) d.exec_() @@ -1730,11 +1730,10 @@ class ElectrumWindow(QMainWindow): vbox = QVBoxLayout() vbox.addWidget( QLabel(_("Address") + ': ' + address)) vbox.addWidget( QLabel(_("Private key") + ':')) - keys = QTextEdit() + keys = QRTextEdit() keys.setReadOnly(True) keys.setText('\n'.join(pk_list)) vbox.addWidget(keys) - vbox.addWidget( QRCodeWidget('\n'.join(pk_list)) ) vbox.addLayout(close_button(d)) d.setLayout(vbox) d.exec_()