File indexing completed on 2024-12-01 11:10:33

0001 /*
0002     SPDX-FileCopyrightText: 2020 Michail Vourlakos <mvourlakos@gmail.com>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef LAYOUTSHEADERVIEW_H
0007 #define LAYOUTSHEADERVIEW_H
0008 
0009 // Qt
0010 #include <QHeaderView>
0011 
0012 namespace Latte {
0013 namespace Settings {
0014 namespace Layouts {
0015 
0016 class HeaderView : public QHeaderView
0017 {
0018 public:
0019     HeaderView(Qt::Orientation orientation, QWidget *parent = nullptr);
0020 
0021     void paintSection(QPainter *painter, const QRect &rect, int logicalIndex) const override;
0022 };
0023 
0024 }
0025 }
0026 }
0027 #endif