summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-10-02 08:57:10 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-10-02 08:57:10 +0000
commite86423a97fc96c54657355d31f197657cfae8274 (patch)
treeeb665eb3fd1f0d75b5d71aeb31de6f27436712a5 /rbutil/rbutilqt
parent981af6d3e17b531fa8dbfd8733ff2b00787e9465 (diff)
downloadrockbox-e86423a97fc96c54657355d31f197657cfae8274.tar.gz
rockbox-e86423a97fc96c54657355d31f197657cfae8274.zip
Rockbox Utility: add some more icon sizes to the window icon on Windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30631 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r--rbutil/rbutilqt/aboutbox.ui4
-rw-r--r--rbutil/rbutilqt/icons/rockbox-128.pngbin0 -> 6549 bytes
-rw-r--r--rbutil/rbutilqt/icons/rockbox-16.png (renamed from rbutil/rbutilqt/icons/rockbox-1.png)bin473 -> 473 bytes
-rw-r--r--rbutil/rbutilqt/icons/rockbox-256.pngbin0 -> 13625 bytes
-rw-r--r--rbutil/rbutilqt/icons/rockbox-32.pngbin0 -> 985 bytes
-rw-r--r--rbutil/rbutilqt/icons/rockbox-48.pngbin0 -> 1554 bytes
-rw-r--r--rbutil/rbutilqt/icons/rockbox-5.pngbin2119 -> 0 bytes
-rw-r--r--rbutil/rbutilqt/icons/rockbox-64.pngbin0 -> 2925 bytes
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp8
-rw-r--r--rbutil/rbutilqt/rbutilqt.qrc8
-rw-r--r--rbutil/rbutilqt/rbutilqtfrm.ui2
11 files changed, 13 insertions, 9 deletions
diff --git a/rbutil/rbutilqt/aboutbox.ui b/rbutil/rbutilqt/aboutbox.ui
index b511547a17..8689b844ed 100644
--- a/rbutil/rbutilqt/aboutbox.ui
+++ b/rbutil/rbutilqt/aboutbox.ui
@@ -12,10 +12,6 @@
<property name="windowTitle" >
<string>About Rockbox Utility</string>
</property>
- <property name="windowIcon" >
- <iconset resource="rbutilqt.qrc" >
- <normaloff>:/icons/rockbox-1.png</normaloff>:/icons/rockbox-1.png</iconset>
- </property>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" colspan="3" >
<layout class="QHBoxLayout" >
diff --git a/rbutil/rbutilqt/icons/rockbox-128.png b/rbutil/rbutilqt/icons/rockbox-128.png
new file mode 100644
index 0000000000..d11c33557f
--- /dev/null
+++ b/rbutil/rbutilqt/icons/rockbox-128.png
Binary files differ
diff --git a/rbutil/rbutilqt/icons/rockbox-1.png b/rbutil/rbutilqt/icons/rockbox-16.png
index 8f477304a8..8f477304a8 100644
--- a/rbutil/rbutilqt/icons/rockbox-1.png
+++ b/rbutil/rbutilqt/icons/rockbox-16.png
Binary files differ
diff --git a/rbutil/rbutilqt/icons/rockbox-256.png b/rbutil/rbutilqt/icons/rockbox-256.png
new file mode 100644
index 0000000000..63abbc5427
--- /dev/null
+++ b/rbutil/rbutilqt/icons/rockbox-256.png
Binary files differ
diff --git a/rbutil/rbutilqt/icons/rockbox-32.png b/rbutil/rbutilqt/icons/rockbox-32.png
new file mode 100644
index 0000000000..68d324bbf0
--- /dev/null
+++ b/rbutil/rbutilqt/icons/rockbox-32.png
Binary files differ
diff --git a/rbutil/rbutilqt/icons/rockbox-48.png b/rbutil/rbutilqt/icons/rockbox-48.png
new file mode 100644
index 0000000000..1f6f1a98a7
--- /dev/null
+++ b/rbutil/rbutilqt/icons/rockbox-48.png
Binary files differ
diff --git a/rbutil/rbutilqt/icons/rockbox-5.png b/rbutil/rbutilqt/icons/rockbox-5.png
deleted file mode 100644
index 48ff8c5585..0000000000
--- a/rbutil/rbutilqt/icons/rockbox-5.png
+++ /dev/null
Binary files differ
diff --git a/rbutil/rbutilqt/icons/rockbox-64.png b/rbutil/rbutilqt/icons/rockbox-64.png
new file mode 100644
index 0000000000..5505833ded
--- /dev/null
+++ b/rbutil/rbutilqt/icons/rockbox-64.png
Binary files differ
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 2238136d20..b8ae77b91a 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -77,8 +77,12 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
#endif
#if defined(Q_OS_WIN32)
QIcon windowIcon = QIcon();
- windowIcon.addFile(":/icons/rockbox-1.png");
- windowIcon.addFile(":/icons/rockbox-5.png");
+ windowIcon.addFile(":/icons/rockbox-16.png");
+ windowIcon.addFile(":/icons/rockbox-32.png");
+ windowIcon.addFile(":/icons/rockbox-48.png");
+ windowIcon.addFile(":/icons/rockbox-64.png");
+ windowIcon.addFile(":/icons/rockbox-128.png");
+ windowIcon.addFile(":/icons/rockbox-256.png");
this->setWindowIcon(windowIcon);
#endif
#if defined(Q_OS_MACX)
diff --git a/rbutil/rbutilqt/rbutilqt.qrc b/rbutil/rbutilqt/rbutilqt.qrc
index 28ab8fa370..5a361c3cb3 100644
--- a/rbutil/rbutilqt/rbutilqt.qrc
+++ b/rbutil/rbutilqt/rbutilqt.qrc
@@ -27,8 +27,12 @@
<file>icons/rbutil.png</file>
<file>icons/rembootloader_btn.png</file>
<file>icons/remrb_btn.png</file>
- <file>icons/rockbox-1.png</file>
- <file>icons/rockbox-5.png</file>
+ <file>icons/rockbox-16.png</file>
+ <file>icons/rockbox-32.png</file>
+ <file>icons/rockbox-48.png</file>
+ <file>icons/rockbox-64.png</file>
+ <file>icons/rockbox-128.png</file>
+ <file>icons/rockbox-256.png</file>
<file>icons/system-search.png</file>
<file>icons/talkfile_btn.png</file>
<file>icons/themes_btn.png</file>
diff --git a/rbutil/rbutilqt/rbutilqtfrm.ui b/rbutil/rbutilqt/rbutilqtfrm.ui
index 125d21342c..5233022061 100644
--- a/rbutil/rbutilqt/rbutilqtfrm.ui
+++ b/rbutil/rbutilqt/rbutilqtfrm.ui
@@ -15,7 +15,7 @@
</property>
<property name="windowIcon">
<iconset resource="rbutilqt.qrc">
- <normaloff>:/icons/rockbox-1.png</normaloff>:/icons/rockbox-1.png</iconset>
+ <normaloff>:/icons/rockbox-32.png</normaloff>:/icons/rockbox-32.png</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout">