Commit Graph

335 Commits

Author SHA1 Message Date
Mark Watkins
93dc4722b5 Show context based information in above graph text while alt is pressed. Clean up location of mouse time calculation 2014-07-21 17:14:02 +10:00
Mark Watkins
14a1eb5a03 Cleanup and Cache Alt-key linechart display so it only calcs once per frame 2014-07-21 12:41:25 +10:00
Mark Watkins
48ac50e224 There is a mouse Leave event after all.. Fix the focus glitches properly 2014-07-21 04:24:03 +10:00
Mark Watkins
6a7ffac96b Fix keyboard focus glitch 2014-07-21 04:05:36 +10:00
Mark Watkins
96d51db7dc More alignment stuff 2014-07-21 02:56:40 +10:00
Mark Watkins
b7fca58fd1 Align pressure details, and hide Events string while alt pressed to fit on smaller screens 2014-07-21 02:48:43 +10:00
Mark Watkins
cd87d10736 Added current pressure settings to alt-key graph hover 2014-07-21 02:22:51 +10:00
Mark Watkins
6ca12024ae Also update vertical line when hovering over eventflags graph 2014-07-20 19:42:34 +10:00
Mark Watkins
8821a03355 Grab keyboard properly when mouse is over graph area 2014-07-20 19:28:58 +10:00
Mark Watkins
bf591e22e1 Clear selection duration correctly 2014-07-20 19:26:59 +10:00
Mark Watkins
0bf8d8833a Add time display and verticle line in alt-select mode, plus userflags in piechart option 2014-07-20 19:22:31 +10:00
Mark Watkins
7c54c8d13b Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code 2014-07-20 14:48:38 +10:00
Mark Watkins
15cb77fe45 Position User flagging at end of event to match ResMed behaviour 2014-07-20 14:47:32 +10:00
Mark Watkins
926d5af10e Highlight flow graph overlay durations on hover 2014-07-20 14:22:33 +10:00
Mark Watkins
eec43c7141 Just record history at zoom changes, the other way sucks 2014-07-20 00:34:32 +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
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
083a667527 Standardize on a global profile object 2014-07-11 07:09:38 -05:00
Mark Watkins
b6d4b8cd99 Restore CPAP_MaskPressureHi plots when available 2014-07-02 15:11:32 +10:00
Mark Watkins
73c2c0e1da Fix EventBreakDown Pie not showing summaries properly 2014-06-20 12:35:28 +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
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
b71ef45a3e VisualC++ compiler build fix 2014-06-02 15:23:44 +10:00
Mark Watkins
b1fa273539 PRS1 Loader multithreading Rewrite, plus some minor graph tinkering 2014-06-01 07:25:07 +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
fedd464878 Fixed overview Y-Axis graph scaling 2014-05-21 01:33:27 +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
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
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
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
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
becd48f352 Fix some untranslatable strings 2014-05-14 23:35:55 +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
8ce69b7e27 Minor EventList cleanups 2014-05-14 07:44:00 +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
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
1f4bf4c510 Clean up CPAP datacard autodetection 2014-05-13 11:28:41 +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
38a8c7b1d0 More MSVC fixes plus cleanup warnings a bit 2014-05-08 14:46:23 +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
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
95fd5b9a7f Fix overview graphs cropping top line 2014-05-06 12:37:29 +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
a6dbdf3d15 Stop using inconsistent PRS1 Summary duration field, added PRS1 Large Leak span 2014-05-03 18:28:05 +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
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
3508afc883 Auto-convert gGraphView.cpp with astyle.
Signed-off-by: Mark Watkins <jedimark@users.sourceforge.net>
2014-04-17 15:26:39 +10:00
Mark Watkins
7ce407f6e9 Cleanup some unused variable, Qt4 build fix 2014-04-17 14:56:04 +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
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
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
3a680a5384 Double clicking graph title now toggles pin status, removed bottom pin buttons 2014-04-06 16:32:58 +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
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
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
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
1ba1511118 Retina display support for Qt5.2 beta, build 3rdparty libs in on mac 2013-11-03 22:14:17 +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
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
142feb9ace Mouse Handling cleanup, Graph YAxis prep work, profile screen improvements 2013-10-25 20:39:30 +10:00
Mark Watkins
0a67a16baa ResMed Backup cleanup and Purge CPAP Day fix 2013-10-22 21:42:57 +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
3eeef5060d Renamed src directory to sleepyhead 2013-10-10 02:47:28 +10:00