From 62af95fbbb2eaaa63bc1475b89e7b5df2ac34284 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Wed, 14 May 2014 16:22:46 +1000 Subject: [PATCH] 0.9.6 Version bump, graph title alignment fix --- sleepyhead/Graphs/gGraph.cpp | 2 +- sleepyhead/docs/release_notes.html | 11 ++++++++++- sleepyhead/docs/update_notes.html | 18 ++++++++---------- sleepyhead/version.h | 2 +- 4 files changed, 20 insertions(+), 13 deletions(-) diff --git a/sleepyhead/Graphs/gGraph.cpp b/sleepyhead/Graphs/gGraph.cpp index 107380d5..833e3051 100644 --- a/sleepyhead/Graphs/gGraph.cpp +++ b/sleepyhead/Graphs/gGraph.cpp @@ -289,7 +289,7 @@ void gGraph::paint(QPainter &painter, const QRegion ®ion) y = yh; x = fm.width(title()); //GetTextExtent(title(),x,y,mediumfont); - title_x = yh * 2; + title_x = float(yh) * 1.5; QString & txt = title(); graphView()->AddTextQue(txt, marginLeft() + title_x + 4, originY + height / 2 - y / 2, 90, Qt::black, mediumfont); diff --git a/sleepyhead/docs/release_notes.html b/sleepyhead/docs/release_notes.html index 55bb169b..a96f7577 100644 --- a/sleepyhead/docs/release_notes.html +++ b/sleepyhead/docs/release_notes.html @@ -1,6 +1,6 @@ -

SleepyHead v0.9.5 BETA

+

SleepyHead v0.9.6 BETA

Release Notes

Greetings!

@@ -9,6 +9,15 @@ New features & bugs fixes in this Update:
+
  • Added ability to pin graphs to keep them on screen
  • +
  • Fixed tranlation loading on Mac
  • +
  • Updated Dutch Tranlsations (Thanks Arie)
  • +
  • Fixed overview graph legends showing wrong details
  • +
  • F12 to Screenshot restored on Apple Mac platform
  • +
  • Added CSV importer for Somnopose iOS Sleep Position application data
  • +
  • Added user information to Statistics page
  • +
  • Datacard autodetection ability
  • +
  • Philips Respironics 60 series fixes
  • Retina display fixes for Mac platform
  • Introduced yAxis Scaling modes
  • Cleaned up mouse handling underneath
  • diff --git a/sleepyhead/docs/update_notes.html b/sleepyhead/docs/update_notes.html index fc79db47..93d082a5 100644 --- a/sleepyhead/docs/update_notes.html +++ b/sleepyhead/docs/update_notes.html @@ -2,20 +2,18 @@

    SleepyHead BETA

    -

    Update Notes for v0.9.4-5

    +

    Update Notes for v0.9.6

    Changes in this version
    -
  • Added ability to pin graphs to keep them on screen
  • -
  • Fixed tranlation loading on Mac
  • -
  • Updated Dutch Tranlsations (Thanks Arie)
  • -
  • Fixed overview graph legends showing wrong details
  • -
  • F12 to Screenshot restored on Apple Mac platform
  • -
  • Added CSV importer for Somnopose iOS Sleep Position application data
  • -
  • Added user information to Statistics page
  • -
  • Datacard autodetection ability
  • -
  • Philips Respironics 60 series fixes
  • +
  • Switched from OpenGL to Qt QPainter backend
  • +
  • Switched to Qt's pixmap caching engine
  • +
  • Fix ResMed session grouping bug that caused session double-ups
  • +
  • Fix EDF importer glitch on windows builds that led to faulty graph displays
  • +
  • Fixed CPAP card autoscanner on Windows platform
  • +
  • Added timeout dialog to CPAP card autoscanner
  • +
  • Microsoft compiler fixes
  • Sleep Well!

    diff --git a/sleepyhead/version.h b/sleepyhead/version.h index b575b50c..48fa007f 100644 --- a/sleepyhead/version.h +++ b/sleepyhead/version.h @@ -16,7 +16,7 @@ const int major_version = 0; // incompatible API changes const int minor_version = 9; // new features that don't break things -const int patch_number = 5; // bugfixes, revisions +const int patch_number = 6; // bugfixes, revisions #ifdef TEST_BUILD const QString ReleaseStatus = "testing";