Commit Graph

243 Commits

Author SHA1 Message Date
Mark Watkins
20f8ceed71 Some AirCurve fixes 2015-09-21 11:30:23 +10:00
Mark Watkins
204d77e7b0 Constrain ResMed EDF Flow waveform data to within physical min/max values 2015-09-21 10:02:15 +10: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
29f869737f Portuguese ResMed Leaks 2015-08-02 16:05:56 +10:00
Mark Watkins
0f2f8f85ba Fix French ResMed leak string, solve Q_FOREACH problem with Qt 5.4.2 2015-08-02 15:53:09 +10:00
Mark Watkins
fbea37dcb5 Stop ResMed importer crashing on zero record STR.edf files 2015-07-31 08:36:52 +10:00
Mark Watkins
7782b83d90 Clean some more warnings up 2014-10-09 02:51:09 +10:00
Mark Watkins
64a1781779 Typo in the last commit 2014-10-09 02:08:46 +10:00
Mark Watkins
1094159657 Rename mainwindow qsplitters, suppress some warnings 2014-10-03 12:31:51 +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
70b54982d8 Only CPAP & APAP ResMed machine modes have EPR 2014-10-01 02:24:55 +10:00
Mark Watkins
a8b5d847f9 Fix for PRS1 model numbers that don't end in P 2014-10-01 02:13:05 +10:00
Mark Watkins
8bde451b89 Misnamed Remstar Pro models. 2014-10-01 01:52:02 +10:00
Mark Watkins
740e4cb2ba Fix Machine::m_availableChannels glitch breaking oximetry statistics 2014-09-30 21:02:35 +10:00
Mark Watkins
de695e153d PRS1 Oximetery attachment fixes 2014-09-30 15:25:11 +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
f2facb9da9 Add AirSense 10 CSR flags. Fixed summary load order messing up day splitting. 2014-09-22 14:32:15 +10:00
Mark Watkins
55390d9831 Get CMS50IW model string properly 2014-09-19 13:19:11 +10:00
Mark Watkins
c250ec40aa Scan for rfcomm device for cms50iw take 2 2014-09-19 13:03:34 +10:00
Mark Watkins
d6ee4eada7 Scan for rfcomm device for cms50iw 2014-09-19 12:52:20 +10:00
Mark Watkins
15de13f107 Dump some serialport scanning information to help get the CMS50xW ports detected 2014-09-19 12:07:28 +10:00
Mark Watkins
a179f290a4 PRS1 compliance duration stuff, cms50i deviceid fix2 2014-09-19 00:32:09 +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
a8eee32891 pixmaps to machineloader, fix xaxis scaling glitch 2014-09-18 03:20:01 +10:00
Mark Watkins
959e5e5d13 Remove machine from day's machinelist when last session gone, fixing rxchanges bug 2014-09-17 16:59:58 +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
4c0b4908bc Mega update: Summary demand loading, Overview summarychart rework, rxchanges caching 2014-09-12 00:23:08 +10:00
Mark Watkins
04b06a9f6d Oximetry crash fix #1 2014-09-06 02:20:48 +10:00
Mark Watkins
ea96303cc1 Merge Summary Files 2014-09-05 00:59:54 +10:00
Mark Watkins
23ce39efad Session times replacement chart (work in progress) 2014-09-04 12:17:59 +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
26b2e4179a MSVC Build fixes 2014-08-29 16:08:36 +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
514d88c68a Fix ResMed series strings for S10 2014-08-26 18:59:35 +10:00
Mark Watkins
77fde4e7a4 ResMed Session sorting, plus read correct VPAP 36037 PS Min/Max STR.edf fields 2014-08-26 17:55:01 +10:00
Mark Watkins
630b77d8e8 Split waveform and event channels in preferences 2014-08-25 12:55:01 +10:00
Mark Watkins
35778aa1df Basic S10 import capability 2014-08-24 15:00:51 +10:00
Mark Watkins
b25bc1cc9d Add a small delay between cms50i date and time set 2014-08-24 12:40:15 +10:00
Mark Watkins
09ccf1984c Preliminary S10 channels, CMS50f/i clock set option 2014-08-24 12:26:53 +10:00
Mark Watkins
234f2001a3 Make right sidebar hiding persistant, some setup for oximeter clock sync 2014-08-23 22:31:28 +10:00
Mark Watkins
433bd5a4f8 Give each graph individual flag overlays 2014-08-23 16:21:50 +10:00
Mark Watkins
22527b9c44 Weinmann SD cards don't have a subfolder 2014-08-23 00:23:30 +10:00
Mark Watkins
f935f3dd61 Fix line cursor values not showing when multiple machines present 2014-08-22 23:59:27 +10:00
Mark Watkins
0b31d0ea3f Fix duplicate ResMed Ti/Te signals from importing 2014-08-22 21:54:24 +10:00
Mark Watkins
b88e9351dc CMS50i PI test6 2014-08-22 02:53:07 +10:00
Mark Watkins
d8bf63f613 CMS50i PI test5 2014-08-22 02:45:30 +10:00