Changeset View
Changeset View
Standalone View
Standalone View
src/KChart/KChartTextLabelCache.h
Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Line(s) | 96 | public: | |||
---|---|---|---|---|---|
108 | 108 | | |||
109 | void setPen( const QPen& ); | 109 | void setPen( const QPen& ); | ||
110 | const QPen& pen() const; | 110 | const QPen& pen() const; | ||
111 | 111 | | |||
112 | void setAngle( qreal angle ); | 112 | void setAngle( qreal angle ); | ||
113 | qreal angle() const; | 113 | qreal angle() const; | ||
114 | 114 | | |||
115 | // reimpl PrerenderedElement: | 115 | // reimpl PrerenderedElement: | ||
116 | const QPixmap& pixmap() const Q_DECL_OVERRIDE; | 116 | const QPixmap& pixmap() const override; | ||
117 | QPointF referencePointLocation( KChartEnums::PositionValue position ) const Q_DECL_OVERRIDE; | 117 | QPointF referencePointLocation( KChartEnums::PositionValue position ) const override; | ||
118 | // overload: return location of referencePoint(): | 118 | // overload: return location of referencePoint(): | ||
119 | QPointF referencePointLocation() const; | 119 | QPointF referencePointLocation() const; | ||
120 | 120 | | |||
121 | protected: | 121 | protected: | ||
122 | void invalidate() const Q_DECL_OVERRIDE; | 122 | void invalidate() const override; | ||
123 | 123 | | |||
124 | private: | 124 | private: | ||
125 | /** Create a label with the given text and the given rotation | 125 | /** Create a label with the given text and the given rotation | ||
126 | angle. Needs to be const, otherwise the pixmap() method cannot | 126 | angle. Needs to be const, otherwise the pixmap() method cannot | ||
127 | update when needed. */ | 127 | update when needed. */ | ||
128 | void paint() const; | 128 | void paint() const; | ||
129 | 129 | | |||
130 | // store the settings (these are used for the painting): | 130 | // store the settings (these are used for the painting): | ||
Show All 15 Lines |