Changeset View
Changeset View
Standalone View
Standalone View
src/KChart/KChartTextArea.h
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Line(s) | 56 | /** | |||
---|---|---|---|---|---|
60 | * class, but you would overwrite TextLayoutItem::paint() instead. | 60 | * class, but you would overwrite TextLayoutItem::paint() instead. | ||
61 | */ | 61 | */ | ||
62 | virtual void paintIntoRect( QPainter& painter, const QRect& rect ); | 62 | virtual void paintIntoRect( QPainter& painter, const QRect& rect ); | ||
63 | 63 | | |||
64 | /** | 64 | /** | ||
65 | * Call paintAll, if you want the background and the frame to be drawn | 65 | * Call paintAll, if you want the background and the frame to be drawn | ||
66 | * before the normal paint() is invoked automatically. | 66 | * before the normal paint() is invoked automatically. | ||
67 | */ | 67 | */ | ||
68 | void paintAll( QPainter& painter ) Q_DECL_OVERRIDE; | 68 | void paintAll( QPainter& painter ) override; | ||
69 | 69 | | |||
70 | protected: | 70 | protected: | ||
71 | TextArea(); | 71 | TextArea(); | ||
72 | QRect areaGeometry() const Q_DECL_OVERRIDE; | 72 | QRect areaGeometry() const override; | ||
73 | void positionHasChanged() Q_DECL_OVERRIDE; | 73 | void positionHasChanged() override; | ||
74 | 74 | | |||
75 | Q_SIGNALS: | 75 | Q_SIGNALS: | ||
76 | void positionChanged( TextArea * ); | 76 | void positionChanged( TextArea * ); | ||
77 | 77 | | |||
78 | //KCHART_DECLARE_PRIVATE_DERIVED(TextArea) | 78 | //KCHART_DECLARE_PRIVATE_DERIVED(TextArea) | ||
79 | }; // End of class TextArea | 79 | }; // End of class TextArea | ||
80 | 80 | | |||
81 | } | 81 | } | ||
82 | #endif // KCHART_TEXT_AREA_H | 82 | #endif // KCHART_TEXT_AREA_H |