From 21de524170a143da4aa212a9ff6442e7c2d26ac3 Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Thu, 20 Jun 2019 11:47:50 -0700 Subject: [PATCH] Entropy tooltip --- ui/src/mainwindow.cpp | 4 ++++ ui/src/mainwindow.ui | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/src/mainwindow.cpp b/ui/src/mainwindow.cpp index a4e797a..0aa9e4d 100644 --- a/ui/src/mainwindow.cpp +++ b/ui/src/mainwindow.cpp @@ -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(); diff --git a/ui/src/mainwindow.ui b/ui/src/mainwindow.ui index 24e2ffa..3bd18de 100644 --- a/ui/src/mainwindow.ui +++ b/ui/src/mainwindow.ui @@ -58,7 +58,7 @@ - + Additional Entropy