1
0

Some work on multisig.

This commit is contained in:
Neil Booth
2016-01-13 19:20:58 +09:00
parent 576500aa29
commit 0219687d41
4 changed files with 89 additions and 96 deletions

View File

@@ -86,6 +86,12 @@ class ThreadedButton(QPushButton):
t.start()
class WWLabel(QLabel):
def __init__ (self, text="", parent=None):
QLabel.__init__(self, text, parent)
self.setWordWrap(True)
class HelpLabel(QLabel):
def __init__(self, text, help_text):
@@ -272,9 +278,7 @@ class ChoicesLayout(object):
def __init__(self, msg, choices, on_clicked=None):
vbox = QVBoxLayout()
if len(msg) > 50:
label = QLabel(msg)
label.setWordWrap(True)
vbox.addWidget(label)
vbox.addWidget(WWLabel(msg))
msg = ""
gb2 = QGroupBox(msg)
vbox.addWidget(gb2)