diff --git a/sleepyhead/SleepLib/loader_plugins/resmed_loader.cpp b/sleepyhead/SleepLib/loader_plugins/resmed_loader.cpp index e7ea5c59..4a9ba33f 100644 --- a/sleepyhead/SleepLib/loader_plugins/resmed_loader.cpp +++ b/sleepyhead/SleepLib/loader_plugins/resmed_loader.cpp @@ -656,7 +656,8 @@ void ResmedImport::run() sess->settings[RMS9_MaskOnTime] = R.maskon; // Grab all the system settings - if (R.set_pressure >= 0) sess->settings[RMS9_SetPressure] = R.set_pressure; + if (R.set_pressure >= 0) + sess->settings[CPAP_Pressure] = R.set_pressure; if (R.min_pressure >= 0) sess->settings[CPAP_PressureMin] = R.min_pressure; if (R.max_pressure >= 0) sess->settings[CPAP_PressureMax] = R.max_pressure; if (R.ps >= 0) sess->settings[CPAP_PS] = R.ps; @@ -1260,7 +1261,8 @@ int ResmedLoader::Open(QString path, Profile *profile) sess->SetChanged(true); // First take the settings - if (R.set_pressure >= 0) sess->settings[RMS9_SetPressure] = R.set_pressure; + if (R.set_pressure >= 0) + sess->settings[CPAP_Pressure] = R.set_pressure; if (R.min_pressure >= 0) sess->settings[CPAP_PressureMin] = R.min_pressure; if (R.max_pressure >= 0) sess->settings[CPAP_PressureMax] = R.max_pressure; if (R.ps >= 0) sess->settings[CPAP_PS] = R.ps; @@ -2061,7 +2063,7 @@ void ResInitModelMap() resmed_codes[CPAP_Mode].push_back("Mode"); resmed_codes[CPAP_Mode].push_back("Modus"); resmed_codes[CPAP_Mode].push_back("Funktion"); - resmed_codes[RMS9_SetPressure].push_back("SetPressure"); + resmed_codes[RMS9_SetPressure].push_back("Set Pressure"); resmed_codes[RMS9_SetPressure].push_back("Eingest. Druck"); resmed_codes[RMS9_SetPressure].push_back("Ingestelde druk"); resmed_codes[RMS9_SetPressure].push_back("Pres. prescrite"); diff --git a/sleepyhead/docs/release_notes.html b/sleepyhead/docs/release_notes.html index 11fdfe5a..a3cbc0e6 100644 --- a/sleepyhead/docs/release_notes.html +++ b/sleepyhead/docs/release_notes.html @@ -9,7 +9,9 @@ New features & bugs fixes in v0.9.6
-
  • Deprecated old Oximetery page
  • +
  • Minor user interface tweaks
  • +
  • Added ChoiceMMed MD300W1 Oximeter file import support
  • +
  • Complete Rewrite of CMS50 Importer
  • Completely redesigned Oximetery with new Import Wizard
  • Improved data Purge and Reimport from backup abilities
  • Improved ResMed STR.edf summary import support
  • diff --git a/sleepyhead/preferencesdialog.cpp b/sleepyhead/preferencesdialog.cpp index bec7c90f..94333e24 100644 --- a/sleepyhead/preferencesdialog.cpp +++ b/sleepyhead/preferencesdialog.cpp @@ -18,6 +18,8 @@ #include #include #include +#include + #include "preferencesdialog.h" #include "common_gui.h" @@ -491,6 +493,7 @@ bool PreferencesDialog::Save() PREF["Fonts_Application_Bold"] = ui->applicationFontBold->isChecked(); PREF["Fonts_Application_Italic"] = ui->applicationFontItalic->isChecked(); + PREF["Fonts_Graph_Name"] = ui->graphFont->currentText(); PREF["Fonts_Graph_Size"] = ui->graphFontSize->value(); PREF["Fonts_Graph_Bold"] = ui->graphFontBold->isChecked(); @@ -511,6 +514,7 @@ bool PreferencesDialog::Save() font.setWeight(ui->applicationFontBold->isChecked() ? QFont::Bold : QFont::Normal); font.setItalic(ui->applicationFontItalic->isChecked()); QApplication::setFont(font); + mainwin->menuBar()->setFont(font); *defaultfont = ui->graphFont->currentFont(); defaultfont->setPointSize(ui->graphFontSize->value()); diff --git a/sleepyhead/statistics.cpp b/sleepyhead/statistics.cpp index a007af3b..31630343 100644 --- a/sleepyhead/statistics.cpp +++ b/sleepyhead/statistics.cpp @@ -144,7 +144,7 @@ QString htmlHeader() "border-radius:10px;" "-moz-border-radius:10px;" "-webkit-border-radius:10px;" - "width: 95%;" + "width: 99%;" "page-break-after:auto;" "-fs-table-paginate: paginate;" "}" @@ -166,7 +166,7 @@ QString htmlHeader() "function Go(url) { throw(url); }" "" "" - "" + "" "
    " // cellpadding=3 cellspacing=0 border=0 "" "
    "+userinfo+"" @@ -847,7 +847,6 @@ QString Statistics::GenerateHTML() rx.prelief = prelief; rx.prelset = prelset; rx.machine = mach; - if (mode < MODE_BIPAP) { rx.per1 = p_profile->calcPercentile(CPAP_Pressure, percentile, MT_CPAP, first, last); rx.per2 = 0; @@ -870,7 +869,7 @@ QString Statistics::GenerateHTML() for (int i = 0; i < rxchange.size(); i++) { RXChange &rx = rxchange[i]; - if (rx.days > rxthresh) { + if (rx.days >= rxthresh) { tmpRX.push_back(&rx); } } @@ -1046,9 +1045,8 @@ QString Statistics::GenerateHTML() RXorder=true; qSort(rxchange.begin(),rxchange.end());*/ - html += "

    "; html += "


    "; - html += QString(""); //cellpadding=2 cellspacing=0 border=1 + html += QString("
    "); html += ""; html += ""; @@ -1160,8 +1158,8 @@ QString Statistics::GenerateHTML() QString("=%2").arg(rx.per1, 0, 'f', decimals); } else { - if (cpapmode > MODE_CPAP) { - extratxt += "").arg(rx.min, 4, 'f', 1); + if (cpapmode >= MODE_CPAP) { + extratxt += "").arg(rx.min, 4, 'f', 1); tooltip = QString("%1").arg(machstr); } else { extratxt += "";
    " + tr("Changes to Prescription Settings") + "
    "+QString(tr("CPAP %1")+""+QString(tr("Fixed %1")+"