From 03a6fa33bce2459d12e906ab3c01a37d66a74942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Korpip=C3=A4=C3=A4?= Date: Wed, 2 Oct 2013 11:42:39 +0300 Subject: Refactored LabelTransparency and ShadowQuality Task-number: QTRD-2362 Change-Id: I4c9cc84d44a2fcf881e8b6062413aa3dbe2e5890 Reviewed-by: Miikka Heikkinen --- src/datavisualization/engine/q3dsurface.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/datavisualization/engine/q3dsurface.cpp') diff --git a/src/datavisualization/engine/q3dsurface.cpp b/src/datavisualization/engine/q3dsurface.cpp index c809fedc..9fa81358 100644 --- a/src/datavisualization/engine/q3dsurface.cpp +++ b/src/datavisualization/engine/q3dsurface.cpp @@ -222,7 +222,7 @@ QDataVis::Theme Q3DSurface::theme() const * \property Q3DSurface::shadowQuality * * Sets shadow \a quality to one of \c QDataVis::ShadowQuality. It is preset to - * \c QDataVis::ShadowMedium by default. + * \c QDataVis::ShadowQualityMedium by default. * * \note If setting QDataVis::ShadowQuality of a certain level fails, a level is lowered * until it is successful and shadowQualityChanged signal is emitted for each time the change is @@ -345,19 +345,19 @@ QFont Q3DSurface::font() const } /*! - * \property Q3DSurface::labelTransparency + * \property Q3DSurface::labelStyle * - * Sets label \a transparency to one of \c QDataVis::LabelTransparency. It is preset to - * \c QDataVis::TransparencyFromTheme by default. + * Sets label \a style to one of \c QDataVis::LabelStyle. It is preset to + * \c QDataVis::LabelStyleFromTheme by default. */ -void Q3DSurface::setLabelTransparency(QDataVis::LabelTransparency transparency) +void Q3DSurface::setLabelStyle(QDataVis::LabelStyle style) { - d_ptr->m_shared->setLabelTransparency(transparency); + d_ptr->m_shared->setLabelStyle(style); } -QDataVis::LabelTransparency Q3DSurface::labelTransparency() const +QDataVis::LabelStyle Q3DSurface::labelStyle() const { - return d_ptr->m_shared->labelTransparency(); + return d_ptr->m_shared->labelStyle(); } /*! -- cgit v1.2.3