KReport

KReportLineStyle.shared.h
1/* This file is part of the KDE project
2 * Copyright (C) 2015 Jarosław Staniek <staniek@kde.org>
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef KREPORTLINESTYLE_H
19#define KREPORTLINESTYLE_H
20
21#include "kreport_export.h"
22
23#include <QColor>
24
25//! @brief The KReportLineStyle class represents line style
26class KREPORT_EXPORT KReportLineStyle //SDC: explicit operator== virtual_dtor
27{
28public:
29 /*!
30 @getter
31 @return Line's width in points. The default is 0 points.
32 @setter
33 Sets the line's width to @a width.
34 */
35 qreal weight; //SDC: default=0.0
36
37 /*!
38 @getter
39 @return Line's color. The default is invalid color.
40 @setter
41 Sets the line's color to @a color.
42 */
43 QColor color; //SDC:
44
45 /*!
46 @getter
47 @return Line's pen style. The default is Qt::NoPen.
48 @setter
49 Sets the line's color to @a color.
50 */
51 Qt::PenStyle penStyle; //SDC: default=Qt::NoPen
52};
53
54#endif // KREPORTLABELELEMENT_H
The KReportLineStyle class represents line style.
PenStyle
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 12 2024 12:06:50 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.