text: // Copyright (c) 2019 The PIVX Developers
  // Copyright (c) 2020 The PIVX Developers
  // Copyright (c) 2020 The Rubus Developers
  
  
  // Distributed under the MIT software license, see the accompanying
  // file COPYING or http://www.opensource.org/licenses/mit-license.php.
  
  #ifndef FURABSTRACTLISTITEMDELEGATE_H
  #define FURABSTRACTLISTITEMDELEGATE_H
  
  #include "qt/rbx/furlistrow.h"
  
  #include <QAbstractItemDelegate>
  #include <QColor>
  #include <QModelIndex>
  #include <QObject>
  #include <QPaintEngine>
  #include <QPainter>
  #include <QWidget>
  
  QT_BEGIN_NAMESPACE
  class QModelIndex;
  QT_END_NAMESPACE
  
  class FurAbstractListItemDelegate : public QAbstractItemDelegate
  {
      Q_OBJECT
  public:
      FurAbstractListItemDelegate(int _rowHeight, FurListRow<>* _row, QObject *parent=nullptr);
  
      QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
      void paint(QPainter *painter, const QStyleOptionViewItem &option,
                        const QModelIndex &index ) const;
  
      FurListRow<> *getRowFactory();
  private:
      int rowHeight = 0;
      FurListRow<>* row = nullptr;
  
  };
  
  #endif // FURABSTRACTLISTITEMDELEGATE_H
  