// 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 #include namespace Ui { class OverviewFrame; } namespace WalletGui { class RecentTransactionsModel; class OverviewFrame : public QFrame { Q_OBJECT Q_DISABLE_COPY(OverviewFrame) public: OverviewFrame(QWidget* _parent); ~OverviewFrame(); private: QScopedPointer m_ui; QSharedPointer m_transactionModel; void transactionsInserted(const QModelIndex& _parent, int _first, int _last); void transactionsRemoved(const QModelIndex& _parent, int _first, int _last); void layoutChanged(); void updateActualBalance(quint64 _balance); void updatePendingBalance(quint64 _balance); void reset(); }; }