Update CMakeLists.txt - play with openssl
[novacoin.git] / src / qt / multisigdialog.h
1 #ifndef MULTISIGDIALOG_H
2 #define MULTISIGDIALOG_H
3
4 #include <QWidget>
5
6 #include "multisigaddressentry.h"
7 #include "multisiginputentry.h"
8 #include "sendcoinsentry.h"
9 #include "walletmodel.h"
10
11
12 namespace Ui
13 {
14     class MultisigDialog;
15 }
16
17 class MultisigDialog : public QWidget
18 {
19     Q_OBJECT;
20   protected:
21     void keyPressEvent(QKeyEvent *);
22
23   public:
24     explicit MultisigDialog(QWidget *parent);
25     MultisigDialog();
26     ~MultisigDialog();
27     void setModel(WalletModel *model);
28
29   public slots:
30     MultisigAddressEntry * addPubKey();
31     void clear();
32     void updateRemoveEnabled();
33     MultisigInputEntry * addInput();
34     SendCoinsEntry * addOutput();
35
36   private:
37     Ui::MultisigDialog *ui;
38     WalletModel *model;
39
40   private slots:
41     void showEvent(QShowEvent *event);
42     void hideEvent(QHideEvent *event);
43     void on_createAddressButton_clicked();
44     void on_copyMultisigAddressButton_clicked();
45     void on_copyRedeemScriptButton_clicked();
46     void on_saveRedeemScriptButton_clicked();
47     void on_saveMultisigAddressButton_clicked();
48     void removeEntry(MultisigAddressEntry *entry);
49     void on_createTransactionButton_clicked();
50     void on_transaction_textChanged();
51     void on_copyTransactionButton_clicked();
52     void on_pasteTransactionButton_clicked();
53     void on_signTransactionButton_clicked();
54     void on_copySignedTransactionButton_clicked();
55     void on_sendTransactionButton_clicked();
56     void removeEntry(MultisigInputEntry *entry);
57     void removeEntry(SendCoinsEntry *entry);
58     void updateAmounts();
59 };
60
61 #endif // MULTISIGDIALOG_H