aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-04-01 13:33:43 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-04-01 13:34:10 +0200
commit1475013c743058a5b111d75b8e9115a996ead907 (patch)
tree364d4ae226199502f4c267d1ab706c603fc3848e /qtmips_gui
parentb255043ab5996c6c9086d2f31f04f5132153cd7a (diff)
downloadqtmips-1475013c743058a5b111d75b8e9115a996ead907.tar.gz
qtmips-1475013c743058a5b111d75b8e9115a996ead907.tar.bz2
qtmips-1475013c743058a5b111d75b8e9115a996ead907.zip
qtmips_gui: set application window icon.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/MainWindow.ui4
-rw-r--r--qtmips_gui/icons.qrc1
-rw-r--r--qtmips_gui/icons/qtmips_gui.pngbin0 -> 2974 bytes
3 files changed, 5 insertions, 0 deletions
diff --git a/qtmips_gui/MainWindow.ui b/qtmips_gui/MainWindow.ui
index 338f9d1..4140a46 100644
--- a/qtmips_gui/MainWindow.ui
+++ b/qtmips_gui/MainWindow.ui
@@ -13,6 +13,10 @@
<property name="windowTitle">
<string>MainWindow</string>
</property>
+ <property name="windowIcon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/qtmips_gui.png</normaloff>:/icons/qtmips_gui.png</iconset>
+ </property>
<property name="dockNestingEnabled">
<bool>false</bool>
</property>
diff --git a/qtmips_gui/icons.qrc b/qtmips_gui/icons.qrc
index 08542ee..ca3300d 100644
--- a/qtmips_gui/icons.qrc
+++ b/qtmips_gui/icons.qrc
@@ -1,5 +1,6 @@
<RCC>
<qresource prefix="/">
+ <file>icons/qtmips_gui.png</file>
<file>icons/application-exit.png</file>
<file>icons/reload.png</file>
<file>icons/document-import.png</file>
diff --git a/qtmips_gui/icons/qtmips_gui.png b/qtmips_gui/icons/qtmips_gui.png
new file mode 100644
index 0000000..fef2d4c
--- /dev/null
+++ b/qtmips_gui/icons/qtmips_gui.png
Binary files differ