KTextEditor

katecategorydrawer.h
1/*
2 SPDX-FileCopyrightText: 2009 Rafael Fernández López <ereslibre@kde.org>
3 SPDX-FileCopyrightText: 2013 Dominik Haumann <dhaumann@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#ifndef KATE_CATEGORYDRAWER_H
9#define KATE_CATEGORYDRAWER_H
10
11#include <KCategoryDrawer>
12
13class QPainter;
14class QModelIndex;
15class QStyleOption;
16
17class KateCategoryDrawer : public KCategoryDrawer
18{
19public:
20 KateCategoryDrawer();
21
22 void drawCategory(const QModelIndex &index, int sortRole, const QStyleOption &option, QPainter *painter) const override;
23
24 int categoryHeight(const QModelIndex &index, const QStyleOption &option) const override;
25
26 int leftMargin() const override;
27
28 int rightMargin() const override;
29};
30
31#endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:17:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.