KD Reports API Documentation 2.2
Loading...
Searching...
No Matches
KDReportsHLineElement.h
Go to the documentation of this file.
1/****************************************************************************
2**
3** This file is part of the KD Reports library.
4**
5** SPDX-FileCopyrightText: 2007 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6**
7** SPDX-License-Identifier: MIT
8**
9****************************************************************************/
10
11#ifndef KDREPORTSHLINEELEMENT_H
12#define KDREPORTSHLINEELEMENT_H
13
14#include "KDReportsElement.h"
15#include <QtCore/QString>
16
17QT_BEGIN_NAMESPACE
18class QColor;
19class QFont;
20class QTextDocument;
21QT_END_NAMESPACE
22
23namespace KDReports {
24class HLineElementPrivate;
25
31{
32public:
40 ~HLineElement() override;
41
46 HLineElement(const HLineElement &other);
50 HLineElement &operator=(const HLineElement &other);
51
55 void setColor(const QColor &color);
56
60 QColor color() const;
61
65 void setThickness(qreal t);
66
70 qreal thickness() const;
71
75 void setMargin(int m);
76
80 int margin() const;
81
82 void build(ReportBuilder &builder) const override;
87 Element *clone() const override;
88
89private:
90 std::unique_ptr<HLineElementPrivate> d;
91};
92
93}
94
95#endif /* KDREPORTSHLINELEMENT_H */
#define KDREPORTS_EXPORT

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-reports/
Generated on Wed Apr 24 2024 04:08:14 for KD Reports API Documentation by doxygen 1.9.8