KD Reports API Documentation
2.2
Loading...
Searching...
No Matches
source
src
KDReports
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
17
QT_BEGIN_NAMESPACE
18
class
QColor
;
19
class
QFont
;
20
class
QTextDocument
;
21
QT_END_NAMESPACE
22
23
namespace
KDReports
{
24
class
HLineElementPrivate;
25
30
class
KDREPORTS_EXPORT
HLineElement
:
public
Element
31
{
32
public
:
36
HLineElement
();
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
89
private
:
90
std::unique_ptr<HLineElementPrivate> d;
91
};
92
93
}
94
95
#endif
/* KDREPORTSHLINELEMENT_H */
KDReportsElement.h
KDREPORTS_EXPORT
#define KDREPORTS_EXPORT
Definition
KDReportsGlobal.h:23
KDReports::Element
Definition
KDReportsElement.h:35
KDReports::HLineElement
Definition
KDReportsHLineElement.h:31
KDReports::ReportBuilder
Definition
KDReportsReportBuilder_p.h:36
KDReports
Definition
KDReportsAbstractReportLayout_p.h:24
QColor
QFont
QTextDocument
© 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