-
Notifications
You must be signed in to change notification settings - Fork 2
/
accountpage.h
78 lines (53 loc) · 1.55 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
78
#ifndef ACCOUNTPAGE_H
#define ACCOUNTPAGE_H
#include <QWidget>
namespace Ui {
class AccountPage;
}
#define MODULE_ACCOUNT_PAGE "ACCOUNT_PAGE"
class AccountPage : public QWidget
{
Q_OBJECT
public:
explicit AccountPage(QString name,QWidget *parent = 0);
~AccountPage();
void updateTransactionsList();
public slots:
void refresh();
void retranslator();
void displayTokenTrxVector();
private slots:
void on_copyBtn_clicked();
void on_accountComboBox_currentIndexChanged(const QString &arg1);
void on_transactionTypeComboBox_currentIndexChanged(int index);
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 balance();
void walletTransactionHistorySpliteWithId(QString, QString);
signals:
void back();
void showUpgradePage(QString);
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 delegateLabelString;
QString registeredLabelString;
void paintEvent(QPaintEvent*);
void init();
void showCommonTransactions(QString, QString);
void showTokenTransactions(QString, QString);
void showTransactions(QString);
void setAssetType();
};
#endif // ACCOUNTPAGE_H