diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-11-28 06:40:59 +0200 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-11-28 08:10:29 +0200 |
commit | 5fde532408da5b6b3ddef13aff5e07f32015e7d9 (patch) | |
tree | 8a243126c37a92be3ca14734adc5074a9642c129 /src/datavisualization/engine/drawer_p.h | |
parent | 964897e316c0fd524cba3a3cbb3c32fad53f965a (diff) |
Visual properties moved to theme
Task-number: QTRD-2632
Change-Id: I91eaa8fa26e232de24fe89ef0c8a2fc53f31fb8c
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavisualization/engine/drawer_p.h')
-rw-r--r-- | src/datavisualization/engine/drawer_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datavisualization/engine/drawer_p.h b/src/datavisualization/engine/drawer_p.h index f9d70514..c3f92380 100644 --- a/src/datavisualization/engine/drawer_p.h +++ b/src/datavisualization/engine/drawer_p.h @@ -63,7 +63,7 @@ public: }; public: - explicit Drawer(Q3DTheme *theme, const QFont &font, QDataVis::LabelStyle style); + explicit Drawer(Q3DTheme *theme, const QFont &font, bool labelBackground); ~Drawer(); void initializeOpenGL(); @@ -72,7 +72,7 @@ public: Q3DTheme *theme() const; void setFont(const QFont &font); QFont font() const; - void setStyle(QDataVis::LabelStyle style); + void setLabelBackground(bool enabled); void drawObject(ShaderHelper *shader, AbstractObjectHelper *object, GLuint textureId = 0, GLuint depthTextureId = 0); @@ -95,7 +95,7 @@ Q_SIGNALS: private: Q3DTheme *m_theme; QFont m_font; - QDataVis::LabelStyle m_style; + bool m_labelBackground; TextureHelper *m_textureHelper; GLuint m_pointbuffer; }; |