Warning, file /utilities/kdf/src/kdfitemdelegate.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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