Bitcoin ABC
0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
src
qt
utilitydialog.h
Go to the documentation of this file.
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.
4
5
#ifndef BITCOIN_QT_UTILITYDIALOG_H
6
#define BITCOIN_QT_UTILITYDIALOG_H
7
8
#include <QDialog>
9
#include <QWidget>
10
11
QT_BEGIN_NAMESPACE
12
class
QMainWindow;
13
QT_END_NAMESPACE
14
15
namespace
Ui
{
16
class
HelpMessageDialog
;
17
}
18
20
class
HelpMessageDialog
:
public
QDialog {
21
Q_OBJECT
22
23
public
:
24
explicit
HelpMessageDialog
(QWidget *parent,
bool
about
);
25
~HelpMessageDialog
();
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
39
class
ShutdownWindow
:
public
QWidget {
40
Q_OBJECT
41
42
public
:
43
explicit
ShutdownWindow
(QWidget *parent =
nullptr
);
44
static
QWidget *
showShutdownWindow
(QMainWindow *window);
45
46
protected
:
47
void
closeEvent
(
QCloseEvent
*event)
override
;
48
};
49
50
#endif
// BITCOIN_QT_UTILITYDIALOG_H
HelpMessageDialog
"Help message" dialog box
Definition
utilitydialog.h:20
HelpMessageDialog::on_okButton_accepted
void on_okButton_accepted()
Definition
utilitydialog.cpp:133
HelpMessageDialog::~HelpMessageDialog
~HelpMessageDialog()
Definition
utilitydialog.cpp:112
HelpMessageDialog::showOrPrint
void showOrPrint()
Definition
utilitydialog.cpp:122
HelpMessageDialog::printToConsole
void printToConsole()
Definition
utilitydialog.cpp:116
HelpMessageDialog::text
QString text
Definition
utilitydialog.h:32
HelpMessageDialog::ui
Ui::HelpMessageDialog * ui
Definition
utilitydialog.h:31
ShutdownWindow
"Shutdown" window
Definition
utilitydialog.h:39
ShutdownWindow::closeEvent
void closeEvent(QCloseEvent *event) override
Definition
utilitydialog.cpp:163
ShutdownWindow::showShutdownWindow
static QWidget * showShutdownWindow(QMainWindow *window)
Definition
utilitydialog.cpp:148
Ui
Definition
addressbookpage.h:14
GetRand
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition
random.h:85
Generated on Sat Nov 23 2024 02:38:00 for Bitcoin ABC by
1.9.8