You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
579 B
C++
32 lines
579 B
C++
/*
|
|
SPDX-FileCopyrightText: 2021 Michail Vourlakos <mvourlakos@gmail.com>
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef NORMALCHECKBOXDELEGATE_H
|
|
#define NORMALCHECKBOXDELEGATE_H
|
|
|
|
// Qt
|
|
#include <QStyledItemDelegate>
|
|
|
|
|
|
namespace Latte {
|
|
namespace Settings {
|
|
namespace Applets {
|
|
namespace Delegate {
|
|
|
|
class NormalCheckBox : public QStyledItemDelegate
|
|
{
|
|
public:
|
|
NormalCheckBox(QObject *parent = 0);
|
|
|
|
virtual bool editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) override;
|
|
};
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif
|