text: // Copyright (c) 2015-2017, The Bytecoin developers
  // Copyright (c) 2017-2018, The Karbo developers
  // Copyright (c) 2019, The Qwertycoin developers
  //
  // This file is part of Qwertycoin.
  //
  // Qwertycoin is free software: you can redistribute it and/or modify
  // it under the terms of the GNU Lesser General Public License as published by
  // the Free Software Foundation, either version 3 of the License, or
  // (at your option) any later version.
  //
  // Qwertycoin is distributed in the hope that it will be useful,
  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  // GNU Lesser General Public License for more details.
  //
  // You should have received a copy of the GNU Lesser General Public License
  // along with Qwertycoin.  If not, see <http://www.gnu.org/licenses/>.
  
  #pragma once
  
  #include <QDateTime>
  #include <QSortFilterProxyModel>
  
  namespace WalletGui {
  
  class FilteredTransactionsModel : public QSortFilterProxyModel {
    Q_OBJECT
    Q_DISABLE_COPY(FilteredTransactionsModel)
  
  public:
    explicit FilteredTransactionsModel(QObject* _parent);
    ~FilteredTransactionsModel();
  
    QVariant headerData(int _section, Qt::Orientation _orientation, int _role = Qt::DisplayRole) const override;
  
  protected:
    bool filterAcceptsColumn(int _source_column, const QModelIndex& _sourceParent) const override;
  };
  
  
  }
  