PIVX Core
5.6.99
P2P Digital Currency
src
qt
mninfodialog.h
Go to the documentation of this file.
1
// Copyright (c) 2019-2021 The PIVX 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 PIVX_QT_MNINFODIALOG_H
6
#define PIVX_QT_MNINFODIALOG_H
7
8
#include "
focuseddialog.h
"
9
#include "
snackbar.h
"
10
11
class
WalletModel
;
12
13
namespace
Ui
{
14
class
MnInfoDialog
;
15
}
16
17
class
MnInfoDialog
:
public
FocusedDialog
18
{
19
Q_OBJECT
20
21
public
:
22
explicit
MnInfoDialog
(QWidget *parent =
nullptr
);
23
~MnInfoDialog
();
24
25
bool
exportMN
=
false
;
26
27
void
setData
(
const
QString& _pubKey,
const
QString&
name
,
const
QString& address,
const
QString& _txId,
const
QString& outputIndex,
const
QString& status);
28
29
public
Q_SLOTS:
30
void
reject
()
override
;
31
32
private
:
33
Ui::MnInfoDialog *
ui
;
34
SnackBar
*
snackBar
=
nullptr
;
35
int
nDisplayUnit
= 0;
36
WalletModel
*
model
=
nullptr
;
37
QString
txId
;
38
QString
pubKey
;
39
40
void
copyInform
(
const
QString& copyStr,
const
QString& message);
41
};
42
43
#endif
// PIVX_QT_MNINFODIALOG_H
FocusedDialog
Definition:
focuseddialog.h:11
MnInfoDialog
Definition:
mninfodialog.h:18
MnInfoDialog::txId
QString txId
Definition:
mninfodialog.h:37
MnInfoDialog::copyInform
void copyInform(const QString ©Str, const QString &message)
Definition:
mninfodialog.cpp:53
MnInfoDialog::pubKey
QString pubKey
Definition:
mninfodialog.h:38
MnInfoDialog::nDisplayUnit
int nDisplayUnit
Definition:
mninfodialog.h:35
MnInfoDialog::MnInfoDialog
MnInfoDialog(QWidget *parent=nullptr)
Definition:
mninfodialog.cpp:11
MnInfoDialog::snackBar
SnackBar * snackBar
Definition:
mninfodialog.h:34
MnInfoDialog::model
WalletModel * model
Definition:
mninfodialog.h:36
MnInfoDialog::reject
void reject() override
Definition:
mninfodialog.cpp:62
MnInfoDialog::exportMN
bool exportMN
Definition:
mninfodialog.h:25
MnInfoDialog::setData
void setData(const QString &_pubKey, const QString &name, const QString &address, const QString &_txId, const QString &outputIndex, const QString &status)
Definition:
mninfodialog.cpp:30
MnInfoDialog::ui
Ui::MnInfoDialog * ui
Definition:
mninfodialog.h:33
MnInfoDialog::~MnInfoDialog
~MnInfoDialog()
Definition:
mninfodialog.cpp:68
SnackBar
Definition:
snackbar.h:18
WalletModel
Interface to PIVX wallet from Qt view code.
Definition:
walletmodel.h:109
focuseddialog.h
Ui
Definition:
addnewcontactdialog.h:10
name
const char * name
Definition:
rest.cpp:37
snackbar.h
Generated on Wed Apr 2 2025 00:40:31 for PIVX Core by
1.9.1