37 lines
792 B
C++
37 lines
792 B
C++
// 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 <QStyledItemDelegate>
|
|
|
|
namespace Ui {
|
|
class TransactionsFrame;
|
|
}
|
|
|
|
namespace WalletGui {
|
|
|
|
class TransactionsListModel;
|
|
|
|
class TransactionsFrame : public QFrame {
|
|
Q_OBJECT
|
|
Q_DISABLE_COPY(TransactionsFrame)
|
|
|
|
public:
|
|
TransactionsFrame(QWidget* _parent);
|
|
~TransactionsFrame();
|
|
|
|
void scrollToTransaction(const QModelIndex& _index);
|
|
|
|
private:
|
|
QScopedPointer<Ui::TransactionsFrame> m_ui;
|
|
QScopedPointer<TransactionsListModel> m_transactionsModel;
|
|
|
|
Q_SLOT void exportToCsv();
|
|
Q_SLOT void showTransactionDetails(const QModelIndex& _index);
|
|
};
|
|
|
|
}
|