Commit Graph

30 Commits

Author SHA1 Message Date
Mark Watkins
8acbfe0e92 Clean up some more warnings, and update Copyright strings 2018-03-28 17:10:52 +10:00
Mark Watkins
4ed77fc64a Clean up a few unused variables and nullptr risks with clang static analyzer. Fix a bug in Journal day selection 2018-03-28 16:22:42 +10:00
Mark Watkins
f69eda1101 Update source file header messages 2016-03-01 21:59:04 +10:00
Mark Watkins
63c3bc5ff0 Overview charts first and last day set to UTC time fix 2016-02-29 00:04:26 +10:00
Mark Watkins
f859a3ee7e Fix overview charts blanking from scrolling past beginning 2016-02-28 23:58:28 +10:00
reznet
d58c2c96a3 Display session slice tooltips in local time
The Sessions graph on the overview page displays the start time of each session slice in a tooltip when the mouse is over the slice.  Since this is displayed to the user, it should appear in the local time zone.
2015-08-11 15:16:03 -05:00
reznet
59a0823d20 Update all calls to fromMSecsSinceEpoch to specify UTC
QT 5 changed the behavior of QDateTime::fromMSecsSinceEpoch to return the result in local time zone, whereas in QT 4, it returned UTC.  On systems that do not support time zones, the QT 5 version still returns UTC.  But for all other systems, the api change causes confusion in the SH UI because some date and time values are displayed in UTC instead of the local time zone.  This manifests itself when the user is in USA which has a negative UTC offset.  When selecting a date range to display in the overview screen, the displayed dates appear to be one day behind the selected date range.

For consistently, SH should always use UTC internally and only convert to the local time zone when displaying data to the user.  This will ensure that the time zone information is preserved correctly when the UTC offset of the user's machine changes due to DST changes or traveling.

There are a few calls to fromMSecsSinceEpoch which should be using local time, and those will be updated in future commits.
2015-08-11 15:01:24 -05:00
Mark Watkins
9849f65578 Fix some errors detected by a little valgrind checking 2014-10-03 17:09:35 +10:00
Mark Watkins
bc09382916 Make Daily sidepanel and right side bar size changes persistent 2014-10-02 21:22:30 +10:00
Mark Watkins
ffeb0149c0 Windows build fixes, bump build number 2014-10-02 17:56:57 +10:00
Mark Watkins
62b4b421f6 Put CSV Export back, step overview barchar segment brightness a bit more 2014-10-02 13:39:37 +10:00
Mark Watkins
429fcb64a1 Some machine pixmap stuff, use gzip compatible Summaries.xml, preliminary PRS1 .006 oximetery parser 2014-09-30 00:41:40 +10:00
Mark Watkins
b3f49f1edb Changed QPrinter headers, CMS50H fix, minor overview graph optimisations 2014-09-24 11:42:14 +10:00
Mark Watkins
6fd823104d Total Time in Apnea overview chart 2014-09-19 03:58:00 +10:00
Mark Watkins
964d6b8862 Fix item delegates in Event/Waveform preferences 2014-09-19 01:33:50 +10:00
Mark Watkins
fd50d81798 PRS1 compliance duration stuff, cms50i deviceid fix 2014-09-19 00:31:31 +10:00
Mark Watkins
1fb3dabff0 Move oximeter select combo to Oximetery wizard, add a panel with some CMS50I/F device related stuff 2014-09-18 20:53:59 +10:00
Mark Watkins
3558b69065 Fix event loading glitch, and 0.0 smiley resmed glitch 2014-09-17 16:12:38 +10:00
Mark Watkins
239c3096d7 Unbreak git.. 2014-09-17 12:34:50 +10:00
Mark Watkins
289c19d8c9 fix gSessionTimesChart segfault 2014-09-16 12:48:52 +10:00
Mark Watkins
83a6038a70 minor barchart gradient optimisation 2014-09-16 12:15:19 +10:00
Mark Watkins
d1341787ba Removed machine section out of profile.xml to machine.xml, created profiles.xml list, set some default overview graphs 2014-09-15 01:29:07 +10:00
Mark Watkins
b3510d788b Preferences cleanup, overview overhead calculation works 2014-09-13 21:34:18 +10:00
Mark Watkins
4c0b4908bc Mega update: Summary demand loading, Overview summarychart rework, rxchanges caching 2014-09-12 00:23:08 +10:00
Mark Watkins
faba312edb Update temporarily slighty broken in overview message 2014-09-04 12:23:09 +10:00
Mark Watkins
23ce39efad Session times replacement chart (work in progress) 2014-09-04 12:17:59 +10:00
Mark Watkins
b45e7efed5 New Graph QMenu magic and new icons 2014-08-17 22:56:13 +10:00
Mark Watkins
083a667527 Standardize on a global profile object 2014-07-11 07:09:38 -05:00
Mark Watkins
126e78cddc Clean up a few warnings, fix case sensitivity issue 2014-06-02 21:22:45 +10:00
Mark Watkins
d1ffafb409 Rename gSessionTimesChart files 2014-06-02 21:12:48 +10:00