transactionoverviewwidget.h raw

   1  // Copyright (c) 2021-present The Bitcoin Core developers
   2  // Distributed under the MIT software license, see the accompanying
   3  // file COPYING or http://www.opensource.org/licenses/mit-license.php.
   4  
   5  #ifndef BITCOIN_QT_TRANSACTIONOVERVIEWWIDGET_H
   6  #define BITCOIN_QT_TRANSACTIONOVERVIEWWIDGET_H
   7  
   8  #include <QListView>
   9  #include <QSize>
  10  
  11  QT_BEGIN_NAMESPACE
  12  class QShowEvent;
  13  class QWidget;
  14  QT_END_NAMESPACE
  15  
  16  class TransactionOverviewWidget : public QListView
  17  {
  18      Q_OBJECT
  19  
  20  public:
  21      explicit TransactionOverviewWidget(QWidget* parent = nullptr);
  22      QSize sizeHint() const override;
  23  
  24  protected:
  25      void showEvent(QShowEvent* event) override;
  26  };
  27  
  28  #endif // BITCOIN_QT_TRANSACTIONOVERVIEWWIDGET_H
  29