diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2016-08-15 16:30:28 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2016-08-16 06:47:44 +0000 |
commit | c6d72bb6ebd860a38aac2e557bca330b0d5b1926 (patch) | |
tree | 2f4da0685db88710361e250214f928c39c029bcf /examples/charts/callout/view.h | |
parent | cccd1b688333dcc5616e1fa48050c60a1a534421 (diff) |
Fix resize handling in Callout example
Callouts are now positioned correctly when the chart is resized.
Task-number: QTBUG-54492
Change-Id: I5660eb48e58348cc2d649b48965c342488294ae4
Reviewed-by: Mika Salmela <mika.salmela@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'examples/charts/callout/view.h')
-rw-r--r-- | examples/charts/callout/view.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/charts/callout/view.h b/examples/charts/callout/view.h index e72df120..b7085b21 100644 --- a/examples/charts/callout/view.h +++ b/examples/charts/callout/view.h @@ -58,6 +58,7 @@ private: QGraphicsSimpleTextItem *m_coordY; QChart *m_chart; Callout *m_tooltip; + QList<Callout *> m_callouts; }; #endif |