KChart

KChartThreeDPieAttributes.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 KCHARTTHREEDPIEATTRIBUTES_H
10#define KCHARTTHREEDPIEATTRIBUTES_H
11
12#include <QMetaType>
13#include "KChartAbstractThreeDAttributes.h"
14#include "KChartGlobal.h"
15
16namespace KChart {
17
18 /**
19 * @brief A set of 3D pie attributes
20 */
21 class KCHART_EXPORT ThreeDPieAttributes : public AbstractThreeDAttributes
22 {
23 public:
26 ThreeDPieAttributes &operator= ( const ThreeDPieAttributes& );
27
28 ~ThreeDPieAttributes() override;
29
30 /* threeD Pies specific */
31 void setUseShadowColors( bool useShadowColors );
32 bool useShadowColors() const;
33
34 bool operator==( const ThreeDPieAttributes& ) const;
35 inline bool operator!=( const ThreeDPieAttributes& other ) const { return !operator==(other); }
36
37 KCHART_DECLARE_SWAP_DERIVED(ThreeDPieAttributes)
38
39private:
40 KCHART_DECLARE_PRIVATE_DERIVED(ThreeDPieAttributes)
41
42 }; // End of class ThreeDPieAttributes
43
44}
45
46#if !defined(QT_NO_DEBUG_STREAM)
47KCHART_EXPORT QDebug operator<<(QDebug, const KChart::ThreeDPieAttributes& );
48#endif /* QT_NO_DEBUG_STREAM */
49
50KCHART_DECLARE_SWAP_SPECIALISATION_DERIVED( KChart::ThreeDPieAttributes )
51
52QT_BEGIN_NAMESPACE
53Q_DECLARE_TYPEINFO( KChart::ThreeDPieAttributes, Q_MOVABLE_TYPE );
54QT_END_NAMESPACE
55
56Q_DECLARE_METATYPE( KChart::ThreeDPieAttributes )
57
58#endif // KCHARTTHREEDPIEATTRIBUTES_H
Contains KChart macros.
A set of 3D pie 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.