Master Core  v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
utilitydialog.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2014 The Bitcoin developers
2 // Distributed under the MIT/X11 software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef UTILITYDIALOG_H
6 #define UTILITYDIALOG_H
7 
8 #include <QDialog>
9 #include <QObject>
10 
11 class BitcoinGUI;
12 class ClientModel;
13 
14 namespace Ui {
15  class AboutDialog;
16  class HelpMessageDialog;
17 }
18 
20 class AboutDialog : public QDialog
21 {
22  Q_OBJECT
23 
24 public:
25  explicit AboutDialog(QWidget *parent);
26  ~AboutDialog();
27 
28  void setModel(ClientModel *model);
29 
30 private:
32 
33 private slots:
34  void on_buttonBox_accepted();
35 };
36 
38 class HelpMessageDialog : public QDialog
39 {
40  Q_OBJECT
41 
42 public:
43  explicit HelpMessageDialog(QWidget *parent);
45 
46  void printToConsole();
47  void showOrPrint();
48 
49 private:
51  QString header;
52  QString coreOptions;
53  QString uiOptions;
54 
55 private slots:
56  void on_okButton_accepted();
57 };
58 
59 
61 class ShutdownWindow : public QObject
62 {
63  Q_OBJECT
64 
65 public:
66  static void showShutdownWindow(BitcoinGUI *window);
67 };
68 
69 #endif // UTILITYDIALOG_H
void on_buttonBox_accepted()
Bitcoin GUI main class.
Definition: bitcoingui.h:35
static void showShutdownWindow(BitcoinGUI *window)
"Shutdown" window
HelpMessageDialog(QWidget *parent)
"Help message" dialog box
Ui::AboutDialog * ui
Definition: utilitydialog.h:31
"About" dialog box
Definition: utilitydialog.h:20
"Shutdown" window
Definition: utilitydialog.h:61
Model for Bitcoin network client.
Definition: clientmodel.h:36
Ui::HelpMessageDialog * ui
Definition: utilitydialog.h:50
"Help message" dialog box
Definition: utilitydialog.h:38
AboutDialog(QWidget *parent)
"About" dialog box
void setModel(ClientModel *model)