From 94235c2e633845951ce6c947965789bb3f8ee7c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Korpip=C3=A4=C3=A4?= Date: Mon, 2 Dec 2013 08:43:02 +0200 Subject: Theme documented Task-number: QTRD-2633 Change-Id: Ib274ec236f50145df8fd4c2d83f62d4a9154687a Reviewed-by: Miikka Heikkinen --- .../global/qdatavisualizationenums.h | 23 ----------- .../global/qtdatavisualizationenums.qdoc | 44 ---------------------- 2 files changed, 67 deletions(-) (limited to 'src/datavisualization/global') diff --git a/src/datavisualization/global/qdatavisualizationenums.h b/src/datavisualization/global/qdatavisualizationenums.h index 712ae38d..e3cdf669 100644 --- a/src/datavisualization/global/qdatavisualizationenums.h +++ b/src/datavisualization/global/qdatavisualizationenums.h @@ -29,11 +29,8 @@ class QT_DATAVISUALIZATION_EXPORT QDataVis : public QObject { Q_OBJECT Q_ENUMS(CameraPreset) - Q_ENUMS(Theme) Q_ENUMS(ShadowQuality) - Q_ENUMS(LabelStyle) Q_FLAGS(SelectionFlag SelectionFlags) - Q_ENUMS(ColorStyle) public: // TODO: Move to input handler (QTRD-2505) @@ -75,19 +72,6 @@ public: CameraPresetDirectlyBelow }; - // TODO: Move to theme - enum Theme { - ThemeQt, - ThemePrimaryColors, - ThemeDigia, - ThemeStoneMoss, - ThemeArmyBlue, - ThemeRetro, - ThemeEbony, - ThemeIsabelle, - ThemeUserDefined - }; - enum SelectionFlag { SelectionNone = 0, SelectionItem = 1, @@ -111,13 +95,6 @@ public: ShadowQualitySoftMedium, ShadowQualitySoftHigh }; - - // TODO: to theme - enum ColorStyle { - ColorStyleUniform = 0, - ColorStyleObjectGradient, - ColorStyleRangeGradient - }; }; Q_DECLARE_OPERATORS_FOR_FLAGS(QDataVis::SelectionFlags) diff --git a/src/datavisualization/global/qtdatavisualizationenums.qdoc b/src/datavisualization/global/qtdatavisualizationenums.qdoc index cb285397..4bedcefe 100644 --- a/src/datavisualization/global/qtdatavisualizationenums.qdoc +++ b/src/datavisualization/global/qtdatavisualizationenums.qdoc @@ -91,22 +91,6 @@ Acts as CameraPresetFrontLow for positive -only bars. */ -/*! - \enum QtDataVisualization::QDataVis::Theme - - Predefined themes. - - \value ThemeQt - \value ThemePrimaryColors - \value ThemeDigia - \value ThemeStoneMoss - \value ThemeArmyBlue - \value ThemeRetro - \value ThemeEbony - \value ThemeIsabelle - \value ThemeUserDefined -*/ - /*! \enum QtDataVisualization::QDataVis::SelectionFlag @@ -159,31 +143,3 @@ \value ShadowQualitySoftHigh Shadows are rendered in high quality with softened edges. */ - -/*! - \enum QtDataVisualization::QDataVis::LabelStyle - - Label styles. - - \value LabelStyleOpaque - Fully opaque background, using colors and borders from theme. - \value LabelStyleFromTheme - Use transparencies, colors and borders from theme. - \value LabelStyleTransparent - Fully transparent background, using text color from theme. -*/ - -/*! - \enum QtDataVisualization::QDataVis::ColorStyle - - Color styles. - - \value ColorStyleUniform - Objects are rendered in a single color. - \value ColorStyleObjectGradient - Objects are colored using a full gradient for each object regardless - of object height. - \value ColorStyleRangeGradient - Objects are colored using a portion of the full gradient determined by - the object's height and its position on the Y-axis. -*/ -- cgit v1.2.3