Changeset View
Changeset View
Standalone View
Standalone View
src/KChart/Polar/KChartRadarDiagram.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
45 | explicit RadarDiagram( | 45 | explicit RadarDiagram( | ||
46 | QWidget* parent = nullptr, RadarCoordinatePlane* plane = nullptr ); | 46 | QWidget* parent = nullptr, RadarCoordinatePlane* plane = nullptr ); | ||
47 | virtual ~RadarDiagram(); | 47 | virtual ~RadarDiagram(); | ||
48 | 48 | | |||
49 | virtual void paint ( PaintContext* paintContext, | 49 | virtual void paint ( PaintContext* paintContext, | ||
50 | bool calculateListAndReturnScale, | 50 | bool calculateListAndReturnScale, | ||
51 | qreal& newZoomX, qreal& newZoomY ); | 51 | qreal& newZoomX, qreal& newZoomY ); | ||
52 | /** \reimpl */ | 52 | /** \reimpl */ | ||
53 | void resize ( const QSizeF& area ) Q_DECL_OVERRIDE; | 53 | void resize ( const QSizeF& area ) override; | ||
54 | 54 | | |||
55 | /** \reimpl */ | 55 | /** \reimpl */ | ||
56 | qreal valueTotals () const Q_DECL_OVERRIDE; | 56 | qreal valueTotals () const override; | ||
57 | /** \reimpl */ | 57 | /** \reimpl */ | ||
58 | qreal numberOfValuesPerDataset() const Q_DECL_OVERRIDE; | 58 | qreal numberOfValuesPerDataset() const override; | ||
59 | /** \reimpl */ | 59 | /** \reimpl */ | ||
60 | qreal numberOfGridRings() const Q_DECL_OVERRIDE; | 60 | qreal numberOfGridRings() const override; | ||
61 | 61 | | |||
62 | /** | 62 | /** | ||
63 | * if val is true the diagram will mirror the diagram datapoints | 63 | * if val is true the diagram will mirror the diagram datapoints | ||
64 | */ | 64 | */ | ||
65 | void setReverseData( bool val ); | 65 | void setReverseData( bool val ); | ||
66 | bool reverseData(); | 66 | bool reverseData(); | ||
67 | 67 | | |||
68 | virtual RadarDiagram * clone() const; | 68 | virtual RadarDiagram * clone() const; | ||
Show All 12 Lines | |||||
81 | * not be filled with any color. If set to 1.0 then the areas will be | 81 | * not be filled with any color. If set to 1.0 then the areas will be | ||
82 | * solid filled and are not transparent. | 82 | * solid filled and are not transparent. | ||
83 | */ | 83 | */ | ||
84 | qreal fillAlpha() const; | 84 | qreal fillAlpha() const; | ||
85 | void setFillAlpha(qreal alphaF); | 85 | void setFillAlpha(qreal alphaF); | ||
86 | 86 | | |||
87 | protected: | 87 | protected: | ||
88 | /** \reimpl */ | 88 | /** \reimpl */ | ||
89 | const QPair<QPointF, QPointF> calculateDataBoundaries() const Q_DECL_OVERRIDE; | 89 | const QPair<QPointF, QPointF> calculateDataBoundaries() const override; | ||
90 | void paintEvent ( QPaintEvent* ) Q_DECL_OVERRIDE; | 90 | void paintEvent ( QPaintEvent* ) override; | ||
91 | void resizeEvent ( QResizeEvent* ) Q_DECL_OVERRIDE; | 91 | void resizeEvent ( QResizeEvent* ) override; | ||
92 | void paint ( PaintContext* paintContext ) Q_DECL_OVERRIDE; | 92 | void paint ( PaintContext* paintContext ) override; | ||
93 | 93 | | |||
94 | }; // End of class RadarDiagram | 94 | }; // End of class RadarDiagram | ||
95 | 95 | | |||
96 | } | 96 | } | ||
97 | 97 | | |||
98 | #endif // KCHARTRADARDIAGRAM_H | 98 | #endif // KCHARTRADARDIAGRAM_H |