KChart

KChartThreeDBarAttributes.h
1 /*
2  * SPDX-FileCopyrightText: 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved.
3  *
4  * This file is part of the KD Chart library.
5  *
6  * SPDX-License-Identifier: GPL-2.0-or-later
7  */
8 
9 #ifndef KCHARTTHREEDBARATTRIBUTES_H
10 #define KCHARTTHREEDBARATTRIBUTES_H
11 
12 #include <QMetaType>
13 #include "KChartAbstractThreeDAttributes.h"
14 #include "KChartGlobal.h"
15 
16 namespace KChart {
17 
18  /**
19  * @brief A set of 3D bar attributes
20  */
21  class KCHART_EXPORT ThreeDBarAttributes : public AbstractThreeDAttributes
22  {
23  public:
26  ThreeDBarAttributes &operator= ( const ThreeDBarAttributes& );
27 
28  ~ThreeDBarAttributes() override;
29 
30  /* threeD Bars specific */
31  void setUseShadowColors( bool useShadowColors );
32  bool useShadowColors() const;
33 
34  //Pending Michel I am not sure this will be used
35  void setAngle( uint threeDAngle );
36  uint angle() const;
37 
38  bool operator==( const ThreeDBarAttributes& ) const;
39  inline bool operator!=( const ThreeDBarAttributes& other ) const { return !operator==(other); }
40 
41  KCHART_DECLARE_SWAP_DERIVED(ThreeDBarAttributes)
42 
43  KCHART_DECLARE_PRIVATE_DERIVED(ThreeDBarAttributes)
44 
45  }; // End of class ThreeDBarAttributes
46 
47 }
48 
49 #if !defined(QT_NO_DEBUG_STREAM)
50 KCHART_EXPORT QDebug operator<<(QDebug, const KChart::ThreeDBarAttributes& );
51 #endif /* QT_NO_DEBUG_STREAM */
52 
53 KCHART_DECLARE_SWAP_SPECIALISATION_DERIVED( KChart::ThreeDBarAttributes )
54 
55 QT_BEGIN_NAMESPACE
56 Q_DECLARE_TYPEINFO( KChart::ThreeDBarAttributes, Q_MOVABLE_TYPE );
57 QT_END_NAMESPACE
58 
59 Q_DECLARE_METATYPE( KChart::ThreeDBarAttributes )
60 
61 #endif // KCHARTTHREEDBARATTRIBUTES_H
KCALENDARCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalendarCore::Alarm::Ptr &)
A set of 3D bar attributes.
Contains KChart macros.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:53:02 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.