Jeff Norman
59e1b2817b
Updated copyright year to 2022 for OSCAR files
2021-11-02 16:34:12 -04:00
Guy Scharf
5355713255
Check for Updates no longer shows unwanted early releases
...
Change option and messages for showing early releases.
Update Release Notes to correct an error re: zombie reports and include a section for beta 2+ fixes.
2021-09-19 04:12:21 +00:00
Guy Scharf
9f5373ed91
Refactor functions that act on all AHI-contributing channels.
...
Add new AllAhiChannels ChannelID to refer to all channels that contribute to AHI.
List of AHI-contributing channels is in "ahiChannels" QVector.
2021-07-24 21:12:15 -07:00
sawinglogz
9cbd0d7b24
Fix multiple regressions that broke compilation with clang.
...
e633a82
: overloaded virtual method errors
0022510
: inconsistent missing override error
e358d31
: unused private fields
3591f11
: unused private fields
2021-04-26 20:10:37 -04:00
LoudSnorer
3591f112a9
MinutesAtPressure (timeAtPressure) has been refactored.
...
TimeAtPressure Graph now has the same look and feel as the Pressure Graph.
Configuration chamges to the Pressure Graph now also impact the TimeAtPressureGraph.
Changes are identified in MinauteatPressure.cpp (first 100 lines)
2021-04-17 21:54:56 -04:00
kappa44
2331bbba26
Don't ResetBounds when setDay is called to avoid changing overview graphs to full date range on BMI/Weight change
2021-03-28 14:20:19 +11:00
LoudSnorer
562cd9cc37
fix display issues for short span events
2021-03-21 14:15:47 -04:00
harre
d54e8b2e11
Added default copy operators as implicit default is deprecated
2020-09-13 01:10:03 +02:00
Guy Scharf
4885abf76a
Overview graphs right edge now on correct date in GMT+ timezones
...
Changed a lot of Qt::UTC to Qt::LocalTime. Some risk of having changed ones that should not have been changed.
2020-08-09 10:25:45 -07:00
Guy Scharf
4f83c9b184
Re-order popup labels on Overview graph to match order of slices
...
Also change heading on AHI Overview to show same order
Improve some variable names for ease of understanding code
2020-08-02 20:24:56 -07:00
Guy Scharf
32026446a5
Rename variables for clarity -- no effect on code
2020-08-02 13:01:31 -07:00
Guy Scharf
484ee9c40d
Popup graph Phase III: Fix previous submission.
2020-08-01 18:48:23 -07:00
Guy Scharf
24969aedbb
Popout graphs Phase III: make sure all graphs repaint when new graph added.
2020-08-01 18:33:48 -07:00
Guy Scharf
5dcec07b9e
Popout graphs phase II: Fix height of popped-out graphs
...
Popped-out graphs no longer can have their height adjusted by pulling on dock or widget window.
This is a work-around to a problem when popping-out multiple graphs, heights of early graphs
were increased and heights of the latter graphs were too small.
2020-08-01 13:49:39 -07:00
Guy Scharf
2712fad0c6
Popout graphs Phase I: limit dock height to screen height; preserve original graph heights
2020-08-01 12:45:02 -07:00
sawinglogz
f25f991e9f
Add feature to suppress zooming when holding down the shift key.
...
This allows users to measure a duration without zooming.
2020-07-27 12:57:16 -04:00
sawinglogz
a339b4679d
First pass at adding B&W support for daily report printing.
2020-07-18 14:56:00 -04:00
Guy Scharf
a89c24a194
Fix maximum zoom in when clicking on graph with popup menu visible
2020-07-07 11:07:44 -07:00
Guy Scharf
66523e15f4
Don't display event duration when zero on flow graph
2020-05-26 10:07:59 -07:00
sawinglogz
4fa353a263
Fix regression in da60a5a
and underlying bug.
...
Note that operator[] on a non-const QHash inserts a default-constructed
item in the hash if the key doesn't already exist.
2020-05-23 21:51:43 -04:00
sawinglogz
a8cd0a72b4
Add support for AVAPS in overview pressure chart.
2020-04-27 20:18:05 -04:00
sawinglogz
4a5322c350
Fix overview pressure chart for PRS1 pressure setting channels.
2020-04-27 17:35:50 -04:00
sawinglogz
670693dd5f
Move gPressureChart value calculation into addSlice.
2020-04-27 16:55:56 -04:00
sawinglogz
33eacab53f
Refactor gPressureChart::populate().
2020-04-27 16:46:25 -04:00
sawinglogz
c5768a64fe
Simplify gPressureChart upper label formatting.
2020-04-27 16:07:15 -04:00
sawinglogz
d13109bbed
Replace gPressureChart array indices with channel-based references.
2020-04-27 15:50:55 -04:00
sawinglogz
0ebf4e70a3
Clean up gPressureChart constructor, with minor refactoring.
2020-04-27 14:46:49 -04:00
sawinglogz
cfca378160
Move pressure chart class into its own files.
2020-04-27 14:12:16 -04:00
sawinglogz
3306c00b26
Fix minutes-at-pressure graph for PRS1 CPAP/BiPAP devices.
...
Also fix a drawing bug when there were spurious 0 pressures reported.
2020-04-10 16:49:23 -04:00
sawinglogz
217c71d1de
Fix bar height on AHI and Usage charts in Overview when oximetry usage is longer than CPAP.
...
Thanks to spacewrench for identifying the issue and then tracking down the
offending code!
2020-03-29 19:21:34 -04:00
sawinglogz
a80134e7db
Remove redefinition of nullptr that caused compilation errors under Qt 5.14.
...
Thanks to mjphyi for tracking this down!
gcc didn't provide very useful error messages, saying that
error: invalid conversion from ‘long int’ to ‘QDebug::Stream*’
was in qglobal.h.
But it really had to do with a few scattered #defines in OSCAR changing
nullptr to NULL (an int). Since OSCAR now requires C++11, and nullptr
is a keyword in C++11, these #defines can go.
Resolves issue #5 .
2020-02-18 15:22:51 -05:00
sawinglogz
ab9d5e87c5
Flip the sleep stage data to negative so that the chart is drawn in the right orientation.
...
Ideally graphs would be able to invert their Y axis without this hack, but
it works for now. It would also be good to support non-numeric labels
in the graph legend.
2020-01-30 13:45:55 -05:00
sawinglogz
20b5ae454c
Fix pinch gestures so that spreading fingers zooms in.
2020-01-27 15:04:54 -05:00
sawinglogz
097362dfa1
Move version constants out of header file into new cpp file.
2020-01-13 18:41:24 -05:00
sawinglogz
d02e1dd235
When loading settings, leave unspecified defaults alone.
...
This prevents new charts (such as CPAP_PressureSet, etc.) from being
disabled by virtue of their being absent from existing settings.
2019-12-26 16:04:54 -06:00
Guy Scharf
29a782731f
Add missing translation call for a tooltip
2019-11-21 16:39:36 -07:00
sawinglogz
9a25647c25
Add initial support for PRS1 settings channel (as distinct from statistics).
...
Right now this results in slightly confusing graphs, since sometimes
the IPAP/EPAP data for a machine is primarily reported by its settings
events, and for other machines by its statistics events. Also, the
"average" pressure on F0 looks like it might be effectivley EPAP in
single-pressure mode rather than the true average in bi-level mode.
Once we decide on the best presentation, we can either update the importer
or the display to show the most helpful channels for a given session.
2019-10-29 11:14:57 -04:00
Seeker4
6158d83935
Clean up code -- eliminate qDebug statements
2019-09-02 22:10:36 -07:00
Seeker4
aeffae09fc
Standard and Advanced graphs apparently working, still with lots of diagnostics.
2019-09-01 22:14:36 -07:00
Seeker4
afdcd0bbc4
First step in Daily graphs rework: replace many hard-coded strings as STR_GRAPH_* variables for keys to graphs.
2019-08-31 17:56:53 -07:00
Seeker4
61270ae83e
Refactor getRangeString for date line at bottom of Overview page
2019-08-25 07:46:48 -07:00
Seeker4
61142830ae
Correct date problems on bottom of Overview page. Remove UTC conversions. Improve date formatting for 1 day and more than a year.
2019-08-24 17:47:22 -07:00
Seeker4
a8dc05c3f5
1.1.0-testing-4 plus fix to overview graph
2019-08-22 19:59:51 -07:00
Seeker4
92136e7a63
Fix problem with overview charts all starting at left edge when they should not.
2019-08-22 02:33:18 -07:00
Seeker4
1c304eb13e
Add some documentation to graph modules.
2019-08-22 02:31:33 -07:00
sawinglogz
31fc47a5c5
Remove "series" from display in UI and on reports.
2019-08-18 17:27:21 -04:00
Seeker4
7786161a4d
Merge branch 'master' into overview
2019-08-14 11:36:18 -07:00
Seeker4
56584bd601
Make 100% zoom work properly on Overview page.
2019-08-14 11:29:26 -07:00
Seeker4
edfbb692e9
Tweak format of date bar on Daily page slightly.
2019-08-09 23:14:32 -07:00
Seeker4
d375ab38f8
Merge branch 'master' into dateformat
2019-08-09 22:56:45 -07:00
Seeker4
83a01fa203
Date bar on bottom of Daily graph now in local time when no line cursor displayed, and formatting updated
2019-08-09 22:54:00 -07:00
Seeker4
fc3ec0d485
View/Reset Graphs now additionally enables all graphs and all event flags
2019-08-09 15:32:37 -07:00
harre
77ccd417a3
Fix deprecated-copy errors and made deprecated-declarations just a warning
2019-08-06 23:49:51 +02:00
Seeker4
75c0a9950a
Format dates per national settings.
2019-08-06 10:51:14 -07:00
Seeker4
3b1414c37d
When reverting to original graph order, reset any pins.
2019-07-31 08:40:20 -07:00
Seeker4
4532b22fc6
Add View/Reset Graphs to put graphs in original order and heights. Overlays and dotted lines are not yet reset.
2019-07-30 19:59:01 -07:00
Seeker4
dbabc4cd58
Suppress duration on tooltip and event list if duration is zero (which usually means unknown duration as CPAP machine did not report it)
2019-07-05 10:29:57 -07:00
sawinglogz
1a0a4bbf52
Convert compliance "slices" to events with a starting delta.
...
Also fix the related enums and add more value checks.
Also add YAML output of the cumulative mask-on slice time.
2019-06-03 20:12:17 -04:00
sawinglogz
6e6bc81be8
Fix session averaging bug discovered when fixing warning. May fix #59 .
2019-05-08 17:08:12 -04:00
sawinglogz
e67aae78cf
Make warnings fail regression tests, fix warnings.
2019-05-08 17:06:17 -04:00
Seeker4
7e9b59bbf6
Change measurement units from metric/arhiac to Metric/English
2019-05-01 09:05:01 -07:00
Phil Olynyk
c0246470f5
Replace old man Oscar logo with new big O logo
2019-04-16 13:12:26 -04:00
Phil Olynyk
bf43724ce8
comment out a sleep(3) that slows down empty display
2019-04-07 12:02:41 -04:00
Phil Olynyk
478275479f
Added tr( ... ) around a string.
2019-03-26 17:59:36 -04:00
Phil Olynyk
26f5854c6b
Delete confusing PREF macro and replace as required
2019-03-25 19:36:41 -04:00
Phil Olynyk
ee6f0caeca
add CPAP_Pressure to LineChart for mode >= BiPap
2019-03-18 11:54:49 -04:00
Phil Olynyk
b6cfa1583c
Changed some boolean operators to bit-wise operators
2019-03-17 16:03:08 -04:00
Phil Olynyk
4020040674
comment out segfaulting paint call
2019-03-12 12:32:18 -04:00
Phil Olynyk
590032e76d
Sorry, massive list of small changes - debugging, sleepyhead deleteion, etc
2019-03-10 12:03:19 -04:00
Phil Olynyk
17b53482bd
Change folder and file name from oscr to oscar
2019-02-22 19:23:39 -05:00