Changeset View
Changeset View
Standalone View
Standalone View
src/KChart/Ternary/KChartTernaryGrid.h
Show All 39 Lines | 28 | namespace KChart { | |||
---|---|---|---|---|---|
40 | // VERIFY: Grids are not public API, are they? | 40 | // VERIFY: Grids are not public API, are they? | ||
41 | class TernaryGrid : public AbstractGrid | 41 | class TernaryGrid : public AbstractGrid | ||
42 | { | 42 | { | ||
43 | public: | 43 | public: | ||
44 | TernaryGrid(); | 44 | TernaryGrid(); | ||
45 | 45 | | |||
46 | virtual ~TernaryGrid(); | 46 | virtual ~TernaryGrid(); | ||
47 | 47 | | |||
48 | void drawGrid( PaintContext* context ) Q_DECL_OVERRIDE; | 48 | void drawGrid( PaintContext* context ) override; | ||
49 | DataDimensionsList calculateGrid( const DataDimensionsList& rawDataDimensions ) const Q_DECL_OVERRIDE; | 49 | DataDimensionsList calculateGrid( const DataDimensionsList& rawDataDimensions ) const override; | ||
50 | 50 | | |||
51 | /** Returns two QSizeF objects specifying the dimension of the | 51 | /** Returns two QSizeF objects specifying the dimension of the | ||
52 | margins needed between each corner of the diagram and the | 52 | margins needed between each corner of the diagram and the | ||
53 | border of the drawing area. Margins are required because | 53 | border of the drawing area. Margins are required because | ||
54 | the tick marks are placed outside of the trianges | 54 | the tick marks are placed outside of the trianges | ||
55 | containing rectangle. | 55 | containing rectangle. | ||
56 | The margins are returned in <em>diagram coordinates</em>, | 56 | The margins are returned in <em>diagram coordinates</em>, | ||
57 | since the grid does not know about widget coordinates. | 57 | since the grid does not know about widget coordinates. | ||
Show All 16 Lines |