]> Git Repo - VerusCoin.git/blob - src/qt/utilitydialog.h
Remove references to X11 licence
[VerusCoin.git] / src / qt / utilitydialog.h
1 // Copyright (c) 2011-2014 The Bitcoin developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5 #ifndef BITCOIN_QT_UTILITYDIALOG_H
6 #define BITCOIN_QT_UTILITYDIALOG_H
7
8 #include <QDialog>
9 #include <QObject>
10
11 class BitcoinGUI;
12 class ClientModel;
13
14 namespace Ui {
15     class HelpMessageDialog;
16 }
17
18 /** "Help message" dialog box */
19 class HelpMessageDialog : public QDialog
20 {
21     Q_OBJECT
22
23 public:
24     explicit HelpMessageDialog(QWidget *parent, bool about);
25     ~HelpMessageDialog();
26
27     void printToConsole();
28     void showOrPrint();
29
30 private:
31     Ui::HelpMessageDialog *ui;
32     QString text;
33
34 private slots:
35     void on_okButton_accepted();
36 };
37
38
39 /** "Shutdown" window */
40 class ShutdownWindow : public QWidget
41 {
42     Q_OBJECT
43
44 public:
45     ShutdownWindow(QWidget *parent=0, Qt::WindowFlags f=0);
46     static void showShutdownWindow(BitcoinGUI *window);
47
48 protected:
49     void closeEvent(QCloseEvent *event);
50 };
51
52 #endif // BITCOIN_QT_UTILITYDIALOG_H
This page took 0.026283 seconds and 4 git commands to generate.