summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-20 22:58:24 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-20 18:12:16 -0700
commit02dcae3eca69447f2f51e258fccb6081d261c544 (patch)
treef4f9dcec607736612e27e662880ac376d570f764
parent8439e72bb1806b9149415bd4aae939a38763c4d6 (diff)
downloadsubsurface-02dcae3eca69447f2f51e258fccb6081d261c544.tar.gz
Add a icon for the Suunto Vyper Family config page
This adds a icon to the Vyper config page. The image is taken by me of my Suunto Vyper. Thats the reason for the quality. Question: Would it be ok to grab a PR image from Suunto's web page to use here? If so they got better ones... Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--icons/suunto_vyper.pngbin0 -> 22833 bytes
-rw-r--r--qt-ui/configuredivecomputerdialog.ui6
-rw-r--r--subsurface.qrc1
3 files changed, 6 insertions, 1 deletions
diff --git a/icons/suunto_vyper.png b/icons/suunto_vyper.png
new file mode 100644
index 000000000..48ba3f06c
--- /dev/null
+++ b/icons/suunto_vyper.png
Binary files differ
diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui
index 800496bce..04b2aafeb 100644
--- a/qt-ui/configuredivecomputerdialog.ui
+++ b/qt-ui/configuredivecomputerdialog.ui
@@ -151,7 +151,7 @@
<widget class="QListWidget" name="DiveComputerList">
<property name="maximumSize">
<size>
- <width>200</width>
+ <width>240</width>
<height>16777215</height>
</size>
</property>
@@ -179,6 +179,10 @@
<property name="text">
<string>Suunto Vyper Family</string>
</property>
+ <property name="icon">
+ <iconset resource="../subsurface.qrc">
+ <normaloff>:/icons/suunto_vyper.png</normaloff>:/icons/suunto_vyper.png</iconset>
+ </property>
</item>
</widget>
<widget class="QStackedWidget" name="dcStackedWidget">
diff --git a/subsurface.qrc b/subsurface.qrc
index eab95d2ef..706e431db 100644
--- a/subsurface.qrc
+++ b/subsurface.qrc
@@ -66,5 +66,6 @@
<file>icons/subsurface/32x32/actions/go-up.png</file>
<file>icons/subsurface/32x32/actions/window-close.png</file>
<file>icons/ostc3.png</file>
+ <file>icons/suunto_vyper.png</file>
</qresource>
</RCC>