File indexing completed on 2024-12-15 04:02:31

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 KCHARTLEVEYJENNINGSCOORDINATEPLANE_P_H
0010 #define KCHARTLEVEYJENNINGSCOORDINATEPLANE_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 <QRectF>
0024 
0025 #include "KChartLeveyJenningsCoordinatePlane.h"
0026 #include "KChartLeveyJenningsGrid.h"
0027 #include "KChartCartesianCoordinatePlane_p.h"
0028 #include "KChartMath_p.h"
0029 
0030 namespace KChart {
0031 
0032     class CartesianAxis;
0033 
0034     /**
0035      * \internal
0036      */
0037 
0038     class Q_DECL_HIDDEN LeveyJenningsCoordinatePlane::Private : public CartesianCoordinatePlane::Private
0039     {
0040         friend class LeveyJenningsCoordinatePlane;
0041 
0042     public:
0043         explicit Private();
0044 
0045         ~Private() override {
0046             // grid is delete in base class dtor
0047         }
0048 
0049         void initialize() override
0050         {
0051             grid = new LeveyJenningsGrid();
0052         }
0053 
0054         LeveyJenningsGridAttributes gridAttributes;
0055     };
0056 
0057     KCHART_IMPL_DERIVED_PLANE(LeveyJenningsCoordinatePlane, CartesianCoordinatePlane)
0058 }
0059 
0060 #endif /* KCHARTTERNARYCOORDINATEPLANE_P_H */