KD Chart API Documentation  3.1
KDChartThreeDLineAttributes.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 "KDChartThreeDLineAttributes_p.h"
13 
14 #include <QDebug>
15 
16 #include <KDABLibFakes>
17 
18 #define d d_func()
19 
20 using namespace KDChart;
21 
22 ThreeDLineAttributes::Private::Private()
23 {
24 }
25 
27  : AbstractThreeDAttributes(new Private())
28 {
29 }
30 
32  : AbstractThreeDAttributes(new Private(*r.d))
33 {
34 }
35 
37 {
38  if (this == &r)
39  return *this;
40 
41  *d = *r.d;
42 
43  return *this;
44 }
45 
47 {
48 }
49 
50 void ThreeDLineAttributes::init()
51 {
52 }
53 
55 {
56  return (lineXRotation() == r.lineXRotation() && lineYRotation() == r.lineYRotation() && AbstractThreeDAttributes::operator==(r));
57 }
58 
60 {
61  d->lineXRotation = degrees;
62 }
63 
65 {
66  return d->lineXRotation;
67 }
68 
70 {
71  d->lineYRotation = degrees;
72 }
73 
75 {
76  return d->lineYRotation;
77 }
78 
79 #if !defined(QT_NO_DEBUG_STREAM)
80 
81 QDebug operator<<(QDebug dbg, const KDChart::ThreeDLineAttributes &a)
82 {
83  dbg << "KDChart::ThreeDLineAttributes(";
84  dbg = operator<<(dbg, static_cast<const AbstractThreeDAttributes &>(a));
85  dbg << " lineXRotation=" << a.lineXRotation()
86  << " lineYRotation=" << a.lineYRotation()
87  << ")";
88  return dbg;
89 }
90 #endif /* QT_NO_DEBUG_STREAM */
ThreeDLineAttributes & operator=(const ThreeDLineAttributes &)
bool operator==(const ThreeDLineAttributes &) const
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 by doxygen 1.9.1