Warning, file /network/ruqola/src/widgets/common/delegatepaintutil.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-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QString> 0010 class QPainter; 0011 class QPointF; 0012 class QPoint; 0013 class QRectF; 0014 class QPixmap; 0015 0016 namespace DelegatePaintUtil 0017 { 0018 void drawLighterText(QPainter *painter, const QString &text, QPoint pos); 0019 [[nodiscard]] int margin(); 0020 void createClipRoundedRectangle(QPainter *painter, const QRectF &rect, QPointF pos, const QPixmap &pix); 0021 }