KD Chart API Documentation
3.1
Loading...
Searching...
No Matches
source
src
KDChart
KDChartHeaderFooter.h
Go to the documentation of this file.
1
/****************************************************************************
2
**
3
** This file is part of the KD Chart library.
4
**
5
** SPDX-FileCopyrightText: 2001 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6
**
7
** SPDX-License-Identifier: MIT
8
**
9
****************************************************************************/
10
11
#ifndef KDCHARTHEADERFOOTER_H
12
#define KDCHARTHEADERFOOTER_H
13
14
#include "
KDChartPosition.h
"
15
#include "
KDChartTextArea.h
"
16
17
namespace
KDChart
{
18
19
class
Chart;
20
class
TextAttributes;
21
25
class
KDCHART_EXPORT
HeaderFooter
:
public
TextArea
26
{
27
Q_OBJECT
28
29
KDCHART_DECLARE_PRIVATE_DERIVED_PARENT
(
HeaderFooter
,
Chart
*)
30
31
public
:
32
HeaderFooter
(
Chart
*parent =
nullptr
);
33
~HeaderFooter
()
override
;
34
35
virtual
HeaderFooter
*clone()
const
;
36
37
bool
compare(
const
HeaderFooter
&other)
const
;
38
39
enum
HeaderFooterType
40
{
41
Header
,
42
Footer
43
};
44
45
void
setType(HeaderFooterType type);
46
HeaderFooterType type()
const
;
47
48
void
setPosition(
Position
position);
49
Position
position()
const
;
50
51
void
setParent(
QObject
*parent);
52
53
Q_SIGNALS:
54
void
destroyedHeaderFooter
(
HeaderFooter
*);
55
void
positionChanged
(
HeaderFooter
*);
56
57
};
// End of class HeaderFooter
58
}
59
60
#endif
// KDCHARTHEADERFOOTER_H
KDCHART_DECLARE_PRIVATE_DERIVED_PARENT
#define KDCHART_DECLARE_PRIVATE_DERIVED_PARENT(X, ParentType)
Definition
KDChartGlobal.h:50
KDChartPosition.h
KDChartTextArea.h
KDChart::Chart
A chart with one or more diagrams.
Definition
KDChartChart.h:84
KDChart::HeaderFooter
A header or footer displaying text above or below charts.
Definition
KDChartHeaderFooter.h:26
KDChart::HeaderFooter::HeaderFooterType
HeaderFooterType
Definition
KDChartHeaderFooter.h:40
KDChart::HeaderFooter::Header
@ Header
Definition
KDChartHeaderFooter.h:41
KDChart::HeaderFooter::positionChanged
void positionChanged(HeaderFooter *)
KDChart::HeaderFooter::destroyedHeaderFooter
void destroyedHeaderFooter(HeaderFooter *)
KDChart::Position
Defines a position, using compass terminology.
Definition
KDChartPosition.h:63
KDChart::TextArea
A text area in the chart with a background, a frame, etc.
Definition
KDChartTextArea.h:35
KDChart
Definition
CartesianCoordinateTransformation.h:23
QObject
© 2001 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-chart/
Generated on Wed May 1 2024 00:01:10 for KD Chart API Documentation by doxygen 1.9.8