KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
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
17namespace KDChart {
18
19class Chart;
20class TextAttributes;
21
25class KDCHART_EXPORT HeaderFooter : public TextArea
26{
27 Q_OBJECT
28
30
31public:
32 HeaderFooter(Chart *parent = nullptr);
33 ~HeaderFooter() override;
34
35 virtual HeaderFooter *clone() const;
36
37 bool compare(const HeaderFooter &other) const;
38
40 {
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
53Q_SIGNALS:
56
57}; // End of class HeaderFooter
58}
59
60#endif // KDCHARTHEADERFOOTER_H
#define KDCHART_DECLARE_PRIVATE_DERIVED_PARENT(X, ParentType)
A chart with one or more diagrams.
A header or footer displaying text above or below charts.
void positionChanged(HeaderFooter *)
void destroyedHeaderFooter(HeaderFooter *)
Defines a position, using compass terminology.
A text area in the chart with a background, a frame, etc.

© 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