diff --git a/Resources.qrc b/Resources.qrc index fe8854fe..6ab2e34d 100644 --- a/Resources.qrc +++ b/Resources.qrc @@ -13,5 +13,6 @@ fonts/FreeSans.ttf icons/refresh.png docs/usage.html + icons/oximeter.png diff --git a/icons/oximeter.png b/icons/oximeter.png new file mode 100644 index 00000000..a11a2552 Binary files /dev/null and b/icons/oximeter.png differ diff --git a/mainwindow.cpp b/mainwindow.cpp index 830e3a80..4257fc76 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -363,3 +363,10 @@ void MainWindow::on_actionDisplay_Graph_Snapshots_toggled(bool checked) pref["EnableGraphSnapshots"]=checked; //} } + +void MainWindow::on_oximetryButton_clicked() +{ + if (oximetry) { + ui->tabWidget->setCurrentWidget(oximetry); + } +} diff --git a/mainwindow.h b/mainwindow.h index ae73051b..2f0ab4ee 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -82,6 +82,8 @@ private slots: void on_actionDisplay_Graph_Snapshots_toggled(bool arg1); + void on_oximetryButton_clicked(); + private: Ui::MainWindow *ui; Daily * daily; diff --git a/mainwindow.ui b/mainwindow.ui index c3faa71a..a1d7cf0e 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -494,7 +494,7 @@ - + 0 @@ -508,11 +508,11 @@ - Preferences + Oximetry - :/icons/preferences.png:/icons/preferences.png + :/icons/oximeter.png:/icons/oximeter.png @@ -578,7 +578,6 @@ -