Raven Core  3.0.0
P2P Digital Currency
utilitydialog.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2016 The Bitcoin Core developers
2 // Copyright (c) 2017-2019 The Raven Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef RAVEN_QT_UTILITYDIALOG_H
7 #define RAVEN_QT_UTILITYDIALOG_H
8 
9 #include <QDialog>
10 #include <QObject>
11 
12 class RavenGUI;
13 
14 namespace Ui {
15  class HelpMessageDialog;
16 }
17 
19 class HelpMessageDialog : public QDialog
20 {
21  Q_OBJECT
22 
23 public:
24  explicit HelpMessageDialog(QWidget *parent, bool about);
26 
27  void printToConsole();
28  void showOrPrint();
29 
30 private:
31  Ui::HelpMessageDialog *ui;
32  QString text;
33 
34 private Q_SLOTS:
35  void on_okButton_accepted();
36 };
37 
38 
40 class ShutdownWindow : public QWidget
41 {
42  Q_OBJECT
43 
44 public:
45  explicit ShutdownWindow(QWidget *parent=0, Qt::WindowFlags f=0);
46  static QWidget *showShutdownWindow(RavenGUI *window);
47 
48 protected:
49  void closeEvent(QCloseEvent *event);
50 };
51 
52 #endif // RAVEN_QT_UTILITYDIALOG_H
"Shutdown" window
Definition: utilitydialog.h:40
Ui::HelpMessageDialog * ui
Definition: utilitydialog.h:31
Raven GUI main class.
Definition: ravengui.h:47
"Help message" dialog box
Definition: utilitydialog.h:19