File indexing completed on 2024-04-28 09:25:34

0001 /*
0002     SPDX-FileCopyrightText: 2021 Michail Vourlakos <mvourlakos@gmail.com>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef NORMALCHECKBOXDELEGATE_H
0007 #define NORMALCHECKBOXDELEGATE_H
0008 
0009 // Qt
0010 #include <QStyledItemDelegate>
0011 
0012 
0013 namespace Latte {
0014 namespace Settings {
0015 namespace Applets {
0016 namespace Delegate {
0017 
0018 class NormalCheckBox : public QStyledItemDelegate
0019 {
0020 public:
0021     NormalCheckBox(QObject *parent = 0);
0022 
0023     virtual bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) override;
0024 };
0025 
0026 }
0027 }
0028 }
0029 }
0030 
0031 #endif