mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Version bump, added Release Notes dialog, updated welcome page html
This commit is contained in:
parent
013ae7470b
commit
18b4ed95a5
@ -21,5 +21,6 @@
|
||||
<file>icons/last.png</file>
|
||||
<file>icons/toggle-off-us.svg</file>
|
||||
<file>icons/toggle-on-us.svg</file>
|
||||
<file>docs/release_notes.html</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
@ -131,4 +131,8 @@ OTHER_FILES += \
|
||||
docs/template_overview.sht \
|
||||
docs/schema.xml \
|
||||
docs/graphs.xml \
|
||||
docs/channels.xml
|
||||
docs/channels.xml \
|
||||
docs/release_notes.html
|
||||
|
||||
|
||||
|
||||
|
@ -10,32 +10,42 @@ p,a,td,body { font-size: 14px }
|
||||
<tr><td bgcolor="#d0d0d0" colspan=2 cellpadding=0 valign=center align=center><font color="black" size=+1><b>Welcome to SleepyHead</b></font></td></tr>
|
||||
<tr>
|
||||
<td valign="top" leftmargin=0 cellpadding=6>
|
||||
<p>This software is designed to assist you in reviewing data for your CPAP Machine, Oximeter, and Sleep Stage monitors, as well as help you <i>track</i> general issues related to sleep health.</p>
|
||||
<p>This software is currently being designed to assist you in reviewing data for your CPAP Machine, Oximeter, and Sleep Stage monitors, as well as help you <i>track</i> general issues related to sleep health.</p>
|
||||
<p><i><b>This is a developer preview, features are missing and bugs will be plentyful.</b></i></p>
|
||||
<p>Currenly supports the following machines:</p>
|
||||
<li>Philips Respironics System One (Including ASV models)</li>
|
||||
<li>ResMed S9 models (VPAP and lower)</li>
|
||||
<li>Contec CMS50 Oximeters</li>
|
||||
<p><a href='qrc:/docs/usage.html'>A few usage notes, plus some important information for Mac users.</a></p>
|
||||
<p><i>This is a developer preview, features are missing and bugs will be plentyful.<i></p>
|
||||
<p><a href='http://www.sourceforge.net/projects/sleepyhead'>SleepyHead Project Website</a> on SourceForge<br/>
|
||||
<a href='http://jedimark64.blogspot.com'>Jedimark's Personal Blog</a><br/>
|
||||
<a href='http://en.wikipedia.org/wiki/Sleep_apnea'>About Sleep Apnea</a> on Wikipedia</p>
|
||||
<p>Friendly places to talk about Sleep Apnea<br/>
|
||||
<li>Philips Respironics System One</li>
|
||||
<li>ResMed S9 models</li>
|
||||
<li>Contec CMS50 Oximeters (rather poorly still I'm afraid)</li>
|
||||
<p>I don't recommend using this built in "web browser" to do any major surfing in, it will work, but it's mainly meant as a help browser.
|
||||
(It doesn't support SSL encryption.)</p>
|
||||
|
||||
<p>Here are the <a href='qrc:/docs/release_notes.html'>release notes</a> for this version, in case you missed them.<br/>
|
||||
Plus a few <a href='qrc:/docs/usage.html'>usage notes</a>, and some important information for Mac users.<br/>
|
||||
SleepyHead's <a href='http://www.sourceforge.net/projects/sleepyhead'>Project Website</a> on SourceForge</p>
|
||||
<p>The authors' boring and neglected <a href='http://jedimark64.blogspot.com'>Personal Blog</a></p>
|
||||
<p>About <a href='http://en.wikipedia.org/wiki/Sleep_apnea'>Sleep Apnea</a> on Wikipedia</p>
|
||||
<p>Friendly forums to talk and learn about Sleep Apnea:<br/>
|
||||
<a href='http://www.cpaptalk.com'>CPAPTalk Forum</a>,
|
||||
<a href="http://s7.zetaboards.com/Apnea_Board/index/">Apnea Board</a>
|
||||
</p>
|
||||
<a href="http://s7.zetaboards.com/Apnea_Board/index/">Apnea Board</a></p>
|
||||
<p>Unfriendly place to be mis/underinformed about Sleep Apnea:<br/>
|
||||
http://www.apneasupport.org (Shame on you, ASAA!)</p>
|
||||
</td>
|
||||
<td><image src='qrc:/docs/sheep.png' width=220 height=220><br/>
|
||||
<div align=center>This is a temporary logo</div>
|
||||
<div align=center>I really want a new logo!</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2>
|
||||
<hr>
|
||||
<hr/>
|
||||
<p><b>Copyright:</b> ©2011 <a href="http://jedimark64.blogspot.com">Mark Watkins</a> (jedimark)</p>
|
||||
<p><b>License:</b> This software is released freely under the <a href="http://www.gnu.org/licenses/gpl.html">GNU Public License</a>.</p>
|
||||
<p><b>Do NOT rely on this software to help you make medical decisions.<br/>This application is merely a data viewer, and no guarantee is made regarding accuracy of data displayed.</p>
|
||||
<p>Your doctor should always be your first and best source of guidance regarding the important matter of managing your health.</b></p>
|
||||
<hr/>
|
||||
<p><b>DISCLAIMER:</b></p>
|
||||
<b><p>This is <font color="red"><u>DEFINITELY NOT</u></font> medical software. This application is merely a data viewer, and no guarantee is made regarding accuracy or correctness of any calculations or data displayed.</p>
|
||||
<p>The author will NOT be held liable by anyone who harms themselves or others by use or misuse of this software.</p>
|
||||
<p>Your doctor should always be your first and best source of guidance regarding the important matter of managing your health.</p>
|
||||
<p><h2>*** <u>Use at your own risk</u> ***</h2></p></b>
|
||||
<hr/>
|
||||
</td></tr>
|
||||
</table>
|
||||
</body>
|
||||
|
42
docs/release_notes.html
Normal file
42
docs/release_notes.html
Normal file
@ -0,0 +1,42 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1><image src='qrc:/docs/sheep.png' width=64 height=64>SleepyHead v0.8.7</h1>
|
||||
|
||||
<p><b>Please Note:</b> <i>This is still pre-Beta software. Expect bugs.</i></p>
|
||||
|
||||
<p><h2><b>Release Notes</b></h2></p>
|
||||
|
||||
<p>This is by no means a "major" release, it mostly just fixes some annoying bugs.</p>
|
||||
<p>I would have liked to have had more to share with you all by now, but I spent the last few
|
||||
weeks flattened by fatigue & fog. Not fun, and not feeling all that productive.</p>
|
||||
<p>Still, I have managed to make a few nice improvements...</p>
|
||||
|
||||
<p><b>Which bugs are fixed?</b><br/>
|
||||
I can't remember. Quite a few import related issues where fixed.</p>
|
||||
<b>Apart from the bugfixes, what's new?</b>
|
||||
<li>Shift+Left Clicking on overview graph will open that day in Daily tab.</li>
|
||||
<li>New calendar navigation bar allows easy hiding the calendar to get more room.</li>
|
||||
<li>Also includes some minor optimizations.</li>
|
||||
<br/>
|
||||
<b>What's still missing/broken?</b><br/>
|
||||
<li>Oximetry.. still. I know it sucks.. I need it too.</li>
|
||||
<li>Daily report printing still needs doing</li>
|
||||
<li>???</li>
|
||||
</p>
|
||||
<p><b>Problems & Stuff?</b><br/>
|
||||
If I've still missed your bug, my appologies, I'm not deliberately ignoring you, I'm just rather darn forgetful and need reminding.</p>
|
||||
<p>SourceForge is still the best place to report bugs, especially to do with these binary builds. If your following GIT source, they mailing list is (usually) much quicker in getting my attention.</p>
|
||||
<p><b>Note:</b> If you experience a crash right after starting, you may need to manually remove the "SleepApp" folder, which resides under your documents directory.</p>
|
||||
<p><b>On Reviews</b><br/>
|
||||
Thanks for the nice reviews at SourceForge, however please be mindful that this software isn't finished. </p>
|
||||
<p>Reviewing (and testing) unfinished software is a lot like tasting unfermented beer: most of the raw ingredients are there, but it's flat and still missing it's kick.</p>
|
||||
<p>I guess I can't complain about the 95%, I don't expect to be able to keep everybody happy.<br/>
|
||||
But it shows there is always room for improvement. :)</p>
|
||||
<p><b>Thanks</b><br/>
|
||||
Thanks to all the wonderful people who have given their support to this project, be it via donations,
|
||||
sharing CPAP data, following GIT source tree, testing binary builds, submitting bug reports, giving ideas for improvement, and general feedback on the CPAP forums.</p>
|
||||
<p>I very much appreciate all the help and encouragement.</p>
|
||||
<p>Cheers,</p>
|
||||
<p>Mark Watkins (JediMark)</p>
|
||||
</body>
|
||||
</html>
|
22
main.cpp
22
main.cpp
@ -10,6 +10,9 @@
|
||||
#include <QFontDatabase>
|
||||
#include <QStringList>
|
||||
#include <QDebug>
|
||||
#include <QPushButton>
|
||||
#include <QWebFrame>
|
||||
|
||||
|
||||
#include "SleepLib/schema.h"
|
||||
#include "mainwindow.h"
|
||||
@ -56,6 +59,20 @@ void initialize()
|
||||
{
|
||||
schema::init();
|
||||
}
|
||||
void release_notes()
|
||||
{
|
||||
QDialog relnotes;
|
||||
QVBoxLayout layout(&relnotes);
|
||||
QWebView web(&relnotes);
|
||||
web.load(QUrl("qrc:/docs/release_notes.html"));
|
||||
//web.page()->mainFrame()->setScrollBarPolicy(Qt::Vertical, Qt::ScrollBarAlwaysOn);
|
||||
relnotes.setLayout(&layout);
|
||||
layout.insertWidget(0,&web,1);
|
||||
QPushButton okbtn("&Ok, get on with it..",&relnotes);
|
||||
relnotes.connect(&okbtn,SIGNAL(clicked()),SLOT(accept()));
|
||||
layout.insertWidget(1,&okbtn,1);
|
||||
relnotes.exec();
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
@ -104,13 +121,16 @@ int main(int argc, char *argv[])
|
||||
NewProfile newprof(0);
|
||||
if (newprof.exec()==NewProfile::Rejected)
|
||||
return 0;
|
||||
release_notes();
|
||||
|
||||
// Show New User wizard..
|
||||
} else {
|
||||
if (PREF.Exists("VersionString")) {
|
||||
QString V=PREF["VersionString"].toString();
|
||||
if (V!=Version) {
|
||||
QMessageBox::warning(0,"New Version Warning","This is a new version of SleepyHead. If you experience a crash right after clicking Ok, you will need to manually delete the SleepApp folder (it's located in your Documents folder) and reimport your data. After this things should work normally.",QMessageBox::Ok);
|
||||
|
||||
release_notes();
|
||||
//QMessageBox::warning(0,"New Version Warning","This is a new version of SleepyHead. If you experience a crash right after clicking Ok, you will need to manually delete the SleepApp folder (it's located in your Documents folder) and reimport your data. After this things should work normally.",QMessageBox::Ok);
|
||||
check_updates=false;
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
const int major_version=0;
|
||||
const int minor_version=8;
|
||||
const int revision_number=6;
|
||||
const int revision_number=7;
|
||||
|
||||
extern Profile * profile;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user