From dbc3bed669b1ec6da5aa46cbbf3f331ec9e2d1d9 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Wed, 16 Dec 2020 15:55:04 +0100 Subject: [PATCH] TxProofWidget: add help labels for proofs --- src/widgets/txproofwidget.cpp | 5 +++++ src/widgets/txproofwidget.ui | 11 +++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/widgets/txproofwidget.cpp b/src/widgets/txproofwidget.cpp index 81178cd..d7b54d4 100644 --- a/src/widgets/txproofwidget.cpp +++ b/src/widgets/txproofwidget.cpp @@ -32,6 +32,11 @@ TxProofWidget::TxProofWidget(QWidget *parent, Wallet *wallet, TransactionInfo *t connect(ui->btn_copySpendProof, &QPushButton::clicked, this, &TxProofWidget::copySpendProof); connect(ui->btn_copyTxProof, &QPushButton::clicked, this, &TxProofWidget::copyTxProof); + + ui->label_SpendProof->setHelpText("A SpendProof proves authorship of a transaction.\n\n" + "SpendProofs do not prove that a particular amount was sent to an address, for that use OutProofs."); + ui->label_InOutProof->setHelpText("An InProof proves ownership of an output.\n" + "An OutProof shows the prover sent an output to an address."); } void TxProofWidget::copySpendProof() { diff --git a/src/widgets/txproofwidget.ui b/src/widgets/txproofwidget.ui index 91f1efc..ab96be4 100644 --- a/src/widgets/txproofwidget.ui +++ b/src/widgets/txproofwidget.ui @@ -48,7 +48,7 @@ - + SpendProof @@ -72,7 +72,7 @@ - + 0 @@ -98,6 +98,13 @@ + + + HelpLabel + QLabel +
components.h
+
+