File indexing completed on 2024-05-05 16:48:34
0001 /* This file is part of the KDE project 0002 * Copyright (C) 2015 Jarosław Staniek <staniek@kde.org> 0003 * 0004 * This library is free software; you can redistribute it and/or 0005 * modify it under the terms of the GNU Lesser General Public 0006 * License as published by the Free Software Foundation; either 0007 * version 2.1 of the License, or (at your option) any later version. 0008 * 0009 * This library is distributed in the hope that it will be useful, 0010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0012 * Lesser General Public License for more details. 0013 * 0014 * You should have received a copy of the GNU Lesser General Public 0015 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 0016 */ 0017 0018 #ifndef KREPORTLINESTYLE_H 0019 #define KREPORTLINESTYLE_H 0020 0021 #include "kreport_export.h" 0022 0023 #include <QColor> 0024 0025 //! @brief The KReportLineStyle class represents line style 0026 class KREPORT_EXPORT KReportLineStyle //SDC: explicit operator== virtual_dtor 0027 { 0028 public: 0029 /*! 0030 @getter 0031 @return Line's width in points. The default is 0 points. 0032 @setter 0033 Sets the line's width to @a width. 0034 */ 0035 qreal weight; //SDC: default=0.0 0036 0037 /*! 0038 @getter 0039 @return Line's color. The default is invalid color. 0040 @setter 0041 Sets the line's color to @a color. 0042 */ 0043 QColor color; //SDC: 0044 0045 /*! 0046 @getter 0047 @return Line's pen style. The default is Qt::NoPen. 0048 @setter 0049 Sets the line's color to @a color. 0050 */ 0051 Qt::PenStyle penStyle; //SDC: default=Qt::NoPen 0052 }; 0053 0054 #endif // KREPORTLABELELEMENT_H