aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Willem Ferguson <willemferguson@zoology.up.ac.za>2014-04-16 17:34:20 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-16 12:10:41 -0700
commit1b6d4f55df0c9522cec3b56afc022b02dd968fe7 (patch)
tree814938ac39e53e7a14194ea016778fe90f03f50a
parenta8aa3a2f0084ae12a3a3dbcc27396877c30a38f2 (diff)
downloadsubsurface-1b6d4f55df0c9522cec3b56afc022b02dd968fe7.tar.gz
Use Luisa's new icons
Move the heart rate graph icon up in the toolbox with the cluster of buttons that control graphs Signed-off-by: Willem Ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/mainwindow.ui54
-rw-r--r--subsurface.qrc1
2 files changed, 33 insertions, 22 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui
index 30610bb09..a2621de9a 100644
--- a/qt-ui/mainwindow.ui
+++ b/qt-ui/mainwindow.ui
@@ -294,7 +294,33 @@
</property>
</widget>
</item>
- <item row="7" column="0">
+ <item row="7" column="0">
+ <widget class="QToolButton" name="profHR">
+ <property name="toolTip">
+ <string>Show/hide heart rate</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icon_HR</normaloff>:/icon_HR</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>24</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="8" column="0">
<widget class="QToolButton" name="profMod">
<property name="toolTip">
<string>Enable MOD</string>
@@ -320,7 +346,7 @@
</property>
</widget>
</item>
- <item row="8" column="0">
+ <item row="9" column="0">
<widget class="QToolButton" name="profEad">
<property name="toolTip">
<string>Enable EAD, END, and EADD</string>
@@ -346,7 +372,7 @@
</property>
</widget>
</item>
- <item row="9" column="0">
+ <item row="10" column="0">
<widget class="QToolButton" name="profNdl_tts">
<property name="toolTip">
<string>Show NDL / TTS</string>
@@ -372,7 +398,7 @@
</property>
</widget>
</item>
- <item row="10" column="0">
+ <item row="11" column="0">
<widget class="QToolButton" name="profSAC">
<property name="toolTip">
<string>Show SAC Rate</string>
@@ -398,7 +424,7 @@
</property>
</widget>
</item>
- <item row="11" column="0">
+ <item row="12" column="0">
<widget class="QToolButton" name="profRuler">
<property name="toolTip">
<string>Enable / Disable the Ruler</string>
@@ -424,7 +450,7 @@
</property>
</widget>
</item>
- <item row="12" column="0">
+ <item row="13" column="0">
<widget class="QToolButton" name="profScaled">
<property name="toolTip">
<string>Rescale depth axis</string>
@@ -450,22 +476,6 @@
</property>
</widget>
</item>
- <item row="13" column="0">
- <widget class="QToolButton" name="profHR">
- <property name="toolTip">
- <string>Show/hide heart rate</string>
- </property>
- <property name="text">
- <string>HR</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
<item row="0" column="1" rowspan="15">
<widget class="ProfileWidget2" name="newProfile"/>
</item>
diff --git a/subsurface.qrc b/subsurface.qrc
index ec3398a8b..27716b604 100644
--- a/subsurface.qrc
+++ b/subsurface.qrc
@@ -51,5 +51,6 @@
<file alias="icon_ceiling_3m">icons/3x3.png</file>
<file alias="icon_ceiling_dc">icons/pc.png</file>
<file alias="icon_ead">icons/ead.png</file>
+ <file alias="icon_HR">icons/icon-HR.png</file>
</qresource>
</RCC>