From e805dd04cba946d64d86bdfe61ae878064edf2c8 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Wed, 16 Dec 2020 16:28:13 +0100 Subject: [PATCH] Send: add help labels --- src/sendwidget.cpp | 10 ++++++++++ src/sendwidget.ui | 15 +++++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/sendwidget.cpp b/src/sendwidget.cpp index e08f769..f7200c3 100644 --- a/src/sendwidget.cpp +++ b/src/sendwidget.cpp @@ -30,6 +30,16 @@ SendWidget::SendWidget(QWidget *parent) : ui->label_conversionAmount->hide(); ui->btn_openAlias->hide(); + ui->label_PayTo->setHelpText("Recipient of the funds.\n\n" + "You may enter a Monero address, or an alias (email-like address that forwards to a Monero address)"); + ui->label_Description->setHelpText("Description of the transaction (optional).\n\n" + "The description is not sent to the recipient of the funds. It is stored in your wallet cache, " + "and displayed in the 'History' tab."); + ui->label_Amount->setHelpText("Amount to be sent.\n\nThis is the exact amount the recipient will receive. " + "In addition to this amount a transaction fee will be subtracted from your balance. " + "You will be able to review the transaction fee before the transaction is broadcast.\n\n" + "To send all your balance, click the Max button to the right."); + this->setupComboBox(); } diff --git a/src/sendwidget.ui b/src/sendwidget.ui index fb97ee7..8e5464e 100644 --- a/src/sendwidget.ui +++ b/src/sendwidget.ui @@ -6,7 +6,7 @@ 0 0 - 603 + 647 175 @@ -39,7 +39,7 @@ 0 - + Pay to @@ -53,7 +53,7 @@ - + Description @@ -63,7 +63,7 @@ - + Amount @@ -184,6 +184,13 @@ + + + HelpLabel + QLabel +
components.h
+
+