Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

utilitydialog.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2015 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.
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 
13 namespace Ui {
14  class HelpMessageDialog;
15 }
16 
18 class HelpMessageDialog : public QDialog
19 {
20  Q_OBJECT
21 
22 public:
23  enum HelpMode {
27  };
28 
29  explicit HelpMessageDialog(QWidget *parent, HelpMode helpMode);
31 
32  void printToConsole();
33  void showOrPrint();
34 
35 private:
36  Ui::HelpMessageDialog *ui;
37  QString text;
38 
39 private Q_SLOTS:
40  void on_okButton_accepted();
41 };
42 
43 
45 class ShutdownWindow : public QWidget
46 {
47  Q_OBJECT
48 
49 public:
50  explicit ShutdownWindow(QWidget *parent=0, Qt::WindowFlags f=0);
51  static QWidget *showShutdownWindow(BitcoinGUI *window);
52 
53 protected:
54  void closeEvent(QCloseEvent *event);
55 };
56 
57 #endif // BITCOIN_QT_UTILITYDIALOG_H
ShutdownWindow(QWidget *parent=0, Qt::WindowFlags f=0)
"Shutdown" window
Bitcoin GUI main class.
Definition: bitcoingui.h:49
void closeEvent(QCloseEvent *event)
"Shutdown" window
Definition: utilitydialog.h:45
Ui::HelpMessageDialog * ui
Definition: utilitydialog.h:36
static QWidget * showShutdownWindow(BitcoinGUI *window)
HelpMessageDialog(QWidget *parent, HelpMode helpMode)
"Help message" or "About" dialog box
"Help message" dialog box
Definition: utilitydialog.h:18
Released under the MIT license