|
|
@ -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_() |
|
|
|