mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
add more help messages
This commit is contained in:
parent
411209d2af
commit
37aef8332b
2 changed files with 6 additions and 4 deletions
|
@ -585,7 +585,8 @@ class ElectrumWindow(QMainWindow):
|
|||
self.receive_address_e = ButtonsLineEdit()
|
||||
self.receive_address_e.addCopyButton(self.app)
|
||||
self.receive_address_e.setReadOnly(True)
|
||||
self.receive_address_label = QLabel(_('Receiving address'))
|
||||
msg = _('Bitcoin address where the payment should be received')
|
||||
self.receive_address_label = HelpLabel(_('Receiving address'), msg)
|
||||
self.receive_address_e.textChanged.connect(self.update_receive_qr)
|
||||
self.receive_address_e.setFocusPolicy(Qt.NoFocus)
|
||||
grid.addWidget(self.receive_address_label, 0, 0)
|
||||
|
@ -604,7 +605,8 @@ class ElectrumWindow(QMainWindow):
|
|||
self.expires_combo = QComboBox()
|
||||
self.expires_combo.addItems(map(lambda x:x[0], expiration_values))
|
||||
self.expires_combo.setCurrentIndex(1)
|
||||
grid.addWidget(QLabel(_('Expires in')), 3, 0)
|
||||
msg = _('Expiration date of your request. This information is not included in the Bitcoin address nor in the QR code; the recipient will see it only if you send them a complete request.')
|
||||
grid.addWidget(HelpLabel(_('Expires in'), msg), 3, 0)
|
||||
grid.addWidget(self.expires_combo, 3, 1)
|
||||
self.expires_label = QLineEdit('')
|
||||
self.expires_label.setReadOnly(1)
|
||||
|
|
|
@ -178,10 +178,10 @@ class Plugin(BasePlugin):
|
|||
d.setMinimumSize(500, 200)
|
||||
|
||||
vbox = QVBoxLayout(d)
|
||||
vbox.addWidget(QLabel(_('Server hosting your email acount')))
|
||||
grid = QGridLayout()
|
||||
vbox.addLayout(grid)
|
||||
|
||||
grid.addWidget(QLabel('Server'), 0, 0)
|
||||
grid.addWidget(QLabel('Server (IMAP)'), 0, 0)
|
||||
server_e = QLineEdit()
|
||||
server_e.setText(self.imap_server)
|
||||
grid.addWidget(server_e, 0, 1)
|
||||
|
|
Loading…
Add table
Reference in a new issue