summaryrefslogtreecommitdiffstats
path: root/src/themes
diff options
context:
space:
mode:
authorTero Ahola <tero.ahola@digia.com>2012-08-29 16:07:44 +0300
committerTero Ahola <tero.ahola@digia.com>2012-08-29 16:08:34 +0300
commita69a3e9f4fda4d8569e22f0ce96eb99a31357c9a (patch)
treef9c37d19f8a18df20ac62c0d850f712984dc5e52 /src/themes
parent946c00a01ac43634c7c183dfca499931e348828d (diff)
Removed a few unnecessary TODOs
Diffstat (limited to 'src/themes')
-rw-r--r--src/themes/chartthemesystem_p.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/themes/chartthemesystem_p.h b/src/themes/chartthemesystem_p.h
index fd98dba9..c131b1c0 100644
--- a/src/themes/chartthemesystem_p.h
+++ b/src/themes/chartthemesystem_p.h
@@ -45,11 +45,8 @@ public:
ChartThemeSystem() : ChartTheme(QChart::ChartThemeLight /*QChart::ChartThemeSystem*/)
{
#ifdef Q_OS_WIN
- // TODO: use theme specific window frame color as a series base color (it would give more
+ // We could also use theme specific window frame color as a series base color (it would give more
// variation to the base colors in addition to the blue and black used now)
- // TODO: COLOR_WINDOWTEXT for text color?
- // TODO: COLOR_INFOTEXT for tooltip text color?
- // TODO: COLOR_INFOBK for tooltip background color?
// First series base color from COLOR_HIGHLIGHT
DWORD colorHighlight;
@@ -104,7 +101,7 @@ public:
m_backgroundShades = BackgroundShadesNone;
#elif defined(Q_OS_LINUX)
- // TODO: replace this dummy theme with linux specific theme
+ // Using a hard coded theme for Linux system theme
m_seriesColors << QRgb(0x60a6e6);
m_seriesColors << QRgb(0x92ca66);
m_seriesColors << QRgb(0xeba85f);
@@ -127,7 +124,7 @@ public:
m_backgroundShades = BackgroundShadesNone;
#elif defined(Q_OS_MAC)
- // TODO: replace this dummy theme with OSX specific theme
+ // Using a hard coded theme for OSX system theme; the colors match the OSX 10.7 colors
m_seriesColors << QRgb(0x60a6e6);
m_seriesColors << QRgb(0x92ca66);
m_seriesColors << QRgb(0xeba85f);
@@ -150,7 +147,7 @@ public:
m_backgroundShades = BackgroundShadesNone;
#else
- // TODO: replace this dummy theme with generic (not OS specific) theme
+ // Hard coded theme
m_seriesColors << QRgb(0x60a6e6);
m_seriesColors << QRgb(0x92ca66);
m_seriesColors << QRgb(0xeba85f);