Hush full node GUI wallet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef MAINWINDOW_H
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
|
|
|
#include "precompiled.h"
|
|
|
|
|
|
|
|
// Forward declare to break circular dependency.
|
|
|
|
class RPC;
|
|
|
|
class Settings;
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class MainWindow;
|
|
|
|
}
|
|
|
|
|
|
|
|
class MainWindow : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit MainWindow(QWidget *parent = nullptr);
|
|
|
|
~MainWindow();
|
|
|
|
|
|
|
|
Settings* getSettings();
|
|
|
|
|
|
|
|
Ui::MainWindow* ui;
|
|
|
|
|
|
|
|
QLabel* statusLabel;
|
|
|
|
QLabel* statusIcon;
|
|
|
|
QLabel* loadingLabel;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void setupSendTab();
|
|
|
|
void setupTransactionsTab();
|
|
|
|
void setupRecieveTab();
|
|
|
|
void setupBalancesTab();
|
|
|
|
|
|
|
|
void removeExtraAddresses();
|
|
|
|
void setDefaultPayFrom();
|
|
|
|
|
|
|
|
void cancelButton();
|
|
|
|
void sendButton();
|
|
|
|
void inputComboTextChanged(const QString& text);
|
|
|
|
void addAddressSection();
|
|
|
|
void maxAmountChecked(int checked);
|
|
|
|
|
|
|
|
RPC* rpc;
|
|
|
|
Settings* settings;
|
|
|
|
|
|
|
|
QMovie* loadingMovie;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MAINWINDOW_H
|