Commit Graph

149 Commits

Author SHA1 Message Date
Mark Watkins
bc06d48b20 Events List in Daily Summary needed to be in LocalTime 2016-03-08 22:10:42 +10:00
Mark Watkins
35138b1165 Quick and dirty TAP yAxis labels 2016-03-08 01:45:28 +10:00
Mark Watkins
c1082d8b5f A little more tinkering on TAP chart, fake yAxis labels for now 2016-03-07 23:54:14 +10:00
Mark Watkins
0eccfb6d21 Bye bye ugly By Pressure text, start of proper Time At Pressure chart 2016-03-07 19:10:58 +10:00
Mark Watkins
3e5dcadccb Undo that last one... it didn't need changing 2016-03-04 10:52:26 +10:00
Mark Watkins
e0bd14bc2f Use 99% instead of 99.5% alternative 'Max' percentile to better match ResScan 2016-03-04 10:35:51 +10:00
Mark Watkins
43ee4a1105 Fix PRS1 950/960 pressure settings mess up 2016-03-03 07:32:22 +10:00
Mark Watkins
f69eda1101 Update source file header messages 2016-03-01 21:59:04 +10:00
Mark Watkins
c9b774a47a Dreamstation 0x14 flag is missing hypopnea, change CSR to PB on P.R. machines 2016-02-27 13:37:56 +10:00
reznet
c46f1404db Generate bookmark text with local time zone
Use the local time zone to generate the strings displayed for new bookmarks.  These are displayed to the user and are not saved to disk.
2015-08-11 15:52:19 -05:00
reznet
646af88261 Display daily line cursor in local time
The daily screen displays day and time of the graph cursor as the mouse moves around the graphs.  Since this time is displayed to the user, it should appear in the local time zone.
2015-08-11 15:04:30 -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
dac961d981 Fix change folder restart crash, added tooltip on session switches 2014-10-11 10:44:30 +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
1ade0e7b04 Window 32bit build fixes, variable cleanups 2014-10-02 20:02:33 +10:00
Mark Watkins
de695e153d PRS1 Oximetery attachment fixes 2014-09-30 15:25:11 +10:00
Mark Watkins
be6e66bdd7 Start on last CPAP/Oximetery day, instead of journal day 2014-09-30 01:43:00 +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
3558b69065 Fix event loading glitch, and 0.0 smiley resmed glitch 2014-09-17 16:12:38 +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
4c0b4908bc Mega update: Summary demand loading, Overview summarychart rework, rxchanges caching 2014-09-12 00:23:08 +10:00
Mark Watkins
ea96303cc1 Merge Summary Files 2014-09-05 00:59:54 +10:00
Mark Watkins
5601be1b91 Profile sort order, PRS1 brick stuff 2014-09-01 21:39:38 +10:00
Mark Watkins
504aa231f1 Better ResMed Session sorting, Parse EVE's differently 2014-09-01 14:49:05 +10:00
Mark Watkins
7ee1c64b97 Update Graph on/off switches when adding Clones 2014-08-29 21:34:21 +10:00
Mark Watkins
51e58b8ae5 Fix some windows layout bugs 2014-08-29 14:02:16 +10:00
Mark Watkins
cbaf7abc7f Bye bye Graph Snapshots, hello Clone Graphs 2014-08-28 18:01:25 +10:00
Mark Watkins
2b8be5bf6d Fix LineChart AHI duration calc regression 2014-08-27 19:55:31 +10:00
Mark Watkins
1fd3703b32 Roy Stone's F&P time patch, plus some Right click yaxis scaling work of Marks 2014-08-27 19:00:55 +10:00
Mark Watkins
630b77d8e8 Split waveform and event channels in preferences 2014-08-25 12:55:01 +10:00
Mark Watkins
433bd5a4f8 Give each graph individual flag overlays 2014-08-23 16:21:50 +10:00
Mark Watkins
0b31d0ea3f Fix duplicate ResMed Ti/Te signals from importing 2014-08-22 21:54:24 +10:00
Mark Watkins
ceaaf35f02 Save CMS50 model info 2014-08-22 03:37:38 +10:00
Mark Watkins
eb2b127395 Minor cruft 2014-08-22 00:16:23 +10:00
Mark Watkins
530d2b6172 SleepyHead, now with 50% more Bob on empty days 2014-08-21 18:04:25 +10:00
Mark Watkins
06ce5d686c CMS50F/i stuff, summary only colors in overview, sesslist cleanup, empty day cleanup 2014-08-21 15:46:14 +10:00
Mark Watkins
86c1cf88a2 Stop journal entries being created when not needed 2014-08-21 07:23:33 +10:00
Mark Watkins
f229eefd22 Fix daily crash with day restructure change 2014-08-21 04:46:19 +10:00
Mark Watkins
672b111339 PRS1 Error list for later, cleaned up Events browser 2014-08-21 04:36:44 +10:00
Mark Watkins
e27232423e Restructure Day object to allow for multiple machine sessions 2014-08-21 03:17:13 +10:00
Mark Watkins
7be1c3e8d8 Remove old LineOverlayBars/Summaries from OXI charts 2014-08-20 19:31:14 +10:00
Mark Watkins
f35c6a055a Oximetry fix #372342 2014-08-20 00:04:29 +10:00
Mark Watkins
2a8d2822ff By Pressure experiments (temporary overlay) 2014-08-19 20:26:44 +10:00
Mark Watkins
fda1fe85e4 CMS50F37 added PerfusionIndex graph and stuff 2014-08-19 02:10:47 +10:00
Mark Watkins
9d1e62e887 Cleanup old color settings from linecharts 2014-08-18 01:36:53 +10:00
Mark Watkins
b45e7efed5 New Graph QMenu magic and new icons 2014-08-17 22:56:13 +10:00
Mark Watkins
8fae3b4a6e Some Mouse handling and By Pressure cleanups 2014-08-12 20:44:05 +10:00
Mark Watkins
67203a8c49 Rename TAP to By Pressure, added tooltips on it's headers 2014-08-12 18:04:53 +10:00
Mark Watkins
bb61e8962c Block select on TAP graph 2014-08-12 16:43:10 +10:00