KD Reports API Documentation
2.2
src
KDReports
KDReportsHtmlElement.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 KDREPORTSHTMLELEMENT_H
12
#define KDREPORTSHTMLELEMENT_H
13
14
#include "
KDReportsElement.h
"
15
#include <QtCore/QString>
16
17
namespace
KDReports
{
18
class
HtmlElementPrivate;
19
25
class
KDREPORTS_EXPORT
HtmlElement
:
public
Element
26
{
27
public
:
31
explicit
HtmlElement
(
const
QString &html = QString());
35
~
HtmlElement
()
override
;
36
41
HtmlElement
(
const
HtmlElement
&other);
45
HtmlElement
&operator=(
const
HtmlElement
&other);
46
50
void
setHtml(
const
QString &html);
51
56
QString html()
const
;
57
61
HtmlElement
&
operator<<
(
const
QString &);
62
67
void
setId(
const
QString &
id
);
68
73
QString id()
const
;
74
79
void
build(
ReportBuilder
&builder)
const override
;
84
Element
*clone()
const override
;
85
86
private
:
87
std::unique_ptr<HtmlElementPrivate> d;
88
};
89
90
}
91
92
#endif
/* KDREPORTSHTMLELEMENT_H */
KDReportsElement.h
KDREPORTS_EXPORT
#define KDREPORTS_EXPORT
Definition:
KDReportsGlobal.h:23
operator<<
QDebug operator<<(QDebug &dbg, QTextOption::Tab tab)
Definition:
KDReportsReportBuilder.cpp:183
KDReports::Element
Definition:
KDReportsElement.h:35
KDReports::HtmlElement
Definition:
KDReportsHtmlElement.h:26
KDReports::ReportBuilder
Definition:
KDReportsReportBuilder_p.h:36
KDReports
Definition:
KDReportsAbstractReportLayout_p.h:24
© 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 by doxygen 1.9.1