Skip to content

Commit

Permalink
Entropy tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapk00 committed Jun 20, 2019
1 parent ef21744 commit 21de524
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ui/src/mainwindow.cpp
Expand Up @@ -158,6 +158,10 @@ MainWindow::MainWindow(QWidget *parent) :
ui->txttaddrs->setValidator(intValidator);
ui->txtzaddrs->setValidator(intValidator);

QString entropyTooltip = tr("Please type in random characters to use as entropy, which will be mixed in with the system's entropy to generate random numbers.");
ui->txtEntropy->setToolTip(entropyTooltip);
ui->lblEntropy->setToolTip(entropyTooltip);

// Wire up the generate button
QObject::connect(ui->btnGenerate, &QPushButton::clicked, [=]() {
this->populateWallets();
Expand Down
2 changes: 1 addition & 1 deletion ui/src/mainwindow.ui
Expand Up @@ -58,7 +58,7 @@
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<widget class="QLabel" name="lblEntropy">
<property name="text">
<string>Additional Entropy</string>
</property>
Expand Down

0 comments on commit 21de524

Please sign in to comment.