-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccountpage.h
77 lines (52 loc) · 1.56 KB
/
accountpage.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#ifndef ACCOUNTPAGE_H
#define ACCOUNTPAGE_H
#include <QWidget>
#include "blockchain.h"
namespace Ui {
class AccountPage;
}
#define MODULE_ACCOUNT_PAGE "ACCOUNT_PAGE"
struct Entry;
class AccountPage : public QWidget
{
Q_OBJECT
public:
explicit AccountPage(QString name,QWidget *parent = 0);
~AccountPage();
void updateTransactionsList();
void getAssets();
public slots:
void refresh();
private slots:
void on_copyBtn_clicked();
void on_accountComboBox_currentIndexChanged(const QString &arg1);
void jsonDataUpdated(QString id);
// void on_accountTransactionsTableWidget_cellClicked(int row, int column);
void on_prePageBtn_clicked();
void on_nextPageBtn_clicked();
void on_pageLineEdit_editingFinished();
void on_pageLineEdit_textEdited(const QString &arg1);
void on_assetComboBox_currentIndexChanged(int index);
void on_qrcodeBtn_clicked();
void on_accountTransactionsTableWidget_cellPressed(int row, int column);
signals:
void back();
void accountChanged(QString);
void showShadowWidget();
void hideShadowWidget();
void showApplyDelegatePage(QString);
private:
Ui::AccountPage *ui;
QString accountName;
QString address;
int transactionType;
bool inited;
int currentPageIndex;
QString registeredLabelString;
bool assetUpdating;
void paintEvent(QPaintEvent*);
void init();
void showTransactions();
void getTransaction(QString trxId);
};
#endif // ACCOUNTPAGE_H