Commit Graph

227 Commits

Author SHA1 Message Date
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
Mark Watkins
38d849719d Added user details to Statistics page 2014-04-15 21:02:51 +10:00
Mark Watkins
142d1f96a0 Made Welcome browser and intro HTML text translatable 2014-04-15 14:47:23 +10:00
Mark Watkins
a1991e658a Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2014-04-15 13:20:05 +10:00
Mark Watkins
0500a39797 Updated About box, updated translation templates 2014-04-15 13:19:29 +10:00
Sean Stangl
1979083de8 Style cleanup for gGraphView.h.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-14 20:11:10 +10:00
Sean Stangl
1d235f9fdc Cleanup PreferencesDialog::on_resetGraphButton_clicked().
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-14 19:35:25 +10:00
Sean Stangl
7530119010 Fix Qt notifications under a GNOME3 desktop.
For whatever reason, Qt notifications to the GNOME3 systray
omit exactly the last line, rendering the popup just a little too low.
As a workaround, this patch appends a newline character to notification
strings, bumping the text back onto the screen.

Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-14 19:02:13 +10:00
Alec Clews
36b9cc8e16 Make the Channel ID consistantly of Type Channel ID
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-10 14:07:00 +10:00
Mark Watkins
0e03e4deef ResMed importer Swedish language encoding fix in Qt5.2 (Thanks manderss99) 2014-04-10 14:01:03 +10:00
Sean Stangl
9dbe702a40 Standardize project modelines and include license and copyright.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-10 13:29:53 +10:00
Sean Stangl
d86ffb3a50 Store EDFSignal memory in a linear vector.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-10 13:08:56 +10:00
Sean Stangl
50c51c9a91 Fix buffer overrun in EDFParser.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-10 12:58:39 +10:00
Mark Watkins
6e07dfad4e disable screenshot code only when built with qt4 on Mac 2014-04-10 12:58:14 +10:00
Mark Watkins
96d6acac19 Qt4 compile fix 2014-04-10 04:46:56 +10:00
Mark Watkins
4989b492f3 Added notification on succesful screenshot 2014-04-10 02:20:34 +10:00
Mark Watkins
e13128122c Fixed F12 screenshot ability for Mac 2014-04-10 02:14:41 +10:00
Mark Watkins
6d65611caf Fix startup crash and correct SleepyHead spelling inconsistencies (Thanks Sean) 2014-04-09 15:00:34 +10:00
Mark Watkins
c0ecc640d3 Removed gradient from graph area in pinned graphs 2014-04-07 20:18:18 +10:00
Mark Watkins
4734b42e60 Minor Translation stuff 2014-04-07 14:28:05 +10:00
Mark Watkins
3a680a5384 Double clicking graph title now toggles pin status, removed bottom pin buttons 2014-04-06 16:32:58 +10:00
Mark Watkins
eb7a696af4 Remove accidentally-left-on test pin on in overview 2014-04-05 19:10:18 +10:00
Mark Watkins
b303d5816c Fix translation loader on mac, updated Dutch translations 2014-04-05 19:00:06 +10:00
Mark Watkins
7c8eb35afd Stop showing pinned graph background when printing 2014-04-05 12:30:08 +10:00
Mark Watkins
3134b9e92d Fixed text not displaying in snapshots 2014-04-05 12:27:47 +10:00
Mark Watkins
860c67d685 Added Graph Pinning Capabilities 2014-04-05 11:28:07 +10:00
Mark Watkins
c79d51b76c Percentile title display glitch 2014-03-21 09:40:31 +10:00
Mark Watkins
ce44c644b3 Manderss99's Swedish ResMed S9 importer fixes 2013-12-10 15:34:27 +10:00
Mark Watkins
1128263c08 Fix html glitch in Daily sessions list 2013-11-19 23:37:02 +10:00
Mark Watkins
53f893fb99 Summary page cleanup for VPAP/ASV 2013-11-19 23:06:17 +10:00
Mark Watkins
ce48401f08 Overview linechart preference, ResMed pressure fixes (Needs Reimport) 2013-11-19 14:42:10 +10:00
Mark Watkins
e3cecdbe4c Removed buggy gToolTip pixmap caching code 2013-11-09 14:36:02 +10:00
Mark Watkins
eba087315b Fix SummaryChart clipping to early 2013-11-09 14:03:29 +10:00
Mark Watkins
d6c357f6c4 Changed all Overview LineBar charts to Line Charts. 2013-11-09 13:35:35 +10:00
Mark Watkins
733ababef2 Thicken SummaryChart GT_POINTS lines a bit 2013-11-09 13:25:33 +10:00
Mark Watkins
dcd25fc32b Show points when highlighting overview linecharts 2013-11-09 13:22:57 +10:00
Mark Watkins
b2f0fa802b Added preference for touchpad dampening, removed overview 'points' 2013-11-09 13:13:15 +10:00
Mark Watkins
ab5ae5ad49 Added millisecond lock between Horizontal and Vertical Panning on Touchpads 2013-11-09 10:59:35 +10:00
Mark Watkins
e29d7f7efe Limit GT_POINTS display to max 6 months 2013-11-09 10:37:11 +10:00
Mark Watkins
8f21f7e303 Added SummaryChart GT_POINTS plot mode 2013-11-09 10:26:44 +10:00
Mark Watkins
5f9869082c Fix Navigation Icon font size inconsistency 2013-11-04 18:09:20 +10:00
Mark Watkins
fda69582ef minor release number bump for next unstable 2013-11-04 16:57:16 +10:00
Mark Watkins
a97bb0be80 printer scaling fix for Retina macs 2013-11-04 16:49:48 +10:00
Mark Watkins
cbbae2e700 Fix EventBreakdown chart fonts on retina 2013-11-04 15:14:37 +10:00
Mark Watkins
2e3313d5e7 Fix font PixmapCaching alignment 2013-11-04 14:49:41 +10:00
Mark Watkins
ff12a0eba4 More DrawTextQue fixes 2013-11-04 13:53:53 +10:00
Mark Watkins
cd4bee13e3 Cleaned up and profiles DrawTextQue function 2013-11-04 13:40:08 +10:00
Mark Watkins
84dbbfe841 Clean up 3rdparty bundling.. Mac & Windows use static qextserialport and quazip 2013-11-04 12:45:33 +10:00
Mark Watkins
d5ccfb1d2a Left out INCLUDEPATH for quazip on Mac 2013-11-04 11:52:19 +10:00
Mark Watkins
1ba1511118 Retina display support for Qt5.2 beta, build 3rdparty libs in on mac 2013-11-03 22:14:17 +10:00
Mark Watkins
c58bfbbf8e Added windows application icon 2013-10-29 12:50:59 +10:00
Mark Watkins
c1cc5730b7 Fix Tooltip font clipping glitch 2013-10-27 00:09:06 +10:00
Mark Watkins
36f2dec1d8 Added ToolTip & yAxisScaling preferences 2013-10-26 23:59:37 +10:00
Mark Watkins
f5264d657b Started deprecating channels.xml and replacing with translatable channels 2013-10-26 15:06:56 +10:00
Mark Watkins
0cf324c2c6 Fix scrollbar disconnect debug messages 2013-10-26 14:01:16 +10:00
Mark Watkins
8de36b5c35 Fixed Resmed loader bug affecting TidalVolume & FLG 2013-10-26 09:30:35 +10:00
Mark Watkins
fd09eb4307 Fix some physmin/max yaxis scaling issues 2013-10-26 09:11:37 +10:00
Mark Watkins
193dead833 Windows build fix 2013-10-26 01:44:14 +10:00
Mark Watkins
b3538bfaa2 Implemented first two yAxis zoom modes (double click on yAxis labels) 2013-10-26 01:25:13 +10:00
Mark Watkins
4c7c833019 QDateTime::toString() hideously too slow in gXAxis::paint on Mac 2013-10-25 22:11:23 +10:00
Mark Watkins
5f3826b67a Removed superfluous redraw in YAxis Tooltips 2013-10-25 21:46:35 +10:00
Mark Watkins
8553fdfd1c Fix SummaryChart tooltips 2013-10-25 21:33:28 +10:00
Mark Watkins
d7fdc94fbd Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2013-10-25 20:41:28 +10:00
Mark Watkins
142feb9ace Mouse Handling cleanup, Graph YAxis prep work, profile screen improvements 2013-10-25 20:39:30 +10:00
Mark Watkins
4719d4065d Fix sessionbar 2013-10-22 22:54:52 +10:00
Mark Watkins
0a67a16baa ResMed Backup cleanup and Purge CPAP Day fix 2013-10-22 21:42:57 +10:00
Mark Watkins
9dd253136d Cleaned up Details panel code, now only shows single column event indices 2013-10-21 02:20:31 +10:00
Mark Watkins
5f42c6f05f Fix a whole heap of translation strings 2013-10-20 22:13:06 +10:00
Mark Watkins
fc601fc7ef Fixed profile selection always in random order 2013-10-20 21:00:55 +10:00
Mark Watkins
1ce3423f8c Better ResMed SDCard backup, keep monthly STR.edf copy 2013-10-20 20:20:54 +10:00
Mark Watkins
65540d1b51 Drag some ASV notes of of git stash 2013-10-19 22:51:25 +10:00
Mark Watkins
9b51e2ecd3 More on graph legend markers 2013-10-19 18:09:50 +10:00
Mark Watkins
673b75d9f0 Clean up graph legend markers 2013-10-19 18:00:52 +10:00
Mark Watkins
44d2117580 Pixmap caching wasn't using correct fonts 2013-10-19 16:58:16 +10:00
Mark Watkins
aced743226 Turn off forced language selection test 2013-10-19 13:00:57 +10:00
Mark Watkins
e739b7dd6f Added Data Folder selection ability, and fixed Language selection bug on Mac 2013-10-19 12:59:52 +10:00
Mark Watkins
013c2bc878 Build fix for git qmake stuff 2013-10-18 16:05:42 +10:00
Mark Watkins
66a7c8f903 More GIT qmake stuff 2013-10-18 15:32:58 +10:00
Mark Watkins
89f2fb2a51 Project file GIT stuff 2013-10-18 15:09:52 +10:00
Mark Watkins
3c2ae16976 Preparing for adding an unstable GIT branch 2013-10-18 14:56:44 +10:00
Mark Watkins
ce7640f906 Some windows stylesheet fixes 2013-10-17 02:54:54 +10:00
Mark Watkins
7bce479e01 Pretty things up a bit with stylesheets 2013-10-17 02:39:22 +10:00
Mark Watkins
616fd4893d Updated translation templates, seperated welcome text from ui form 2013-10-16 22:40:38 +10:00
Mark Watkins
ad84266a16 BiLevel IPAP/EPAP fixes for S9 VPAP 2013-10-16 19:36:05 +10:00
Mark Watkins
1b518be11c Version bump 2013-10-16 18:51:06 +10:00
Mark Watkins
51873bef91 Fix Min/Max APAP pressures reversed in ICON loader 2013-10-16 16:13:53 +10:00
Mark Watkins
37107f93f8 F&P Mask Pressure fix (not really Mask Pressure, but verifies FLW import works 2013-10-16 15:18:29 +10:00
Mark Watkins
969feab9c5 F&P Icon Flow waveform 2013-10-16 14:37:03 +10:00
Mark Watkins
1f706ed42b Some unfinished work on F&P Icon loader and ResMed S9 importer 2013-10-16 12:52:25 +10:00
Mark Watkins
e6560b7315 Enabled ResMed Oximeter graph display 2013-10-14 03:33:43 +10:00
Mark Watkins
f1f798f5de Warning - Incremented ResMed importer version. 2013-10-14 02:48:50 +10:00
Mark Watkins
2e49a51b17 Cleaned up Daily pages html formatting, schema needed to initialize before Machine loader registrations 2013-10-14 02:35:53 +10:00
Mark Watkins
61cb9adc12 Minor profiling & day loading performance improvements 2013-10-13 20:13:14 +10:00
Mark Watkins
79cd678e8a Changes SleepStage and Oximeter Sessions list to match CPAP 2013-10-13 18:48:18 +10:00
Mark Watkins
c627733320 Better session duration spacing 2013-10-13 18:37:48 +10:00
Mark Watkins
ee5a1dbab4 Session duration spacing 2013-10-13 18:30:18 +10:00
Mark Watkins
0af94664b8 Changed Session Information to display duration, Less colors in SessionBar 2013-10-13 18:07:43 +10:00
Mark Watkins
9348b3841e Removed UITools dependency 2013-10-13 16:27:55 +10:00
Mark Watkins
db76ce1a64 Put a reusable label in the bar beneath graphs 2013-10-12 18:07:57 +10:00
Mark Watkins
4b0a40a825 Resolve crash on empty days in previous code 2013-10-12 17:46:06 +10:00
Mark Watkins
16d924bf6c Implement support for SessionBar in QWebView areas 2013-10-12 17:40:45 +10:00
Mark Watkins
934bd0249f Fix iconfile location for mac after move 2013-10-11 21:41:49 +10:00
Mark Watkins
6b31181103 Added SessionBar for easier CPAP session toggling, directory layout clean 2013-10-11 03:37:00 +10:00
Mark Watkins
617912f276 Linux build fix 2013-10-10 12:22:58 +10:00
Mark Watkins
d6a104f91e Use qt mkspec/features for qextserialport 2013-10-10 11:14:44 +10:00
Mark Watkins
680256a7c2 More library build stuff 2013-10-10 10:36:03 +10:00
Mark Watkins
5ae2b88105 QtExtSerialPort does go in it's own include folder 2013-10-10 09:34:42 +10:00
Mark Watkins
e6507d58fe QExtSerialPort header fix 2013-10-10 09:22:52 +10:00
Mark Watkins
b34600c8e2 More build fixes 2013-10-10 03:54:06 +10:00
Mark Watkins
758ebe8024 Added use_bundled_libs qmake CONFIG option 2013-10-10 03:34:44 +10:00
Mark Watkins
3eeef5060d Renamed src directory to sleepyhead 2013-10-10 02:47:28 +10:00