Raven Core
3.0.0
P2P Digital Currency
src
qt
sendcoinsentry.h
Go to the documentation of this file.
1
// Copyright (c) 2011-2015 The Bitcoin Core developers
2
// Copyright (c) 2017-2019 The Raven Core developers
3
// Distributed under the MIT software license, see the accompanying
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6
#ifndef RAVEN_QT_SENDCOINSENTRY_H
7
#define RAVEN_QT_SENDCOINSENTRY_H
8
9
#include "
walletmodel.h
"
10
11
#include <QStackedWidget>
12
13
class
WalletModel
;
14
class
PlatformStyle
;
15
16
namespace
Ui
{
17
class
SendCoinsEntry
;
18
}
19
25
class
SendCoinsEntry
:
public
QStackedWidget
26
{
27
Q_OBJECT
28
29
public
:
30
explicit
SendCoinsEntry
(
const
PlatformStyle
*platformStyle, QWidget *parent = 0);
31
~
SendCoinsEntry
();
32
33
void
setModel(
WalletModel
*model);
34
bool
validate();
35
SendCoinsRecipient
getValue();
36
38
bool
isClear();
39
40
void
setValue(
const
SendCoinsRecipient
&value);
41
void
setAddress(
const
QString &address);
42
46
QWidget *setupTabChain(QWidget *prev);
47
48
void
setFocus();
49
50
public
Q_SLOTS:
51
void
clear();
52
53
Q_SIGNALS:
54
void
removeEntry(
SendCoinsEntry
*entry);
55
void
payAmountChanged();
56
void
subtractFeeFromAmountChanged();
57
58
private
Q_SLOTS:
59
void
deleteClicked();
60
void
on_payTo_textChanged(
const
QString &address);
61
void
on_addressBookButton_clicked();
62
void
on_pasteButton_clicked();
63
void
updateDisplayUnit();
64
65
private
:
66
SendCoinsRecipient
recipient
;
67
Ui::SendCoinsEntry *
ui
;
68
WalletModel
*
model
;
69
const
PlatformStyle
*
platformStyle
;
70
71
bool
updateLabel(
const
QString &address);
72
};
73
74
#endif // RAVEN_QT_SENDCOINSENTRY_H
SendCoinsEntry::ui
Ui::SendCoinsEntry * ui
Definition:
sendcoinsentry.h:67
walletmodel.h
Ui
Definition:
addressbookpage.h:14
SendCoinsEntry
A single entry in the dialog for sending ravens.
Definition:
sendcoinsentry.h:25
SendCoinsRecipient
Definition:
walletmodel.h:41
SendCoinsEntry::model
WalletModel * model
Definition:
sendcoinsentry.h:68
WalletModel
Interface to Raven wallet from Qt view code.
Definition:
walletmodel.h:165
SendCoinsEntry::recipient
SendCoinsRecipient recipient
Definition:
sendcoinsentry.h:66
SendCoinsEntry::platformStyle
const PlatformStyle * platformStyle
Definition:
sendcoinsentry.h:69
PlatformStyle
Definition:
platformstyle.h:16
Generated on Mon Jul 29 2019 02:32:20 for Raven Core by
1.8.13