KD Chart API Documentation  3.1
KDChartLeveyJenningsCoordinatePlane.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** This file is part of the KD Chart library.
4 **
5 ** SPDX-FileCopyrightText: 2001 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: MIT
8 **
9 ****************************************************************************/
10 
11 #ifndef KDCHARTLEVEYJENNINGSCOORDINATEPLANE_H
12 #define KDCHARTLEVEYJENNINGSCOORDINATEPLANE_H
13 
15 
17 
18 namespace KDChart {
19 
20 class LeveyJenningsGrid;
21 
28 class KDCHART_EXPORT LeveyJenningsCoordinatePlane
30 {
31  Q_OBJECT
32  Q_DISABLE_COPY(LeveyJenningsCoordinatePlane)
34 
35  friend class LeveyJenningsGrid;
36 
37 public:
38  explicit LeveyJenningsCoordinatePlane(Chart *parent = nullptr);
39  ~LeveyJenningsCoordinatePlane() override;
40 
41  void addDiagram(AbstractDiagram *diagram) override;
42 
43  LeveyJenningsGridAttributes gridAttributes() const;
44  void setGridAttributes(const LeveyJenningsGridAttributes &attr);
45 
46 protected:
47  const QPointF translateBack(const QPointF &screenPoint) const;
48 
49 private:
50  LeveyJenningsGrid *grid() const;
51 };
52 }
53 
54 #endif
#define KDCHART_DECLARE_PRIVATE_DERIVED_PARENT(X, ParentType)
Definition: KDChartGlobal.h:50
AbstractDiagram defines the interface for diagram classes.
A chart with one or more diagrams.
Definition: KDChartChart.h:84
Levey Jennings coordinate plane This is actually nothing real more than a plain cartesian coordinate ...
A set of attributes controlling the appearance of grids.

© 2001 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-chart/
Generated by doxygen 1.9.1