File indexing completed on 2024-12-15 04:02:34
0001 /* 0002 * SPDX-FileCopyrightText: 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved. 0003 * 0004 * This file is part of the KD Chart library. 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #ifndef KCHARTABSTRACTPIEDIAGRAM_P_H 0010 #define KCHARTABSTRACTPIEDIAGRAM_P_H 0011 0012 // 0013 // W A R N I N G 0014 // ------------- 0015 // 0016 // This file is not part of the KD Chart API. It exists purely as an 0017 // implementation detail. This header file may change from version to 0018 // version without notice, or even be removed. 0019 // 0020 // We mean it. 0021 // 0022 0023 #include "KChartAbstractPieDiagram.h" 0024 #include "KChartAbstractPolarDiagram_p.h" 0025 #include <KChartAbstractThreeDAttributes.h> 0026 #include "KChartMath_p.h" 0027 0028 0029 namespace KChart { 0030 0031 class PolarCoordinatePlane; 0032 0033 /** 0034 * \internal 0035 */ 0036 class Q_DECL_HIDDEN AbstractPieDiagram::Private : public AbstractPolarDiagram::Private 0037 { 0038 friend class AbstractPieDiagram; 0039 public: 0040 Private(); 0041 ~Private() override; 0042 0043 Private( const Private& rhs ) : 0044 AbstractPolarDiagram::Private( rhs ), 0045 granularity( rhs.granularity ), 0046 autoRotateLabels( false ) 0047 { 0048 } 0049 0050 private: 0051 qreal granularity; 0052 bool autoRotateLabels; 0053 }; 0054 0055 KCHART_IMPL_DERIVED_DIAGRAM( AbstractPieDiagram, AbstractPolarDiagram, PolarCoordinatePlane ) 0056 0057 } 0058 #endif /* KCHARTABSTRACTPIEDIAGRAM_P_H */