aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h
diff options
context:
space:
mode:
authorKnud Dollereder <knud.dollereder@qt.io>2020-10-16 16:45:44 +0200
committerKnud Dollereder <knud.dollereder@qt.io>2020-10-19 14:43:04 +0000
commitaaf564cab7cbb0a79c37098bd9642a72cef9a9ba (patch)
tree1dd4cf77e0c9500f2299b0232f2268a1913419b3 /src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h
parentb771f400de94edf1d95f2e5ce5827ed226dec914 (diff)
CurveEditor: Fix bounding rect computation for the graphicsscene
Task-number: QDS-2957 Change-Id: I0019d538e7460e923b35024bd02f7186e1935f6b Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h')
-rw-r--r--src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h b/src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h
index 9443130b3e..c19f72b130 100644
--- a/src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h
+++ b/src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h
@@ -67,6 +67,10 @@ public:
double maximumValue() const;
+ double animationRangeMin() const;
+
+ double animationRangeMax() const;
+
QRectF rect() const;
QVector<CurveItem *> curves() const;