KD Reports
1.8
src
KDReports
KDReportsHLineElement.h
1
/****************************************************************************
2
** Copyright (C) 2007-2020 Klaralvdalens Datakonsult AB. All rights reserved.
3
**
4
** This file is part of the KD Reports library.
5
**
6
** Licensees holding valid commercial KD Reports licenses may use this file in
7
** accordance with the KD Reports Commercial License Agreement provided with
8
** the Software.
9
**
10
**
11
** This file may be distributed and/or modified under the terms of the
12
** GNU Lesser General Public License version 2.1 and version 3 as published by the
13
** Free Software Foundation and appearing in the file LICENSE.LGPL.txt included.
14
**
15
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17
**
18
** Contact info@kdab.com if any conditions of this licensing are not
19
** clear to you.
20
**
21
**********************************************************************/
22
23
#ifndef KDREPORTSHLINEELEMENT_H
24
#define KDREPORTSHLINEELEMENT_H
25
26
#include "KDReportsElement.h"
27
#include <QtCore/QString>
28
29
QT_BEGIN_NAMESPACE
30
class
QColor;
31
class
QFont;
32
class
QTextDocument;
33
QT_END_NAMESPACE
34
35
namespace
KDReports
{
36
class
HLineElementPrivate;
37
42
class
KDREPORTS_EXPORT
HLineElement
:
public
Element
43
{
44
public
:
48
HLineElement
();
52
virtual
~HLineElement
();
53
58
HLineElement
(
const
HLineElement
&other);
62
HLineElement
&
operator=
(
const
HLineElement
&other);
63
67
void
setColor
(
const
QColor& color );
68
72
QColor
color
()
const
;
73
77
void
setThickness
(
int
w);
78
82
int
thickness
()
const
;
83
87
void
setMargin
(
int
m);
88
92
int
margin
()
const
;
93
94
void
build( ReportBuilder& builder )
const
;
99
Element
* clone()
const
;
100
101
private
:
102
103
HLineElementPrivate*
const
d;
104
};
105
106
}
107
108
#endif
/* KDREPORTSHLINELEMENT_H */
109
KDReports::HLineElement::setMargin
void setMargin(int m)
KDReports::HLineElement
Definition:
KDReportsHLineElement.h:43
KDReports::HLineElement::thickness
int thickness() const
KDReports::HLineElement::setColor
void setColor(const QColor &color)
KDReports::HLineElement::HLineElement
HLineElement(const HLineElement &other)
KDReports::HLineElement::~HLineElement
virtual ~HLineElement()
KDReports::HLineElement::color
QColor color() const
KDReports::Element
Definition:
KDReportsElement.h:46
KDReports::HLineElement::HLineElement
HLineElement()
KDReports::HLineElement::margin
int margin() const
KDReports::HLineElement::setThickness
void setThickness(int w)
KDReports
Definition:
KDReportsAbstractTableElement.h:36
KDReports::HLineElement::operator=
HLineElement & operator=(const HLineElement &other)
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/