-
Notifications
You must be signed in to change notification settings - Fork 6
/
billpage.h
60 lines (46 loc) · 1.14 KB
/
billpage.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
#ifndef BILLPAGE_H
#define BILLPAGE_H
#include <QWidget>
namespace Ui {
class BillPage;
}
class BillPage : public QWidget
{
Q_OBJECT
public:
explicit BillPage(QString name, QWidget *parent = 0);
~BillPage();
void updateTransactions();
private:
void clearTransactionsTableWidget();
private slots:
void retranslator();
void displayTokenTrxVector();
void on_prePageBtn_clicked();
void on_nextPageBtn_clicked();
void on_pageLineEdit_editingFinished();
void on_pageLineEdit_textEdited(const QString &arg1);
void updateAccountBalance();
void on_accountComboBox_currentIndexChanged(const QString &arg);
void on_assetComboBox_currentIndexChanged(int index);
void on_toBrowserBtn_clicked();
signals:
void back();
void showUpgradePage(QString);
void accountChanged(QString);
void showShadowWidget();
void hideShadowWidget();
void showApplyDelegatePage(QString);
private:
Ui::BillPage *ui;
bool inited = false;
QString accountName;
QString address;
int transactionType;
int currentPageIndex;
QString delegateLabelString;
QString registeredLabelString;
void paintEvent(QPaintEvent*);
void setAssertType();
};
#endif // BILLPAGE_H