KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
KDChartThreeDBarAttributes.cpp
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
12#include "KDChartThreeDBarAttributes_p.h"
13
14#include <QDebug>
15
16#include <KDABLibFakes>
17
18#define d d_func()
19
20using namespace KDChart;
21
22ThreeDBarAttributes::Private::Private()
23{
24}
25
30
35
37{
38 if (this == &r)
39 return *this;
40
41 *d = *r.d;
42
43 return *this;
44}
45
49
50void ThreeDBarAttributes::init()
51{
52}
53
55{
56 return (useShadowColors() == r.useShadowColors() && angle() == r.angle() && AbstractThreeDAttributes::operator==(r));
57}
58
60{
61 d->useShadowColors = shadowColors;
62}
63
65{
66 return d->useShadowColors;
67}
68
69void ThreeDBarAttributes::setAngle(uint threeDAngle)
70{
71 d->angle = threeDAngle;
72}
73
75{
76 return d->angle;
77}
78
79#if !defined(QT_NO_DEBUG_STREAM)
81{
82 dbg << "KDChart::ThreeDBarAttributes(";
83 dbg = operator<<(dbg, static_cast<const AbstractThreeDAttributes &>(a));
84 dbg << "useShadowColors=" << a.useShadowColors()
85 << "angle=" << a.angle() << ")";
86 return dbg;
87}
88#endif /* QT_NO_DEBUG_STREAM */
bool operator==(const ThreeDBarAttributes &) const
ThreeDBarAttributes & operator=(const ThreeDBarAttributes &)
void setUseShadowColors(bool useShadowColors)
QDebug operator<<(QDebug stream, const DataDimension &r)

© 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 Fri Apr 26 2024 00:04:56 for KD Chart API Documentation by doxygen 1.9.8