Update CMakeLists.txt - play with openssl
[novacoin.git] / src / qt / mintingview.h
1 #ifndef MINTINGVIEW_H
2 #define MINTINGVIEW_H
3
4 #include <QWidget>
5 #include <QComboBox>
6 #include "mintingfilterproxy.h"
7
8 class WalletModel;
9
10
11 QT_BEGIN_NAMESPACE
12 class QTableView;
13 class QMenu;
14 QT_END_NAMESPACE
15
16 class MintingView : public QWidget
17 {
18     Q_OBJECT
19 public:
20     explicit MintingView(QWidget *parent = 0);
21     void setModel(WalletModel *model);
22
23     enum MintingEnum
24     {
25         Minting10min,
26         Minting1day,
27         Minting7days,
28         Minting30days,
29         Minting60days,
30         Minting90days
31     };
32
33 private:
34     WalletModel *model;
35     QTableView *mintingView;
36
37     QComboBox *mintingCombo;
38
39     MintingFilterProxy *mintingProxyModel;
40
41     QMenu *contextMenu;
42
43 signals:
44
45 public slots:
46     void exportClicked();
47     void chooseMintingInterval(int idx);
48     void copyTxID();
49     void copyAddress();
50     void showHideAddress();
51     void showHideTxID();
52     void contextualMenu(const QPoint &point);
53 };
54
55 #endif // MINTINGVIEW_H