Commit Graph

560 Commits

Author SHA1 Message Date
Mark Watkins
084c2a1d1a Update release notes 2014-07-20 00:19:05 +10:00
Mark Watkins
cbeba3fe05 Make all mouse events save history 2014-07-20 00:09:04 +10:00
Mark Watkins
60b32905be Added selection history. Hit escape key to go back to last selected area 2014-07-19 23:38:07 +10:00
Mark Watkins
3fe43ef621 Unselect graph when selecting from another one, switch from Control to Shift key 2014-07-19 23:09:08 +10:00
Mark Watkins
8599598607 Prevent scrolling/panning while button is down, make sure duration display goes back to normal 2014-07-19 22:55:40 +10:00
Mark Watkins
5e672eb651 Improve ctrl selection, plus show duration above flow graph 2014-07-19 22:51:17 +10:00
Mark Watkins
b6491cac84 New select tool: Hold control/command key while selecting an graph area, then release to select 2014-07-19 22:17:32 +10:00
Mark Watkins
6aa87bebac Fixed event list click regression 2014-07-19 16:18:54 +10:00
Mark Watkins
d8d4157c90 Forced Preferences, Exit and About into application menu on Mac, added qtserialport source 2014-07-19 16:12:15 +10:00
Mark Watkins
043a11dbf8 Fixed gGraphView settings file version check 2014-07-17 03:23:24 +10:00
Mark Watkins
a4cbc5e22c Fix graph settings getting clobbered whenever language changes 2014-07-17 03:12:52 +10:00
Mark Watkins
462bd70b5e Add Large Leak overlay to Daily View leak graph 2014-07-15 17:01:47 +10:00
Mark Watkins
d17779b68b 0.9.7-3 bump 2014-07-13 20:09:35 +10:00
Mark Watkins
3024b8247f Remember last used CPAP import path 2014-07-13 20:03:00 +10:00
Mark Watkins
40764c1783 Remove lockfile on change user, Fix sessionbar still visible sometimes on purge 2014-07-13 19:47:27 +10:00
Mark Watkins
c386d36355 Better summary only messages 2014-07-13 14:39:26 +10:00
Mark Watkins
d0bb6414b6 ResMed VPAP-S Pressure display fix 2014-07-12 21:15:18 +10:00
Mark Watkins
bdea52af4d Prevent new profile crash due to uninitialized global object 2014-07-12 21:05:17 +10:00
Mark Watkins
87d848ff14 Added profile lockfile ability to help protect against multiple profile instances 2014-07-12 20:52:14 +10:00
Mark Watkins
083a667527 Standardize on a global profile object 2014-07-11 07:09:38 -05:00
Mark Watkins
422c4821f0 Fix a rare PRS1 session duplicate condition affecting multi-chunk sessions 2014-07-11 01:13:44 -05:00
Mark Watkins
4c9f265b45 Fix the broken fix to the DST bug 2014-07-11 01:51:34 +10:00
Mark Watkins
a38a9c548e ResMed STR.edf DST issue fix 2014-07-11 00:54:05 +10:00
Mark Watkins
d51988a4ac Track build numbers in git so I can sync them across platforms 2014-07-10 14:53:37 +10:00
Mark Watkins
7c22916e79 Messed that last commit up. 2014-07-09 16:54:50 +10:00
Mark Watkins
74a9b3379b Fix build_number.h not being created properly 2014-07-09 16:39:44 +10:00
Mark Watkins
7e7d87f143 Added ReleaseMode Incremental Build Number to versioning 2014-07-09 13:49:20 +10:00
Mark Watkins
24bc115a26 Resolve CMS50E corrupted record hedaer condition 2014-07-07 03:40:09 +10:00
Mark Watkins
04dff07933 VC2013 build fix in resmed_loader 2014-07-06 22:44:59 +10:00
Mark Watkins
ffbeb5795c Temporarily show raw ResMed EPR values 2014-07-06 10:22:50 +10:00
Mark Watkins
92d79a7a76 Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2014-07-04 13:46:06 +10:00
Mark Watkins
da08983e86 Disable open-in-file-browser code for Linux (too much work for now) 2014-07-04 13:45:29 +10:00
Mark Watkins
16ce74f3d7 More for windows show-file-in-explorer 2014-07-03 12:45:38 +10:00
Mark Watkins
6a790a6333 Windows showInGrpahicalShell fixes 2014-07-03 12:31:50 +10:00
Mark Watkins
cd121c319a Force PRS1 purge, don't try to copy when importing from PRS1 backup, warn when switching backups off 2014-07-03 11:59:50 +10:00
Mark Watkins
757de33b9a Remove all traces of old oximetry, and qextserialport dependency 2014-07-03 11:11:54 +10:00
Mark Watkins
3ed32ccad3 Added simple PRS1 SD card Backup functionality 2014-07-03 02:55:38 +10:00
Mark Watkins
d16bc60f69 Force Resmed database upgrade 2014-07-03 02:33:29 +10:00
Mark Watkins
b6cff80991 0.9.7 version bump 2014-07-03 02:16:12 +10:00
Mark Watkins
b5ea2f02cc Display a warning when machine settings data is missing 2014-07-03 00:32:01 +10:00
Mark Watkins
138e95497c Make PRS1 corrupted summary days not mess up rx changes list as much 2014-07-03 00:15:28 +10:00
Mark Watkins
c135c2edb4 Fix min/max Day calc functions 2014-07-02 23:58:59 +10:00
Mark Watkins
c549a90bf5 ResMed EPR setting fix, SummaryOnly calculation fixes 2014-07-02 23:45:53 +10:00
Mark Watkins
686588663a Change SummaryOnly from a setting to a session variable 2014-07-02 21:58:36 +10:00
Mark Watkins
9331b4b9a2 Fix New Profile Wizard title, and stop providing a default name 2014-07-02 15:33:27 +10:00
Mark Watkins
f03ab85da5 Fix FPIcon summary-only AHI overview display 2014-07-02 15:22:28 +10:00
Mark Watkins
b6d4b8cd99 Restore CPAP_MaskPressureHi plots when available 2014-07-02 15:11:32 +10:00
Mark Watkins
123254757d Better forced purge messages, allow renamed profiles to open, and fix TidalVolume units 2014-07-02 13:22:09 +10:00
Mark Watkins
25ff06750d Improve handling of corrupted CMS50 record headers 2014-07-01 14:57:54 +10:00
Mark Watkins
c7deb345a1 Update sleepyhead wiki url's 2014-07-01 01:47:19 +10:00
Mark Watkins
3749ee3cf8 Use new multithreaded task que on second stage ResMed importer 2014-06-30 21:20:12 +10:00
Mark Watkins
fe184a1f4a Added support for importing .spo2 files from newer CMS50F oximeters, plus a little SleepyHead history 2014-06-30 20:41:50 +10:00
Mark Watkins
c82f847f51 Fix ResMed AutoSet min pressure reading 2014-06-27 00:18:45 +10:00
Mark Watkins
3429dedbc5 Fix Chinese ResMed S9 channel names 2014-06-27 00:06:13 +10:00
Mark Watkins
7d2fa05ab3 Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2014-06-26 04:54:44 +10:00
Mark Watkins
870f456b35 Fix m_cnt LoadSummary upgrade error 2014-06-26 04:54:17 +10:00
Mark Watkins
3363e1e31b Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2014-06-23 16:24:55 +10:00
Mark Watkins
c3e5c188de MingW compile fix 2014-06-23 16:24:37 +10:00
Mark Watkins
0d01550f95 Stop unsupported PRS1 summary only sessions from showing due to zero end time 2014-06-23 15:02:40 +10:00
Mark Watkins
c1d993b157 Suppress layout warning, force purge for windows test build 2014-06-23 01:40:52 +10:00
Mark Watkins
d6d6780cdc Windows build fix 2014-06-23 01:14:46 +10:00
Mark Watkins
9d6ac34025 Fix closeEvent's not firing, and not saving settings properly 2014-06-22 13:54:56 +10:00
Mark Watkins
41622b1ed9 PRS1 summary duration fix, don't show event breakdown witout data present 2014-06-21 02:19:17 +10:00
Mark Watkins
c59a377e89 CMS50 Serial import reliability fixes 2014-06-21 00:17:41 +10:00
Mark Watkins
c2ea072340 Seperated logger to separate class 2014-06-20 17:05:40 +10:00
Mark Watkins
56358c25c7 Prevent hang by moving logger to it's own threadpool 2014-06-20 16:17:27 +10:00
Mark Watkins
482542c34d Reworked logger to better handle multithreading 2014-06-20 15:25:50 +10:00
Mark Watkins
3d3e3fa5c8 ResMed EPR Fix, show summary only warning in daily panel 2014-06-20 12:53:12 +10:00
Mark Watkins
73c2c0e1da Fix EventBreakDown Pie not showing summaries properly 2014-06-20 12:35:28 +10:00
Mark Watkins
ffbc94bb41 Fix LoadSummary upgrade for m_cnt fix, and m_sum load error 2014-06-20 12:21:56 +10:00
Mark Watkins
9ee92ecf48 Session::m_cnt should have been a float, fixes some ResMed summary issues 2014-06-20 12:06:57 +10:00
Mark Watkins
ecfde2869e Fully revert Translation resource idea 2014-06-16 10:16:49 +10:00
Mark Watkins
a96cff0047 Revert "Move translations to internal resource"
This reverts commit 82e1412bb2b4216eba8c81e509ecf79949a64aaf.
2014-06-16 09:56:06 +10:00
Mark Watkins
aaa617003d Move translations to internal resource
Custom translations to SleepyHeadData/Translations folder
2014-06-04 04:23:14 +10:00
Mark Watkins
ba51fcc8e3 Fix 3 segment opengl versions 2014-06-03 15:53:33 +10:00
Mark Watkins
5aebc3ade1 Changing BrokenGL2 build file flag to BrokenGL 2014-06-03 03:55:59 +10:00
Mark Watkins
8275312677 OpenGL 2.0 detection, and Gracefully exit if OpenGL/ANGLE version is run on incompatible computer 2014-06-03 03:35:45 +10:00
Mark Watkins
126e78cddc Clean up a few warnings, fix case sensitivity issue 2014-06-02 21:22:45 +10:00
Mark Watkins
d1ffafb409 Rename gSessionTimesChart files 2014-06-02 21:12:48 +10:00
Mark Watkins
279dfb9607 Fix OpenGL glGetString crash 2014-06-02 20:28:12 +10:00
Mark Watkins
6a13b6dcec Remove BrokenGL2 nag on startup after first show 2014-06-02 18:18:01 +10:00
Mark Watkins
9aee5a328d Show graphics engine in about dialog and titlebar 2014-06-02 18:16:28 +10:00
Mark Watkins
42d29ae75c Windows ANGLE compatability warnings 2014-06-02 16:40:00 +10:00
Mark Watkins
b71ef45a3e VisualC++ compiler build fix 2014-06-02 15:23:44 +10:00
Mark Watkins
1053972f79 BrokenGL sleeepyhead.pro improvement, minor cleanups 2014-06-02 12:56:22 +10:00
Mark Watkins
a800aff28f Added back in corrupt PRS1 waveform handling 2014-06-01 08:22:50 +10:00
Mark Watkins
61502b2da9 Fix RX changes highlighting regression 2014-06-01 07:32:11 +10:00
Mark Watkins
b1fa273539 PRS1 Loader multithreading Rewrite, plus some minor graph tinkering 2014-06-01 07:25:07 +10:00
Mark Watkins
166c9ad839 Fix a Statistics page cell width bug 2014-05-29 05:26:05 +10:00
Mark Watkins
f042f4d7f2 Use oximeter date to find CPAP session 2014-05-29 04:08:09 +10:00
Mark Watkins
f203cd5aa0 Added delete days oximetry sessions menu option 2014-05-29 03:45:42 +10:00
Mark Watkins
466119b7f1 ResMed CPAP Pressure display fix (purge and reimport) 2014-05-29 02:23:40 +10:00
Mark Watkins
1a6b75f36f Put print margins back 2014-05-28 23:13:14 +10:00
Mark Watkins
1ab66deb59 Make statistics page honour application font setting 2014-05-28 23:09:03 +10:00
Mark Watkins
d82a041db0 Fix crash in oximeter file import 2014-05-28 19:43:18 +10:00
Mark Watkins
a01395e267 More oximetry work, plus added MD300W1 oximeter importer 2014-05-28 19:35:21 +10:00
Mark Watkins
260e83e330 Added Oximetery save code, module is ready for testing 2014-05-28 03:43:28 +10:00
Mark Watkins
6061bfd519 Oximeter sync page UI stuff 2014-05-27 15:24:35 +10:00
Mark Watkins
d049c4f0fa Appearance tweaks to Statistics page 2014-05-27 05:29:01 +10:00
Mark Watkins
a2305e4569 Profile selection screen tweaks and stylesheets 2014-05-27 04:15:51 +10:00
Mark Watkins
66ed64be35 Make Oximeter welcome page skippable and reaccessable. 2014-05-26 20:22:38 +10:00
Mark Watkins
83d8f1ea40 Don't update so much when live oximetry graphs are switched off 2014-05-26 19:20:29 +10:00
Mark Watkins
8d3f51584f Import from page cleanup 2014-05-26 18:45:50 +10:00
Mark Watkins
ffca449ac2 Connected LCD components in Live Oximetery, added graph hide ability 2014-05-26 17:37:28 +10:00
Mark Watkins
66e8d249cf Graph height calculation tweaks 2014-05-26 13:48:22 +10:00
Mark Watkins
17a7ac924b Work on Live Oximetery mode 2014-05-26 02:20:33 +10:00
Mark Watkins
ce1e03e86a New OximeterImport Module 2014-05-25 17:07:08 +10:00
Mark Watkins
16672fcd4a Fix FPIcon Waveform regression 2014-05-21 10:17:31 +10:00
Mark Watkins
fedd464878 Fixed overview Y-Axis graph scaling 2014-05-21 01:33:27 +10:00
Mark Watkins
87b3ca2355 Added -language command line switch to reset language 2014-05-21 01:11:16 +10:00
Mark Watkins
a9ffeac07f Made graph scaling honour min/max Graph Preferences 2014-05-21 00:52:29 +10:00
Mark Watkins
5dd44a4f32 Change grap top row and tooltip label equals to colons 2014-05-21 00:27:38 +10:00
Mark Watkins
5a4c113e71 Disable autoscaler debugging code 2014-05-20 22:07:32 +10:00
Sean Stangl
61e9e64d05 Fix Q_OS_UNIX build.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-05-20 22:00:40 +10:00
Mark Watkins
c88f46a6fd ResMed loader multithreading work, Fixed autoscaling issue 2014-05-20 21:51:47 +10:00
Mark Watkins
27a7a78a53 Added Ignore Older Sessions preference, plus some purge fixes 2014-05-19 17:30:10 +10:00
Mark Watkins
0e69dbd370 Merged purge functions 2014-05-19 13:46:02 +10:00
Mark Watkins
10db88005b F&P Move backup to end of import functions 2014-05-19 03:53:09 +10:00
Mark Watkins
23e23f8210 ResMed STR.edf summary parser, and Purge rework 2014-05-19 03:06:58 +10:00
Mark Watkins
3f3e30b39a More minor GUI tweaks 2014-05-17 22:20:06 +10:00
Mark Watkins
be6c04e619 GUI appearance tweaks 2014-05-17 21:33:33 +10:00
Mark Watkins
483d92a74a Fixes build error. thanks Roy.. plus fixed Med string mixup 2014-05-17 18:34:16 +10:00
Mark Watkins
4305baa76b A couple more string fixes 2014-05-17 15:12:57 +10:00
Mark Watkins
a6348f74fa Translations strings cleanup and resync. Cleaned up Profile delete 2014-05-17 15:04:40 +10:00
Mark Watkins
00496f8672 Except I left a ; off a debug line 2014-05-17 00:39:07 +10:00
Mark Watkins
b5bf202f45 Finish of that last bit of work 2014-05-17 00:36:07 +10:00
Mark Watkins
a5740df0a9 Left out some more stuff in last commit 2014-05-17 00:18:39 +10:00
Mark Watkins
7a347f67fd WinXP+Intel GFX only works with slow QWidget, so lets have both 2014-05-17 00:08:16 +10:00
Mark Watkins
2dd2d952d1 Revert back to QGLWidget.. QWidget BackingStores suck more than a vacuum cleaner 2014-05-16 23:38:28 +10:00
Mark Watkins
d0fdf69deb Use repaint() in gGraphView 2014-05-16 20:44:09 +10:00
Mark Watkins
f89a5e8ad7 Honour antialiasing setting in gLineChart 2014-05-16 19:55:48 +10:00
Mark Watkins
d04f5c310d Fix crash in qGraphView constructor 2014-05-16 19:34:25 +10:00
Mark Watkins
6df63bd854 RemoveGLWidget stuff 2014-05-16 19:30:11 +10:00
Mark Watkins
e4329fc117 FPIcon automatic backup support 2014-05-16 10:03:50 +10:00
Mark Watkins
d09e64b800 Fix Statistics RXChange hoverover glitch 2014-05-16 09:21:27 +10:00
Mark Watkins
dd1cdd83fb Bug fix to previous commit 2014-05-16 08:48:51 +10:00
Mark Watkins
ad43791fc7 Added upper and lower threshold capabilities 2014-05-16 07:48:53 +10:00
Mark Watkins
6af9004caa Added time above & below threshold calculation capability 2014-05-16 06:48:05 +10:00
Mark Watkins
b4f24c3457 Added Leak Redline threshold display and preference settings 2014-05-16 05:45:46 +10:00
Mark Watkins
02de835377 Fix shutdown crash in gGraphView (QTBUG-35363) 2014-05-16 04:15:32 +10:00
Mark Watkins
f0356ee99c Optimize waveform/leak/pressure processing calcs, FPIcon cleanup 2014-05-16 03:56:53 +10:00
Mark Watkins
ae3fe507b1 F&P import flags code rearange 2014-05-15 16:20:54 +10:00
Mark Watkins
87bdf725a7 Fix statistics page html generation error for FPIcon 2014-05-15 14:26:48 +10:00
Mark Watkins
a86449803f Roy Stones FPIcon Sensawake patch 2014-05-15 13:51:32 +10:00
Mark Watkins
becd48f352 Fix some untranslatable strings 2014-05-14 23:35:55 +10:00
Mark Watkins
ce75e82d7d Tweak language selection dialog margins 2014-05-14 21:46:43 +10:00
Mark Watkins
84d56d99ee Change language selection combo to a more practical list 2014-05-14 20:36:04 +10:00
Mark Watkins
eaba138287 Windows installer scripts 2014-05-14 19:55:03 +10:00
Mark Watkins
76a0a6cb8d Removed seperate UpdateNotes. just keeping ReleaseNotes from now on 2014-05-14 16:49:37 +10:00
Mark Watkins
62af95fbbb 0.9.6 Version bump, graph title alignment fix 2014-05-14 16:22:46 +10:00
Mark Watkins
5ebc7dc283 Fix QPainter::drawLines glitch in gLineChart 2014-05-14 15:58:47 +10:00
Mark Watkins
c369f0ef00 ResMed Session grouping rework 2014-05-14 15:15:06 +10:00
Mark Watkins
96429dee7a Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2014-05-14 07:44:13 +10:00
Mark Watkins
8ce69b7e27 Minor EventList cleanups 2014-05-14 07:44:00 +10:00
Mark Watkins
a0f43f1b3d Little endian test glitch screwing up ResMed MaskPressure graph 2014-05-14 07:30:06 +10:00
Mark Watkins
ec0ed2359c Add delay to SD autoscanner 2014-05-14 06:02:42 +10:00
Sean Stangl
87ca2ebf7e Use explicit QRegion for paint().
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-05-14 05:51:04 +10:00
Mark Watkins
b98d90934d Merge branch 'qpainter', old opengl code is officially dead 2014-05-14 05:30:09 +10:00
Sean Stangl
f02ff92296 Remove unused AHIChart class.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-05-14 05:20:44 +10:00
Mark Watkins
9a2d536057 Clean up Daily constructor a little bit 2014-05-13 18:14:20 +10:00
Mark Watkins
3f8b04710d Fix autoscanner not detecting drives on Windows 2014-05-13 14:03:24 +10:00
Mark Watkins
59b6700a50 Fix dodgy code assignment in ResMed code, Fix for automatic re-import after purge 2014-05-13 12:56:51 +10:00
Mark Watkins
1f4bf4c510 Clean up CPAP datacard autodetection 2014-05-13 11:28:41 +10:00
Mark Watkins
7eea8ca365 Shut down GraphView tabs a little more cleanly 2014-05-12 05:04:34 +10:00
Mark Watkins
924a988769 Offer to reimport automatically after purge if backup folder available 2014-05-12 04:31:48 +10:00
Mark Watkins
76e3636f5b Wait a bit for CPAP data card to be detected 2014-05-12 03:29:26 +10:00
Mark Watkins
2089de7120 F&P Icon timestamp patch (thanks Roy Stone) 2014-05-11 15:19:25 +10:00
Mark Watkins
f98291c62b Added line plot thickness preference, fixed barchart gradients 2014-05-10 12:53:50 +10:00
Mark Watkins
b041277ad4 Turn off debugging font color 2014-05-10 10:51:35 +10:00
Mark Watkins
18082cbef5 Replace pixmap caching code with Qt's build in stuff 2014-05-10 10:50:35 +10:00
Mark Watkins
79e889d0a6 More MSVC stuff 2014-05-09 17:05:54 +10:00
Mark Watkins
9a40b54f63 Merge branch 'qpainter' of ssh://git.code.sf.net/p/sleepyhead/code into qpainter 2014-05-08 21:18:46 +10:00
Mark Watkins
2e49787cc3 More minor optimasations 2014-05-08 21:18:19 +10:00
Mark Watkins
e87c7e7373 Merge branch 'qpainter' of ssh://git.code.sf.net/p/sleepyhead/code into qpainter 2014-05-08 21:17:57 +10:00
Mark Watkins
04b37d0f7c AntiAliasing stuff 2014-05-08 21:17:45 +10:00
Mark Watkins
5d31a6d952 Line drawing optimisations 2014-05-08 21:08:32 +10:00
Mark Watkins
484d6ae6c7 Show No Graph, or No Graphs On messages centered, since there is no cube 2014-05-08 15:02:03 +10:00
Mark Watkins
ba1cc81701 Windows build fix. Mingw needs zlib, MSVC doesn't 2014-05-08 14:56:53 +10:00
Mark Watkins
38a8c7b1d0 More MSVC fixes plus cleanup warnings a bit 2014-05-08 14:46:23 +10:00
Mark Watkins
7d33a2c053 Merge branch 'qpainter' of ssh://git.code.sf.net/p/sleepyhead/code into qpainter 2014-05-08 14:09:19 +10:00
Mark Watkins
97c1375837 MSVC++ build fixes 2014-05-08 14:09:05 +10:00
Mark Watkins
3c0fa11f91 Get rid of extra OpenGL dependencies 2014-05-08 14:07:23 +10:00
Mark Watkins
ee73925259 A little graph profiling 2014-05-08 12:05:01 +10:00
Mark Watkins
b810cf8acc Fix pie labels 2014-05-08 11:04:37 +10:00
Mark Watkins
e32ac39d08 Convert OpenGL to QPainter primatives 2014-05-08 05:52:59 +10:00
Mark Watkins
bae7f333d6 Translation strings update 2014-05-07 10:43:42 +10:00
Mark Watkins
fcbfc8cc92 Added empty session skip back in for ResMed importer 2014-05-07 10:12:42 +10:00
Mark Watkins
3f86358507 Fix Day::hours() calculation glitch with empty sessions 2014-05-07 10:10:13 +10:00
Mark Watkins
8aa0c2b8b4 Remove c++11 auto iterators :( 2014-05-07 04:03:13 +10:00
Mark Watkins
feec1ca758 Undo initializer lists for the greater good, restoring Qt4.8 support 2014-05-07 03:39:05 +10:00
Mark Watkins
f5e136eefd Added click on statistics header to jump to overview date range 2014-05-06 22:37:00 +10:00
Mark Watkins
54452ab79a Added a new monthly statistics mode, and a switch to toggle 2014-05-06 21:54:41 +10:00
Mark Watkins
81959b44b1 Hide user info from statistics when there isn't any available 2014-05-06 19:33:06 +10:00
Mark Watkins
6ea8de1515 Smarten up Statistics page a bit, and make it more flexible
This is in preperation for making it editable by users.
Also added compliance calculations to profile
2014-05-06 19:11:34 +10:00
Mark Watkins
95fd5b9a7f Fix overview graphs cropping top line 2014-05-06 12:37:29 +10:00
Mark Watkins
af744d6752 Fix remaining prefCalcMax test in overview 2014-05-06 12:25:20 +10:00
Mark Watkins
da87e96761 Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2014-05-06 12:24:50 +10:00
Mark Watkins
039294f989 Fix Max and 99% flag being swapped in Daily view Summary panel
Also some minor cleanups having a look over update module
2014-05-06 12:19:36 +10:00
Mark Watkins
cf9fb10355 Fix Qt 5.2.1 mingw build missing M_PI. But don't use Qt5.2.1 on windows. OpenGl is broken 2014-05-06 02:24:35 +10:00
Mark Watkins
e8b07b4eac More Resmed import cleanups, and fixes glitch with empty sessions 2014-05-05 16:14:29 +10:00
Mark Watkins
66e7b48abd Disable CombineSessions, IgnoreShortSessions and force day split time to noon when ResMed data present
This has been done because it's the only way access to Summary data is possible
This is in preperation for a little rework of the STR.edf parser
2014-05-05 04:24:29 +10:00
Mark Watkins
b530f27ca0 ResMed loader cleanup, fix missing snore graph, versioning change.
Versioning system just got changed to standard 3 segments
Major, Minor and Patch level. Bumped to version 0.9.5
2014-05-05 04:02:41 +10:00
Mark Watkins
1db5a74125 Change unstable references to testing 2014-05-04 16:21:26 +10:00
Mark Watkins
0ff65945e5 Preferences dialog was not saving profile settings 2014-05-04 04:30:29 +10:00
Mark Watkins
5efb973cac Fix Variable Pressure Support display in Daily view summary panel 2014-05-04 01:36:21 +10:00
Mark Watkins
799694dddb PRS1 Family 5 Version 4 Has extra graph data field 2014-05-04 01:23:15 +10:00
Mark Watkins
58bc7ef2ef Turned import progress dialog back on 2014-05-03 18:52:44 +10:00
Mark Watkins
a6dbdf3d15 Stop using inconsistent PRS1 Summary duration field, added PRS1 Large Leak span 2014-05-03 18:28:05 +10:00
Sean Stangl
acfffbc980 Add missing header, fixing Linux build.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-05-02 14:36:49 +10:00
Mark Watkins
c9a5b712f3 Minor PRS1 cleaning 2014-05-02 14:34:34 +10:00
Mark Watkins
027a81d915 Show progressbar in a dialog during import instead of in the status bar
Also added a warning message for non data capable PRS1 machines
2014-05-01 14:59:40 +10:00
Mark Watkins
22a9736598 Intellipap & FP Icon autoscanner Detect() functions 2014-04-29 05:24:39 +10:00
Sean Stangl
a155efa878 Simplify ResmedLoader::Detect() by avoiding manual string manipulation.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-29 04:59:55 +10:00
Mark Watkins
945e72afe9 Minor autoscanner tweak for Linux 2014-04-29 04:39:58 +10:00
Mark Watkins
f0e523212e Improve autoscanner drive detection 2014-04-29 04:29:30 +10:00
Mark Watkins
83022db8cb Windows import autoscanner fixes 2014-04-28 19:10:34 +10:00
Mark Watkins
558fb2f789 Pop up file dialog if no SD card data detected 2014-04-28 14:05:20 +10:00
Mark Watkins
4790025697 Implemented ResmedLoader autoscanner Detect() code 2014-04-28 14:01:55 +10:00
Mark Watkins
2fca186def Mainwindow destructor cleanup 2014-04-28 13:40:50 +10:00
Mark Watkins
2b62343e61 Removed ImportLocations and implemented datacard Autoscanner 2014-04-28 13:27:33 +10:00
Mark Watkins
38d7aeb3fb Some C++11 cleanups to importers, preparing for autoscanner/import wizard 2014-04-26 19:54:08 +10:00
Mark Watkins
e8fe6c7af0 Only open active profile after selection, rather than parsing all at startup.
Also cleaned up the last references to summary when statistics was meant.
2014-04-25 15:52:47 +10:00
Mark Watkins
cfb3eb7c26 Fixes to last commit 2014-04-24 19:44:15 +10:00
Mark Watkins
1ea0473701 Added missing cmath header to gGraph 2014-04-24 08:26:49 +10:00
Sean Stangl
0899b39175 Split humongous gGraphView.cpp into class-specific files.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-24 08:23:45 +10:00
Sean Stangl
3a7ce34b1c Use C++11 nullptr.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-24 08:17:53 +10:00
Mark Watkins
87fd9c37db Cleanup Day iterator code using C++11 2014-04-23 16:00:09 +10:00
Sean Stangl
415ad42dab Enable C++11 support!
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-23 15:13:20 +10:00
Sean Stangl
8ac829a3d1 Explicitly include <limits> to fix Qt4 build.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-23 15:03:38 +10:00
Sean Stangl
fc51eb7fee Add a configure script defaulting to Qt5, and fix Qt5 on Fedora.
Fedora doesn't ship a qextserialport compatible with Qt5,
but the version in 3rdparty/ is perfectly viable.

Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-23 15:02:07 +10:00
Sean Stangl
868a61c27b Express some profiles.h functions in terms of helper functions.
Gets rid of nasty string duplication and pointer logic.

Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-22 17:16:48 +10:00
Mark Watkins
0421a5c4e2 Clean up & optimise Session and Profile iterators a little bit 2014-04-22 17:16:24 +10:00
Mark Watkins
f718973c88 Clean up and optimise Day classes session iterators 2014-04-22 15:28:58 +10:00
Mark Watkins
780368c2e8 Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2014-04-18 16:10:32 +10:00
Sean Stangl
eb3019b0fe Express one EventList::AddEvent() in terms of the other.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-18 11:04:04 +10:00
Mark Watkins
24c3087326 Fix a minor tooltip font glitch in preferences 2014-04-18 10:49:22 +10:00
Sean Stangl
be71894ad0 Clean up and express GetGoodDay() in terms of GetDay().
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-18 10:46:05 +10:00
Sean Stangl
c29313ab88 Auto-convert the SleepLib/ subdirectory with astyle.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 16:18:49 +10:00
Sean Stangl
b5d5b82b59 Auto-convert the Graphs/ subdirectory with astyle.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 16:18:28 +10:00
Sean Stangl
012e9fd314 Auto-convert the main source directory with astyle. "The Huge Patch"
The files daily.cpp and daily.h are omitted, pending some other cleanup patches landing first.

Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 16:15:28 +10:00
Mark Watkins
98d877991f Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2014-04-17 16:14:47 +10:00
Sean Stangl
3508afc883 Auto-convert gGraphView.cpp with astyle.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 15:26:39 +10:00
Sean Stangl
355113ec95 Add STYLE file for astyle.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 15:25:35 +10:00
Mark Watkins
8dbe7274c3 Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2014-04-17 14:56:27 +10:00
Mark Watkins
7ce407f6e9 Cleanup some unused variable, Qt4 build fix 2014-04-17 14:56:04 +10:00
Sean Stangl
80defa6186 Clean up common_gui.{cpp,h}.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 14:50:43 +10:00
Mark Watkins
df88beb45f Qt ISODate in screenshot filename has bad colon characters on windows 2014-04-16 20:36:49 +10:00
Mark Watkins
214d693201 Bump build number 2014-04-16 17:27:43 +10:00
Mark Watkins
cdec714156 Spelling fixes, update_notes 2014-04-16 00:17:10 +10:00
Mark Watkins
a9b2fe7db2 Added Position tracking foundation, and Somnopose CSV importer 2014-04-15 23:59:24 +10:00