1 // Copyright (c) 2011-2016 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #ifndef BITCOIN_QT_UTILITYDIALOG_H
6 #define BITCOIN_QT_UTILITYDIALOG_H
15 class HelpMessageDialog
;
18 /** "Help message" dialog box */
19 class HelpMessageDialog
: public QDialog
24 explicit HelpMessageDialog(QWidget
*parent
, bool about
);
27 void printToConsole();
31 Ui::HelpMessageDialog
*ui
;
35 void on_okButton_accepted();
39 /** "Shutdown" window */
40 class ShutdownWindow
: public QWidget
45 ShutdownWindow(QWidget
*parent
=0, Qt::WindowFlags f
=0);
46 static QWidget
*showShutdownWindow(BitcoinGUI
*window
);
49 void closeEvent(QCloseEvent
*event
);
52 #endif // BITCOIN_QT_UTILITYDIALOG_H