2015-04-29 17:03:08 +00:00
|
|
|
// Copyright (c) 2011-2015 The Cryptonote developers
|
|
|
|
// Distributed under the MIT/X11 software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QFrame>
|
|
|
|
|
|
|
|
#include <IWallet.h>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class SendFrame;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace WalletGui {
|
|
|
|
|
|
|
|
class TransferFrame;
|
|
|
|
|
|
|
|
class SendFrame : public QFrame {
|
|
|
|
Q_OBJECT
|
|
|
|
Q_DISABLE_COPY(SendFrame)
|
|
|
|
|
|
|
|
public:
|
|
|
|
SendFrame(QWidget* _parent);
|
|
|
|
~SendFrame();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QScopedPointer<Ui::SendFrame> m_ui;
|
|
|
|
QList<TransferFrame*> m_transfers;
|
|
|
|
|
2015-04-30 12:11:48 +00:00
|
|
|
void sendTransactionCompleted(CryptoNote::TransactionId _id, bool _error, const QString& _error_text);
|
2015-04-29 17:03:08 +00:00
|
|
|
void walletActualBalanceUpdated(quint64 _balance);
|
|
|
|
|
|
|
|
Q_SLOT void addRecipientClicked();
|
|
|
|
Q_SLOT void clearAllClicked();
|
|
|
|
Q_SLOT void mixinValueChanged(int _value);
|
|
|
|
Q_SLOT void sendClicked();
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|