KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
KDChartPieAttributes.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_PIE_ATTRIBUTES_H
12#define KDCHART_PIE_ATTRIBUTES_H
13
15#include "KDChartGlobal.h"
16#include <QMetaType>
17
18namespace KDChart {
19
23class KDCHART_EXPORT PieAttributes
24{
25public:
28 PieAttributes &operator=(const PieAttributes &);
29
31
43 void setExplode(bool explode);
44
46 bool explode() const;
47
54 void setExplodeFactor(qreal factor);
55
57 qreal explodeFactor() const;
58
59 void setGapFactor(bool circular, qreal factor);
60 qreal gapFactor(bool circular) const;
61
62 bool operator==(const PieAttributes &) const;
63 inline bool operator!=(const PieAttributes &other) const
64 {
65 return !operator==(other);
66 }
67
68private:
70}; // End of class PieAttributes
71}
72
73#if !defined(QT_NO_DEBUG_STREAM)
74KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::PieAttributes &);
75#endif /* QT_NO_DEBUG_STREAM */
76
78
79QT_BEGIN_NAMESPACE
81QT_END_NAMESPACE
82
83Q_DECLARE_METATYPE(KDChart::PieAttributes)
84
85#endif // KDCHART_PIE_ATTRIBUTES_H
Contains KDChart macros.
#define KDCHART_DECLARE_SWAP_SPECIALISATION(X)
#define KDCHART_DECLARE_PRIVATE_BASE_VALUE(X)
QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(KDChart::PieAttributes, Q_MOVABLE_TYPE)
KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::PieAttributes &)
A set of attributes controlling the appearance of pie charts.
bool operator!=(const PieAttributes &other) const
bool operator==(const TickInfo &, const TickInfo &)

© 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