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
14 class HelpMessageDialog
;
17 /** "Help message" dialog box */
18 class HelpMessageDialog
: public QDialog
23 explicit HelpMessageDialog(QWidget
*parent
, bool about
);
26 void printToConsole();
30 Ui::HelpMessageDialog
*ui
;
34 void on_okButton_accepted();
38 /** "Shutdown" window */
39 class ShutdownWindow
: public QWidget
44 explicit ShutdownWindow(QWidget
*parent
=0, Qt::WindowFlags f
=0);
45 static QWidget
*showShutdownWindow(BitcoinGUI
*window
);
48 void closeEvent(QCloseEvent
*event
);
51 #endif // BITCOIN_QT_UTILITYDIALOG_H