Commit Graph

145 Commits

Author SHA1 Message Date
Mark Watkins
235141e575 Merge commit 'c853c8d9880dfdac532c06a1a686ed18d77a58bb' 2015-08-27 14:12:37 +10:00
Mark Watkins
b6cf8195f1 Windows build fix 2015-08-27 14:00:58 +10:00
Mark Watkins
866b6fff5d Qt 5.4+ QOpenGLWidget and graphing optimsations 2015-08-27 11:37:10 +10:00
reznet
f2218f14e5 Explain why no TZ conversion is needed for some graph methods
The graph cursor and range text strings are computed from the graph's data which do not need to be converted to local time.  i.e. 5pm == 5pm.
2015-08-11 15:38:09 -05:00
reznet
81c0b06f06 Use local time for snapshot name
A snapshot name contains the date the snapshot starts in.  Since this is for the user, use the local time to get the date string.
2015-08-11 15:22:25 -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
ffeb0149c0 Windows build fixes, bump build number 2014-10-02 17:56:57 +10:00
Mark Watkins
358d1969e0 By Pressure pixmap caching cleanup 2014-09-30 20:16:33 +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
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
23ce39efad Session times replacement chart (work in progress) 2014-09-04 12:17:59 +10:00
Mark Watkins
7ee1c64b97 Update Graph on/off switches when adding Clones 2014-08-29 21:34:21 +10:00
Mark Watkins
483c887b90 Modify Clone graphs titles 2014-08-29 20:38:46 +10:00
Mark Watkins
26b2e4179a MSVC Build fixes 2014-08-29 16:08:36 +10:00
Mark Watkins
51e58b8ae5 Fix some windows layout bugs 2014-08-29 14:02:16 +10:00
Mark Watkins
f0097e38ae Disable linecursor during printing, move date indicators down bottom in overview 2014-08-29 01:45:46 +10:00
Mark Watkins
8b652541e9 Update release notes, control scroll wheel fixes for pinned graphs 2014-08-29 00:37:49 +10:00
Mark Watkins
d17523c91b Graph clone cleanups, make horizontal mouse panning graph context aware 2014-08-28 23:01:16 +10:00
Mark Watkins
cbaf7abc7f Bye bye Graph Snapshots, hello Clone Graphs 2014-08-28 18:01:25 +10:00
Mark Watkins
32bc6a97d0 Higher resolution graph snapshots in antialias mode 2014-08-28 03:30:53 +10:00
Mark Watkins
fb9e26aee3 Make Pie chart prettier 2014-08-28 01:00:55 +10:00
Mark Watkins
37e20bf504 Try making snapshot graphs scale when resized 2014-08-28 00:41:16 +10:00
Mark Watkins
f6fe01c5bc Set minimum height for snapshot graphs 2014-08-28 00:32:08 +10:00
Mark Watkins
8d08bb5a6b Messed up that last commit 2014-08-28 00:22:57 +10:00
Mark Watkins
77c8a2ab26 Remove pin from snapshot graphs 2014-08-28 00:21:42 +10:00
Mark Watkins
cec3cd8523 Hide snapshots on empty days 2014-08-28 00:08:18 +10:00
Mark Watkins
4473ca745a Make sure gGraphView::SaveSettings doesn't try to save snapshot graphs 2014-08-28 00:02:05 +10:00
Mark Watkins
953c9ad662 Block select on Snapshot graphs 2014-08-27 23:53:17 +10:00
Mark Watkins
56e54cc6fa Snapshot graphs needs a redraw scheduled after creation/destruction 2014-08-27 23:50:41 +10:00
Mark Watkins
a0a8679c48 Added Graph snapshot feature 2014-08-27 23:42:10 +10:00
Mark Watkins
2b8be5bf6d Fix LineChart AHI duration calc regression 2014-08-27 19:55:31 +10:00
Mark Watkins
d587afdba1 Only show YAxis right-click menu on relevant charts 2014-08-27 19:13:14 +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
da9c160ec2 Fix YAxis scaling stuff for new right click menu 2014-08-27 14:36:40 +10:00
Mark Watkins
d834c35f74 QMenu stylesheet test 2 2014-08-27 04:43:01 +10:00
Mark Watkins
e17cc3455c QMenu stylesheet 2014-08-27 04:23:27 +10:00
Mark Watkins
b77fa2db8e Some more unfinished work on the YAxis context menu 2014-08-27 03:26:13 +10:00
Mark Watkins
0e8972358a Added Min/Max YAxis editor to Context menu 2014-08-27 01:05:59 +10:00
Mark Watkins
09ccf1984c Preliminary S10 channels, CMS50f/i clock set option 2014-08-24 12:26:53 +10:00
Mark Watkins
dbb39f730c Graph overlay/plot/lines setting persistence 2014-08-23 19:24:22 +10:00
Mark Watkins
cc768af16b Make right-click menu consistent 2014-08-23 17:11:50 +10:00
Mark Watkins
cecd47e1e0 Show oximeter flags header, don't show plots menu when only one plot available 2014-08-23 16:35:02 +10:00
Mark Watkins
433bd5a4f8 Give each graph individual flag overlays 2014-08-23 16:21:50 +10:00
Mark Watkins
3e84ef817b CMS50I PI stuff 2014-08-22 00:59:18 +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
672b111339 PRS1 Error list for later, cleaned up Events browser 2014-08-21 04:36:44 +10:00
Mark Watkins
ba8b8f12fa Graph overlays right-click menu 2014-08-20 21:30:42 +10:00