Fabcoin Core
0.16.2
P2P Digital Currency
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
qt
sendtokenpage.h
Go to the documentation of this file.
1
#ifndef SENDTOKENPAGE_H
2
#define SENDTOKENPAGE_H
3
4
#include <QWidget>
5
6
class
WalletModel
;
7
class
ClientModel
;
8
class
Token
;
9
struct
SelectedToken
;
10
11
namespace
Ui
{
12
class
SendTokenPage
;
13
}
14
15
class
SendTokenPage
:
public
QWidget
16
{
17
Q_OBJECT
18
19
public
:
20
explicit
SendTokenPage
(QWidget *parent = 0);
21
~
SendTokenPage
();
22
23
void
setModel(
WalletModel
*_model);
24
void
setClientModel(
ClientModel
*clientModel);
25
void
clearAll();
26
bool
isValidAddress();
27
bool
isDataValid();
28
29
void
setTokenData(std::string
address
, std::string sender, std::string symbol, int8_t decimals, std::string
balance
);
30
31
private
Q_SLOTS:
32
void
on_clearButton_clicked();
33
void
on_numBlocksChanged();
34
void
on_updateConfirmButton();
35
void
on_confirmClicked();
36
37
private
:
38
Ui::SendTokenPage
*
ui
;
39
WalletModel
*
m_model
;
40
ClientModel
*
m_clientModel
;
41
Token
*
m_tokenABI
;
42
SelectedToken
*
m_selectedToken
;
43
};
44
45
#endif // SENDTOKENPAGE_H
Ui::SendTokenPage
Definition:
ui_sendtokenpage.h:177
balance
struct evm_uint256be balance(struct evm_env *env, struct evm_uint160be address)
Definition:
capi.c:7
SendTokenPage::m_selectedToken
SelectedToken * m_selectedToken
Definition:
sendtokenpage.h:42
SendTokenPage::m_model
WalletModel * m_model
Definition:
sendtokenpage.h:39
Ui
Definition:
addressbookpage.h:13
Token
Definition:
token.h:32
SendTokenPage
Definition:
sendtokenpage.h:15
ClientModel
Model for Fabcoin network client.
Definition:
clientmodel.h:38
SendTokenPage::m_clientModel
ClientModel * m_clientModel
Definition:
sendtokenpage.h:40
SelectedToken
Definition:
sendtokenpage.cpp:21
WalletModel
Interface to Fabcoin wallet from Qt view code.
Definition:
walletmodel.h:103
SendTokenPage::ui
Ui::SendTokenPage * ui
Definition:
sendtokenpage.h:38
address
struct evm_uint160be address(struct evm_env *env)
Definition:
capi.c:13
SendTokenPage::m_tokenABI
Token * m_tokenABI
Definition:
sendtokenpage.h:41
Generated on Mon Oct 22 2018 15:15:38 for Fabcoin Core by
1.8.11