File indexing completed on 2025-01-05 05:09:31

0001 /*
0002     SPDX-FileCopyrightText: 2012 Daniel Nicoletti <dantti12@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef NOSELECTIONRECTDELEGATEEGATE_H
0008 #define NOSELECTIONRECTDELEGATEEGATE_H
0009 
0010 #include <QStyledItemDelegate>
0011 
0012 #include <kcupslib_export.h>
0013 
0014 class KCUPSLIB_EXPORT NoSelectionRectDelegate : public QStyledItemDelegate
0015 {
0016     Q_OBJECT
0017 public:
0018     explicit NoSelectionRectDelegate(QObject *parent = nullptr);
0019     void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
0020 };
0021 
0022 #endif // NOSELECTIONRECTDELEGATEEGATE_H