diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-12-02 08:43:02 +0200 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-12-02 09:01:25 +0200 |
commit | 94235c2e633845951ce6c947965789bb3f8ee7c4 (patch) | |
tree | 60f902b9defe670736dff4bf33d13ef5bfb57804 /src/datavisualization/engine/q3dbars.cpp | |
parent | 91c9f6791af049b873b7c60a88aa226eaec70c18 (diff) |
Theme documented
Task-number: QTRD-2633
Change-Id: Ib274ec236f50145df8fd4c2d83f62d4a9154687a
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/datavisualization/engine/q3dbars.cpp')
-rw-r--r-- | src/datavisualization/engine/q3dbars.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/datavisualization/engine/q3dbars.cpp b/src/datavisualization/engine/q3dbars.cpp index 095c5d8d..1d297f1b 100644 --- a/src/datavisualization/engine/q3dbars.cpp +++ b/src/datavisualization/engine/q3dbars.cpp @@ -300,9 +300,9 @@ bool Q3DBars::isBarSpacingRelative() /*! * \property Q3DBars::theme * - * A user-defined theme. - * - * TODO: Add docs. + * A \a theme to be used for the graph. Ownership of the \a theme is transferred. Previous theme + * is deleted when a new one is set. Properties of the \a theme can be modified even after setting + * it, and the modifications take effect immediately. */ void Q3DBars::setTheme(Q3DTheme *theme) { @@ -368,12 +368,12 @@ QDataVis::ShadowQuality Q3DBars::shadowQuality() const * * \sa barColor, barGradient */ -void Q3DBars::setColorStyle(QDataVis::ColorStyle style) +void Q3DBars::setColorStyle(Q3DTheme::ColorStyle style) { d_ptr->m_shared->setColorStyle(style); } -QDataVis::ColorStyle Q3DBars::colorStyle() const +Q3DTheme::ColorStyle Q3DBars::colorStyle() const { return d_ptr->m_shared->colorStyle(); } |