KD Chart API Documentation
3.1
src
KDChart
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
16
#include "
KDChartAbstractAreaBase.h
"
17
#include "
KDChartGlobal.h
"
18
#include "
KDChartLayoutItems.h
"
19
20
namespace
KDChart
{
21
34
class
KDCHART_EXPORT
TextArea
:
public
QObject,
public
AbstractAreaBase
,
public
TextLayoutItem
35
{
36
Q_OBJECT
37
38
Q_DISABLE_COPY(
TextArea
)
39
KDCHART_DECLARE_PRIVATE_DERIVED
(
TextArea
)
40
41
public
:
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
59
protected
:
60
TextArea
();
61
QRect areaGeometry()
const override
;
62
void
positionHasChanged()
override
;
63
64
Q_SIGNALS:
65
void
positionChanged
(
TextArea
*);
66
67
// KDCHART_DECLARE_PRIVATE_DERIVED(TextArea)
68
};
// End of class TextArea
69
}
70
#endif
// KDCHART_TEXT_AREA_H
KDChartAbstractAreaBase.h
KDChartGlobal.h
Contains KDChart macros.
KDCHART_DECLARE_PRIVATE_DERIVED
#define KDCHART_DECLARE_PRIVATE_DERIVED(X)
Definition:
KDChartGlobal.h:38
KDChartLayoutItems.h
KDChart::AbstractAreaBase
Base class for AbstractArea and AbstractAreaWidget: An area in the chart with a background,...
Definition:
KDChartAbstractAreaBase.h:52
KDChart::TextArea
A text area in the chart with a background, a frame, etc.
Definition:
KDChartTextArea.h:35
KDChart::TextArea::positionChanged
void positionChanged(TextArea *)
KDChart::TextLayoutItem
Definition:
KDChartLayoutItems.h:89
KDChart
Definition:
CartesianCoordinateTransformation.h:23
© 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