Warning, file /plasma/latte-dock/app/settings/settingsdialog/delegates/layoutcmbitemdelegate.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: 2020 Michail Vourlakos <mvourlakos@gmail.com>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef LAYOUTCMBITEMDELEGATE_H
0007 #define LAYOUTCMBITEMDELEGATE_H
0008 
0009 // local
0010 #include "../../../data/layouticondata.h"
0011 
0012 // Qt
0013 #include <QStyledItemDelegate>
0014 
0015 class QModelIndex;
0016 class QWidget;
0017 
0018 namespace Latte {
0019 namespace Settings {
0020 namespace Layout {
0021 namespace Delegate {
0022 
0023 class LayoutCmbItemDelegate : public QStyledItemDelegate
0024 {
0025     Q_OBJECT
0026 public:
0027     LayoutCmbItemDelegate(QObject *parent = 0);
0028 
0029     void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
0030 };
0031 
0032 }
0033 }
0034 }
0035 }
0036 
0037 #endif