Commit Graph

319 Commits

Author SHA1 Message Date
Mark Watkins
3416e30936 Fix some build warnings, project file commented out crud, and Breathing Not Detected untranslatable string 2016-04-26 16:11:39 +10:00
Mark Watkins
09012510b6 Move Minutes at pressure tooltip to other side of cursor so it's visible at the end 2016-03-17 18:51:10 +10:00
Mark Watkins
7962666b14 Reset channel names properly on language change 2016-03-17 18:37:08 +10:00
Mark Watkins
f79f12be86 Fix Time at Pressure chart sometimes dropping outside of graph boundary 2016-03-17 10:28:21 +10:00
Mark Watkins
c72da66b3a TAP minpressure not dropping low enough when needed 2016-03-08 17:37:35 +10:00
Mark Watkins
c54a533a70 Allow TAP range to expand if needed 2016-03-08 14:59:55 +10:00
Mark Watkins
2cfac972aa Add hover-over for TAP chart 2016-03-08 14:26:48 +10:00
Mark Watkins
acde68ca44 Smarted TAP YAxis labels up a bit 2016-03-08 13:21:26 +10:00
Mark Watkins
1266c750b5 Clean up list of events shown in TAP 2016-03-08 12:31:55 +10:00
Mark Watkins
9ff8389a91 Add a cancel button to import auto-scanner 2016-03-08 12:17:00 +10:00
Mark Watkins
da9bc5fde5 Use pressure channel colors, and line thickness settings in TAP chart 2016-03-08 11:42:16 +10:00
Mark Watkins
eb369ef8b0 Try showing some events counts in TAP chart 2016-03-08 11:30:47 +10:00
Mark Watkins
a5edc3dbdb Slightly more less squishy YAxis labels 2016-03-08 02:16:20 +10:00
Mark Watkins
b4624a8d71 Slightly less squishy YAxis labels 2016-03-08 01:54:53 +10:00
Mark Watkins
35138b1165 Quick and dirty TAP yAxis labels 2016-03-08 01:45:28 +10:00
Mark Watkins
029795d7a6 Fix missing EPAP sample in TAP chart, pick a lower resolution for PRS1 TAP data 2016-03-08 00:56:05 +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
fa5b54249e Align it a little (just mucking around here) 2016-03-06 18:51:14 +10:00
Mark Watkins
fb26e083cb Playing around with Time at Pressure chart using splines 2016-03-06 18:38:12 +10:00
Mark Watkins
1a77446155 ResMed IPAP chart data not being imported correctly 2016-03-04 13:34:05 +10:00
Mark Watkins
09f47ef2f1 Disable Flex EPAP trace, seeing it doesn't want to plot. Will revisit later 2016-03-04 00:23:18 +10:00
Mark Watkins
e785a1b604 Remove ugly lines over MinutesAtPressure graph 2016-03-04 00:14:53 +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
Mark Watkins
63345a108e patches for Haiku OS, thanks to mmu_man 2016-01-05 16:06:32 +10:00
Bob Kenny
9f0544bab2 Fixed gLineChart:CloneInto() 2016-01-04 23:18:14 -05:00
Mark Watkins
204d77e7b0 Constrain ResMed EDF Flow waveform data to within physical min/max values 2015-09-21 10:02:15 +10:00
Mark Watkins
c56ae98139 GCC build fix GetTextExtent inline needed to be defined in header 2015-09-06 12:36:44 +10:00
Mark Watkins
6d112708ba Pinch to zoom :) 2015-08-27 19:46:05 +10:00
Mark Watkins
dc0eda83a0 Remove a debug line, tested out and merged reznet's UTC patches 2015-08-27 14:18:52 +10:00
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
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
reznet
b0bc8af718 Use UTC when converting to QDateTime for graph axis
QDateTime::fromMSecsSinceEpoch returns a QDateTime in the local time zone, but the ms input was created in UTC.  This causes the day part to sometimes display off by a day on the graph x axis.  This appears to be caused by a breaking change in QT 5.  Previously, fromMSecsSinceEpoch returned a QDateTime in UTC, but in QT 5, it returns the date time in the local time zone.
2015-08-11 13:34:45 -05:00
Mark Watkins
5cc8929f4e Fix Event Flags tooltip durations not displaying properly 2014-10-15 21:25:05 +10:00
Mark Watkins
3ac96500d2 Minor cruft.. shut annoying g++ variable warnings up 2014-10-09 02:06:08 +10:00
Mark Watkins
9849f65578 Fix some errors detected by a little valgrind checking 2014-10-03 17:09:35 +10:00
Mark Watkins
1094159657 Rename mainwindow qsplitters, suppress some warnings 2014-10-03 12:31:51 +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
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
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