From d9b25c55d85f37b8a914b329ed53678598cf8051 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Thu, 29 Dec 2011 09:46:45 +1000 Subject: [PATCH] Better Session Switch icons, Better CSS Tooltip in Daily Details pane attempt #1, thicker print lines --- Graphs/gGraphView.cpp | 2 +- Resources.qrc | 5 +- SleepyHeadQT.pro | 3 +- daily.cpp | 91 ++++++++++++++++---------- docs/channels.xml | 2 +- docs/tooltips.css | 66 +++++++++++++++++++ icons/session-off.png | Bin 0 -> 1350 bytes icons/session-on.png | Bin 0 -> 1352 bytes icons/toggle-off-us.svg | 138 ---------------------------------------- icons/toggle-on-us.svg | 128 ------------------------------------- 10 files changed, 129 insertions(+), 306 deletions(-) create mode 100644 docs/tooltips.css create mode 100644 icons/session-off.png create mode 100644 icons/session-on.png delete mode 100644 icons/toggle-off-us.svg delete mode 100644 icons/toggle-on-us.svg diff --git a/Graphs/gGraphView.cpp b/Graphs/gGraphView.cpp index 165bd3a6..6a680cac 100644 --- a/Graphs/gGraphView.cpp +++ b/Graphs/gGraphView.cpp @@ -1041,7 +1041,7 @@ void gGraph::drawGLBuf() { float linesize=1; - if (m_printing) linesize=4; //ceil(m_graphview->printScaleY()); + if (m_printing) linesize=5; //ceil(m_graphview->printScaleY()); for (int i=0;idrawGLBuf(linesize); } diff --git a/Resources.qrc b/Resources.qrc index 37bf4688..6e7cab40 100644 --- a/Resources.qrc +++ b/Resources.qrc @@ -18,8 +18,6 @@ docs/schema.xml docs/channels.xml icons/last.png - icons/toggle-off-us.svg - icons/toggle-on-us.svg docs/release_notes.html icons/save.png docs/countries.txt @@ -38,5 +36,8 @@ icons/bookmark.png icons/help.png LICENSE.txt + docs/tooltips.css + icons/session-off.png + icons/session-on.png diff --git a/SleepyHeadQT.pro b/SleepyHeadQT.pro index 36947165..1beb1a01 100644 --- a/SleepyHeadQT.pro +++ b/SleepyHeadQT.pro @@ -184,7 +184,8 @@ OTHER_FILES += \ docs/startup_tips.txt \ docs/countries.txt \ docs/tz.txt \ - LICENSE.txt + LICENSE.txt \ + docs/tooltips.css diff --git a/daily.cpp b/daily.cpp index c32483b9..8f7baebe 100644 --- a/daily.cpp +++ b/daily.cpp @@ -652,9 +652,8 @@ void Daily::Load(QDate date) QString html="" + "" "