2020-12-25 14:20:39 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2023-01-02 19:30:11 +00:00
|
|
|
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
2020-12-25 14:20:39 +00:00
|
|
|
|
|
|
|
#ifndef FEATHER_BALANCEDIALOG_H
|
|
|
|
#define FEATHER_BALANCEDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2021-10-22 17:19:56 +00:00
|
|
|
#include "components.h"
|
2021-06-27 14:33:18 +00:00
|
|
|
#include "libwalletqt/Wallet.h"
|
|
|
|
|
2020-12-25 14:20:39 +00:00
|
|
|
namespace Ui {
|
|
|
|
class BalanceDialog;
|
|
|
|
}
|
|
|
|
|
2021-10-22 17:19:56 +00:00
|
|
|
class BalanceDialog : public WindowModalDialog
|
2020-12-25 14:20:39 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit BalanceDialog(QWidget *parent, Wallet *wallet);
|
|
|
|
~BalanceDialog() override;
|
|
|
|
|
|
|
|
private:
|
2023-09-12 14:15:40 +00:00
|
|
|
void updateBalance();
|
|
|
|
|
2021-06-27 12:13:05 +00:00
|
|
|
QScopedPointer<Ui::BalanceDialog> ui;
|
2023-09-12 14:15:40 +00:00
|
|
|
Wallet *m_wallet;
|
2020-12-25 14:20:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //FEATHER_BALANCEDIALOG_H
|