diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2013-12-09 10:49:49 +0200 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-12-10 09:01:45 +0200 |
commit | 3573055abe42ff283d011d8550bc8495156338a1 (patch) | |
tree | bb45d4f7e32a0c63329d9f52639081162b34e17e /src/datavisualization/engine/q3dsurface.cpp | |
parent | 22557b312570cbefde584466a28f2b9bfcc570ba (diff) |
Move series specific visual elements to series, part 4
Colors to series
- Multiselection labels in bar slices still buggy
- Selection in bars doesn't work correctly if not all
series have items in that grid
Task-number: QTRD-2557
Change-Id: Icd38428e5337a26b8410476104bb1f1f784cdc7f
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavisualization/engine/q3dsurface.cpp')
-rw-r--r-- | src/datavisualization/engine/q3dsurface.cpp | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/src/datavisualization/engine/q3dsurface.cpp b/src/datavisualization/engine/q3dsurface.cpp index 9a0fcd03..63d94a29 100644 --- a/src/datavisualization/engine/q3dsurface.cpp +++ b/src/datavisualization/engine/q3dsurface.cpp @@ -34,9 +34,8 @@ QT_DATAVISUALIZATION_BEGIN_NAMESPACE * \since Qt Data Visualization 1.0 * * This class enables developers to render 3D surface plots and to view them by rotating the scene - * freely. The class provides configurable gradient texture to illustrate the height on the data. The - * surface plotting includes also gridline that can be set on or off. The visual appearance of the - * surface can be changed by controlling the smooth status. + * freely. The surface plotting includes also gridline that can be set on or off. + * The visual appearance of the surface can be changed by controlling the smooth status. * * The Q3DSurface supports selection by showing a highlighted ball on the data point where the user has clicked * with left mouse button (when default input handler is in use) or selected via QSurface3DSeries. @@ -257,22 +256,6 @@ QDataVis::SelectionFlags Q3DSurface::selectionMode() const } /*! - * \property Q3DSurface::gradient - * - * The current surface gradient. Setting this property replaces the previous gradient with - * the given \a gradient. - */ -void Q3DSurface::setGradient(const QLinearGradient &gradient) -{ - d_ptr->m_shared->setGradient(gradient); -} - -QLinearGradient Q3DSurface::gradient() const -{ - return d_ptr->m_shared->gradient(); -} - -/*! * \property Q3DSurface::scene * * This property contains the read only Q3DScene that can be used to access, for example, a camera object. @@ -391,15 +374,6 @@ QList<Q3DValueAxis *> Q3DSurface::axes() const return retList; } -/*! - * Modifies the current surface gradient. Sets gradient color to \a color at \a pos. - */ -// TODO: Surface gradient should use base color of series -void Q3DSurface::setGradientColorAt(qreal pos, const QColor &color) -{ - d_ptr->m_shared->setGradientColorAt(pos, color); -} - /////////////////// PRIVATE /////////////////////////////////// Q3DSurfacePrivate::Q3DSurfacePrivate(Q3DSurface *q, QRect rect) |