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
16namespace 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)
50KCHART_EXPORT QDebug operator<<(QDebug, const KChart::ThreeDBarAttributes& );
51#endif /* QT_NO_DEBUG_STREAM */
52
53KCHART_DECLARE_SWAP_SPECIALISATION_DERIVED( KChart::ThreeDBarAttributes )
54
55QT_BEGIN_NAMESPACE
56Q_DECLARE_TYPEINFO( KChart::ThreeDBarAttributes, Q_MOVABLE_TYPE );
57QT_END_NAMESPACE
58
59Q_DECLARE_METATYPE( KChart::ThreeDBarAttributes )
60
61#endif // KCHARTTHREEDBARATTRIBUTES_H
Contains KChart macros.
A set of 3D bar attributes.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:59:21 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.