File indexing completed on 2024-10-06 10:55:42
0001 /* 0002 SPDX-FileCopyrightText: 2020 Michail Vourlakos <mvourlakos@gmail.com> 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #ifndef SCHEMECMBITEMDELEGATE_H 0007 #define SCHEMECMBITEMDELEGATE_H 0008 0009 // Qt 0010 #include <QStyledItemDelegate> 0011 0012 class QModelIndex; 0013 class QWidget; 0014 0015 namespace Latte { 0016 namespace Settings { 0017 namespace Details { 0018 namespace Delegate { 0019 0020 class SchemeCmbItemDelegate : public QStyledItemDelegate 0021 { 0022 Q_OBJECT 0023 public: 0024 SchemeCmbItemDelegate(QObject *parent = 0); 0025 0026 void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override; 0027 }; 0028 0029 } 0030 } 0031 } 0032 } 0033 0034 #endif