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:
@@ -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">
|
||||
|
5
relational_gui/resources.qrc
Normal file
5
relational_gui/resources.qrc
Normal file
@@ -0,0 +1,5 @@
|
||||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource>
|
||||
<file alias="icon">resources/relational.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
BIN
relational_gui/resources/relational.png
Normal file
BIN
relational_gui/resources/relational.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
Reference in New Issue
Block a user