KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
KDChartTextArea.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 KDCHART_TEXT_AREA_H
12#define KDCHART_TEXT_AREA_H
13
14#include <QObject>
15
17#include "KDChartGlobal.h"
18#include "KDChartLayoutItems.h"
19
20namespace KDChart {
21
34class KDCHART_EXPORT TextArea : public QObject, public AbstractAreaBase, public TextLayoutItem
35{
36 Q_OBJECT
37
38 Q_DISABLE_COPY(TextArea)
40
41public:
42 ~TextArea() override;
43
44 // virtual TextArea * clone() const = 0;
51 virtual void paintIntoRect(QPainter &painter, const QRect &rect);
52
57 void paintAll(QPainter &painter) override;
58
59protected:
60 TextArea();
61 QRect areaGeometry() const override;
62 void positionHasChanged() override;
63
64Q_SIGNALS:
66
67 // KDCHART_DECLARE_PRIVATE_DERIVED(TextArea)
68}; // End of class TextArea
69}
70#endif // KDCHART_TEXT_AREA_H
Contains KDChart macros.
#define KDCHART_DECLARE_PRIVATE_DERIVED(X)
Base class for AbstractArea and AbstractAreaWidget: An area in the chart with a background,...
A text area in the chart with a background, a frame, etc.
void positionChanged(TextArea *)

© 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