mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 03:59:29 +00:00
Merge pull request 'TxProofWidget: add help labels for proofs' (#232) from tobtoht/feather:txproofwidget_help_labels into master
Reviewed-on: https://git.wownero.com/feather/feather/pulls/232
This commit is contained in:
commit
ca1c2fa5ba
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