File indexing completed on 2024-04-21 05:50:17

0001 /*
0002     SPDX-FileCopyrightText: 2009 Dario Andres Rodriguez <andresbajotierra@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef KDFITEMDELEGATE_H
0008 #define KDFITEMDELEGATE_H
0009 
0010 #include <QStyledItemDelegate>
0011 
0012 class QPainter;
0013 
0014 class KDFItemDelegate: public QStyledItemDelegate
0015 {
0016     Q_OBJECT
0017 
0018     public:
0019         explicit KDFItemDelegate(QObject * parent = nullptr): QStyledItemDelegate(parent) {}
0020         ~KDFItemDelegate() override {}
0021 
0022         void paint(QPainter *painter, const QStyleOptionViewItem &option,
0023             const QModelIndex &index) const override;
0024 
0025 };
0026 
0027 #endif