Fabcoin Core  0.16.2
P2P Digital Currency
utilitydialog.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2017 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 FABCOIN_QT_UTILITYDIALOG_H
6 #define FABCOIN_QT_UTILITYDIALOG_H
7 
8 #include <QDialog>
9 #include <QObject>
10 
11 class FabcoinGUI;
12 
13 namespace Ui {
14  class HelpMessageDialog;
15 }
16 
18 class HelpMessageDialog : public QDialog
19 {
20  Q_OBJECT
21 
22 public:
23  explicit HelpMessageDialog(QWidget *parent, bool about);
25 
26  void printToConsole();
27  void showOrPrint();
28 
29 private:
31  QString text;
32 
33 private Q_SLOTS:
34  void on_okButton_accepted();
35 };
36 
37 
39 class ShutdownWindow : public QWidget
40 {
41  Q_OBJECT
42 
43 public:
44  ShutdownWindow(QWidget *parent=0, Qt::WindowFlags f=0);
45  static QWidget *showShutdownWindow(FabcoinGUI *window);
46 
47 protected:
48  void closeEvent(QCloseEvent *event);
49 };
50 
51 #endif // FABCOIN_QT_UTILITYDIALOG_H
Fabcoin GUI main class.
Definition: fabcoingui.h:51
"Shutdown" window
Definition: utilitydialog.h:39
Ui::HelpMessageDialog * ui
Definition: utilitydialog.h:30
#define f(x)
Definition: gost.cpp:57
"Help message" dialog box
Definition: utilitydialog.h:18