KD Chart API Documentation  3.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
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 
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 
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 
53 Q_SIGNALS:
56 
57 }; // End of class HeaderFooter
58 }
59 
60 #endif // KDCHARTHEADERFOOTER_H
#define KDCHART_DECLARE_PRIVATE_DERIVED_PARENT(X, ParentType)
Definition: KDChartGlobal.h:50
A chart with one or more diagrams.
Definition: KDChartChart.h:84
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 by doxygen 1.9.1