changeset 20:e7c5aeba8a94

add an app icon
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 25 Sep 2014 03:01:47 +0200
parents a949d4849c6a
children 3190c60927e5
files .hgignore RemoteViewer/ConnectionDialog.ui RemoteViewer/LogViewer.ui RemoteViewer/RemoteViewer.ui RemoteViewer/remote.png RemoteViewer/resources.qrc
diffstat 6 files changed, 33 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Thu Sep 25 01:39:24 2014 +0200
+++ b/.hgignore	Thu Sep 25 03:01:47 2014 +0200
@@ -1,6 +1,9 @@
-.e4p
-.eric5project
-.pyc
+syntax: glob
+
+*.e4p
+*.eric5project
+*.pyc
 PyQtLib
 RemoteViewer.zip
 Ui_*
+*_rc.py
--- a/RemoteViewer/ConnectionDialog.ui	Thu Sep 25 01:39:24 2014 +0200
+++ b/RemoteViewer/ConnectionDialog.ui	Thu Sep 25 03:01:47 2014 +0200
@@ -13,6 +13,10 @@
   <property name="windowTitle">
    <string/>
   </property>
+  <property name="windowIcon">
+   <iconset resource="resources.qrc">
+    <normaloff>:/icons/remote.png</normaloff>:/icons/remote.png</iconset>
+  </property>
   <layout class="QFormLayout" name="formLayout">
    <item row="1" column="0">
     <widget class="QLabel" name="label">
@@ -98,7 +102,9 @@
   <tabstop>geometry</tabstop>
   <tabstop>buttonBox</tabstop>
  </tabstops>
- <resources/>
+ <resources>
+  <include location="resources.qrc"/>
+ </resources>
  <connections>
   <connection>
    <sender>buttonBox</sender>
--- a/RemoteViewer/LogViewer.ui	Thu Sep 25 01:39:24 2014 +0200
+++ b/RemoteViewer/LogViewer.ui	Thu Sep 25 03:01:47 2014 +0200
@@ -13,6 +13,10 @@
   <property name="windowTitle">
    <string>Dialog</string>
   </property>
+  <property name="windowIcon">
+   <iconset resource="resources.qrc">
+    <normaloff>:/icons/remote.png</normaloff>:/icons/remote.png</iconset>
+  </property>
   <layout class="QVBoxLayout" name="verticalLayout">
    <item>
     <widget class="QPlainTextEdit" name="logText">
@@ -31,6 +35,8 @@
    </item>
   </layout>
  </widget>
- <resources/>
+ <resources>
+  <include location="resources.qrc"/>
+ </resources>
  <connections/>
 </ui>
--- a/RemoteViewer/RemoteViewer.ui	Thu Sep 25 01:39:24 2014 +0200
+++ b/RemoteViewer/RemoteViewer.ui	Thu Sep 25 03:01:47 2014 +0200
@@ -11,7 +11,11 @@
    </rect>
   </property>
   <property name="windowTitle">
-   <string>Remote</string>
+   <string>Remote Viewer</string>
+  </property>
+  <property name="windowIcon">
+   <iconset resource="resources.qrc">
+    <normaloff>:/icons/remote.png</normaloff>:/icons/remote.png</iconset>
   </property>
   <widget class="QWidget" name="centralwidget">
    <layout class="QVBoxLayout" name="verticalLayout">
@@ -81,7 +85,9 @@
    </property>
   </action>
  </widget>
- <resources/>
+ <resources>
+  <include location="resources.qrc"/>
+ </resources>
  <connections>
   <connection>
    <sender>actionQuit</sender>
Binary file RemoteViewer/remote.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/RemoteViewer/resources.qrc	Thu Sep 25 03:01:47 2014 +0200
@@ -0,0 +1,5 @@
+<RCC>
+  <qresource prefix="icons">
+    <file>remote.png</file>
+  </qresource>
+</RCC>