KChart

KChartThreeDBarAttributes.h
1 /*
2  * Copyright (C) 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved.
3  *
4  * This file is part of the KD Chart library.
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of
9  * the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see <https://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef KCHARTTHREEDBARATTRIBUTES_H
21 #define KCHARTTHREEDBARATTRIBUTES_H
22 
23 #include <QMetaType>
24 #include "KChartAbstractThreeDAttributes.h"
25 #include "KChartGlobal.h"
26 
27 namespace KChart {
28 
32  class KCHART_EXPORT ThreeDBarAttributes : public AbstractThreeDAttributes
33  {
34  public:
37  ThreeDBarAttributes &operator= ( const ThreeDBarAttributes& );
38 
40 
41  /* threeD Bars specific */
42  void setUseShadowColors( bool useShadowColors );
43  bool useShadowColors() const;
44 
45  //Pending Michel I am not sure this will be used
46  void setAngle( uint threeDAngle );
47  uint angle() const;
48 
49  bool operator==( const ThreeDBarAttributes& ) const;
50  inline bool operator!=( const ThreeDBarAttributes& other ) const { return !operator==(other); }
51 
52  KCHART_DECLARE_SWAP_DERIVED(ThreeDBarAttributes)
53 
54  KCHART_DECLARE_PRIVATE_DERIVED(ThreeDBarAttributes)
55 
56  }; // End of class ThreeDBarAttributes
57 
58 }
59 
60 #if !defined(QT_NO_DEBUG_STREAM)
61 KCHART_EXPORT QDebug operator<<(QDebug, const KChart::ThreeDBarAttributes& );
62 #endif /* QT_NO_DEBUG_STREAM */
63 
64 KCHART_DECLARE_SWAP_SPECIALISATION_DERIVED( KChart::ThreeDBarAttributes )
65 
66 QT_BEGIN_NAMESPACE
67 Q_DECLARE_TYPEINFO( KChart::ThreeDBarAttributes, Q_MOVABLE_TYPE );
68 QT_END_NAMESPACE
69 
70 Q_DECLARE_METATYPE( KChart::ThreeDBarAttributes )
71 
72 #endif // KCHARTTHREEDBARATTRIBUTES_H
Contains KChart macros.
QDataStream & operator<<(QDataStream &out, const KDateTime::Spec &spec)
Global namespace.
A set of 3D bar attributes.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Nov 30 2020 22:37:02 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.