mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
TxProofWidget: add help labels for proofs
This commit is contained in:
parent
8c197f26ea
commit
dbc3bed669
2 changed files with 14 additions and 2 deletions
|
@ -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() {
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<widget class="HelpLabel" name="label_SpendProof">
|
||||
<property name="text">
|
||||
<string>SpendProof</string>
|
||||
</property>
|
||||
|
@ -72,7 +72,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<widget class="HelpLabel" name="label_InOutProof">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
|
@ -98,6 +98,13 @@
|
|||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>HelpLabel</class>
|
||||
<extends>QLabel</extends>
|
||||
<header>components.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
|
Loading…
Reference in a new issue