Changed welcome screens preferences button to Oximetry

This commit is contained in:
Mark Watkins 2011-08-05 18:20:28 +10:00
parent 0f331ad50a
commit cb0ef8225c
5 changed files with 13 additions and 4 deletions

View File

@ -13,5 +13,6 @@
<file>fonts/FreeSans.ttf</file>
<file>icons/refresh.png</file>
<file>docs/usage.html</file>
<file>icons/oximeter.png</file>
</qresource>
</RCC>

BIN
icons/oximeter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -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);
}
}

View File

@ -82,6 +82,8 @@ private slots:
void on_actionDisplay_Graph_Snapshots_toggled(bool arg1);
void on_oximetryButton_clicked();
private:
Ui::MainWindow *ui;
Daily * daily;

View File

@ -494,7 +494,7 @@
</widget>
</item>
<item>
<widget class="QToolButton" name="preferencesButton">
<widget class="QToolButton" name="oximetryButton">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
@ -508,11 +508,11 @@
</size>
</property>
<property name="text">
<string>Preferences</string>
<string>Oximetry</string>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
<normaloff>:/icons/preferences.png</normaloff>:/icons/preferences.png</iconset>
<normaloff>:/icons/oximeter.png</normaloff>:/icons/oximeter.png</iconset>
</property>
<property name="iconSize">
<size>
@ -578,7 +578,6 @@
</property>
<addaction name="action_Import_Data"/>
<addaction name="action_Preferences"/>
<addaction name="action_Profiles"/>
<addaction name="separator"/>
<addaction name="actionE_xit"/>
</widget>