KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
KDChartValueTrackerAttributes.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 KDCHARTVALUETRACKERATTRIBUTES_H
12#define KDCHARTVALUETRACKERATTRIBUTES_H
13
14#include "KDChartGlobal.h"
15#include <QDebug>
16#include <QMetaType>
17
18namespace KDChart {
19
30class KDCHART_EXPORT ValueTrackerAttributes
31{
32public:
36
38
42 void setPen(const QPen &pen);
43
47 QPen pen() const;
48
49 void setLinePen(const QPen &pen);
50 QPen linePen() const;
51
52 void setMarkerPen(const QPen &pen);
53 QPen markerPen() const;
54
55 void setMarkerBrush(const QBrush &brush);
56 QBrush markerBrush() const;
57
58 void setArrowBrush(const QBrush &brush);
59 QBrush arrowBrush() const;
60
66 void setAreaBrush(const QBrush &brush);
67
71 QBrush areaBrush() const;
72
77 void setMarkerSize(const QSizeF &size);
78
82 QSizeF markerSize() const;
83
88 Qt::Orientations orientations() const;
89
93 void setOrientations(Qt::Orientations orientations);
94
99 void setEnabled(bool enabled);
100
104 bool isEnabled() const;
105
106 bool operator==(const ValueTrackerAttributes &) const;
107 inline bool operator!=(const ValueTrackerAttributes &other) const
108 {
109 return !operator==(other);
110 }
111
112private:
114}; // End of class ValueTrackerAttributes
115}
116
117#if !defined(QT_NO_DEBUG_STREAM)
119#endif /* QT_NO_DEBUG_STREAM */
120
122
123QT_BEGIN_NAMESPACE
125QT_END_NAMESPACE
126
127Q_DECLARE_METATYPE(KDChart::ValueTrackerAttributes)
128
129#endif // KDCHARTVALUETRACKERATTRIBUTES_H
Contains KDChart macros.
#define KDCHART_DECLARE_SWAP_SPECIALISATION(X)
#define KDCHART_DECLARE_PRIVATE_BASE_VALUE(X)
QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(KDChart::ValueTrackerAttributes, Q_MOVABLE_TYPE)
KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::ValueTrackerAttributes &)
Cell-specific attributes regarding value tracking.
bool operator!=(const ValueTrackerAttributes &other) const
bool operator==(const TickInfo &, const TickInfo &)
typedef Orientations

© 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