From 5a33b5e86df1b54d1636b12b78ae5e2f8c164136 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Tue, 11 Oct 2011 08:27:25 +1000 Subject: [PATCH] More oximetry preferences stub stuff --- preferencesdialog.cpp | 7 +++++++ preferencesdialog.ui | 35 ++++++++++++++++++++++++++--------- 2 files changed, 33 insertions(+), 9 deletions(-) diff --git a/preferencesdialog.cpp b/preferencesdialog.cpp index 97895cd6..2785c4ad 100644 --- a/preferencesdialog.cpp +++ b/preferencesdialog.cpp @@ -77,6 +77,10 @@ PreferencesDialog::PreferencesDialog(QWidget *parent,Profile * _profile) : ui->intentionalLeakEdit->setValue((*profile)["IntentionalLeak"].toDouble()); ui->useMultithreading->setChecked((*profile)["EnableMultithreading"].toBool()); + ui->oximetryGroupBox->setChecked((*profile)["EnableOximetry"].toBool()); + ui->oximetrySync->setChecked((*profile)["SyncOximetry"].toBool()); + ui->oximetryType->setCurrentIndex(ui->oximetryType->findText((*profile)["OximeterType"].toString(),Qt::MatchExactly)); + ui->eventTable->setColumnWidth(0,40); ui->eventTable->setColumnWidth(1,55); ui->eventTable->setColumnHidden(3,true); @@ -176,6 +180,9 @@ void PreferencesDialog::Save() (*profile)["EnableGraphSnapshots"]=ui->useGraphSnapshots->isChecked(); (*profile)["IntentionalLeak"]=ui->intentionalLeakEdit->value(); (*profile)["EnableMultithreading"]=ui->useMultithreading->isChecked(); + (*profile)["EnableOximetry"]=ui->oximetryGroupBox->isChecked(); + (*profile)["SyncOximetry"]=ui->oximetrySync->isChecked(); + (*profile)["OximeterType"]=ui->oximetryType->currentText(); PREF["FontApplication"]=ui->applicationFont->currentText(); PREF["FontApplicationSize"]=ui->applicationFontSize->value(); diff --git a/preferencesdialog.ui b/preferencesdialog.ui index f15e1b27..6698dc52 100644 --- a/preferencesdialog.ui +++ b/preferencesdialog.ui @@ -10,7 +10,7 @@ 0 0 527 - 291 + 330 @@ -813,6 +813,9 @@ p, li { white-space: pre-wrap; } Oximetry + + 0 + @@ -821,7 +824,7 @@ p, li { white-space: pre-wrap; } - + Use Oximetry @@ -829,7 +832,7 @@ p, li { white-space: pre-wrap; } true - + @@ -842,10 +845,10 @@ p, li { white-space: pre-wrap; } - + - + Contec CMS50 @@ -859,7 +862,7 @@ p, li { white-space: pre-wrap; } - + 0 @@ -873,15 +876,29 @@ p, li { white-space: pre-wrap; } - + + + + Please Note: It is impossible to sync oximetry data with CPAP data without a valid timestamp. + +CMS50 data imported from SpO2Review (from .spoR files) or the serial import method does NOT have the correct timestamp needed to do this. + +Live view mode (using a serial cable) is the only way to acheive an accurate sync on CMS50 oximeters. + + + true + + + + Qt::Vertical - 434 - 101 + 452 + 36