Use resource file

Use Qt resource files, compile it to Python to obtain a window that
has an icon!

Finally!

It is still using the Oxygen icon for Database, since I have nothing
better to use.
This commit is contained in:
Salvo 'LtWorf' Tomaselli
2015-09-11 13:57:34 +02:00
parent 0f4cc1ab94
commit 732024de0e
6 changed files with 12 additions and 2 deletions

View File

@@ -20,6 +20,10 @@
<property name="windowTitle">
<string>Relational</string>
</property>
<property name="windowIcon">
<iconset>
<normaloff>:/icon</normaloff>:/icon</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">

View File

@@ -0,0 +1,5 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file alias="icon">resources/relational.png</file>
</qresource>
</RCC>

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB