diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2014-01-17 09:57:00 +0200 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2014-01-17 10:09:45 +0200 |
commit | cc80770a30f3dfa43b29e14f83bf47deb5b50a92 (patch) | |
tree | 205c608d650f8917354c2cc8da1953f6b2d6f762 /src/datavisualization/data | |
parent | b83dfb2537720492ebd62dfc9733035d5560dddd (diff) |
Adjust selection in item removal and insert
Implements item 1) in QTRD-2645
Task-number: QTRD-2645
Change-Id: I5c1cec438089520592a3526e1ff6095cc30afd34
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavisualization/data')
-rw-r--r-- | src/datavisualization/data/qbar3dseries.cpp | 4 | ||||
-rw-r--r-- | src/datavisualization/data/qscatter3dseries.cpp | 4 | ||||
-rw-r--r-- | src/datavisualization/data/qsurface3dseries.cpp | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/src/datavisualization/data/qbar3dseries.cpp b/src/datavisualization/data/qbar3dseries.cpp index 1597b7ba..e7c2e125 100644 --- a/src/datavisualization/data/qbar3dseries.cpp +++ b/src/datavisualization/data/qbar3dseries.cpp @@ -99,6 +99,8 @@ QT_BEGIN_NAMESPACE_DATAVISUALIZATION * If this series is added to a graph, the graph can adjust the selection according to user * interaction or if it becomes invalid. Selecting a bar on another added series will also * clear the selection. + * Removing rows from or inserting rows to the series before the row of the selected bar + * will adjust the selection so that the same bar will stay selected. * * \sa AbstractGraph3D::clearSelection() */ @@ -172,6 +174,8 @@ QBarDataProxy *QBar3DSeries::dataProxy() const * If this series is added to a graph, the graph can adjust the selection according to user * interaction or if it becomes invalid. Selecting a bar on another added series will also * clear the selection. + * Removing rows from or inserting rows to the series before the row of the selected bar + * will adjust the selection so that the same bar will stay selected. * * \sa QAbstract3DGraph::clearSelection() */ diff --git a/src/datavisualization/data/qscatter3dseries.cpp b/src/datavisualization/data/qscatter3dseries.cpp index 78594272..2dd5fd3a 100644 --- a/src/datavisualization/data/qscatter3dseries.cpp +++ b/src/datavisualization/data/qscatter3dseries.cpp @@ -94,6 +94,8 @@ QT_BEGIN_NAMESPACE_DATAVISUALIZATION * If this series is added to a graph, the graph can adjust the selection according to user * interaction or if it becomes invalid. Selecting an item on another added series will also * clear the selection. + * Removing items from or inserting items to the series before the selected item + * will adjust the selection so that the same item will stay selected. * * \sa AbstractGraph3D::clearSelection() */ @@ -174,6 +176,8 @@ QScatterDataProxy *QScatter3DSeries::dataProxy() const * If this series is added to a graph, the graph can adjust the selection according to user * interaction or if it becomes invalid. Selecting an item on another added series will also * clear the selection. + * Removing items from or inserting items to the series before the selected item + * will adjust the selection so that the same item will stay selected. * * \sa QAbstract3DGraph::clearSelection() */ diff --git a/src/datavisualization/data/qsurface3dseries.cpp b/src/datavisualization/data/qsurface3dseries.cpp index 78f72e02..85f43dad 100644 --- a/src/datavisualization/data/qsurface3dseries.cpp +++ b/src/datavisualization/data/qsurface3dseries.cpp @@ -99,6 +99,8 @@ QT_BEGIN_NAMESPACE_DATAVISUALIZATION * To clear selection from this series, set invalidSelectionPosition as the \a position. * If this series is added to a graph, the graph can adjust the selection according to user * interaction or if it becomes invalid. + * Removing rows from or inserting rows to the series before the row of the selected point + * will adjust the selection so that the same point will stay selected. * * \sa AbstractGraph3D::clearSelection() */ @@ -210,6 +212,8 @@ QSurfaceDataProxy *QSurface3DSeries::dataProxy() const * To clear selection from this series, set invalidSelectionPosition() as the \a position. * If this series is added to a graph, the graph can adjust the selection according to user * interaction or if it becomes invalid. + * Removing rows from or inserting rows to the series before the row of the selected point + * will adjust the selection so that the same point will stay selected. * * \sa QAbstract3DGraph::clearSelection() */ |