wpa_gui-qt4: use new svg as application icon
Enhance wpa_gui's appearance by integrating the new svg icon via a resource file. Signed-off-by: Kel Modderman <kel@otaku42.de>
This commit is contained in:
parent
11caae9d1f
commit
62b86dba6e
3 changed files with 14 additions and 1 deletions
5
wpa_supplicant/wpa_gui-qt4/icons.qrc
Normal file
5
wpa_supplicant/wpa_gui-qt4/icons.qrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/icons" >
|
||||
<file alias="wpa_gui.svg">icons/wpa_gui.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
|
@ -36,6 +36,8 @@ SOURCES += main.cpp \
|
|||
networkconfig.cpp \
|
||||
../../src/common/wpa_ctrl.c
|
||||
|
||||
RESOURCES += icons.qrc
|
||||
|
||||
FORMS = wpagui.ui \
|
||||
eventhistory.ui \
|
||||
scanresults.ui \
|
||||
|
|
|
@ -12,6 +12,10 @@
|
|||
<property name="windowTitle" >
|
||||
<string>wpa_gui</string>
|
||||
</property>
|
||||
<property name="windowIcon" >
|
||||
<iconset resource="icons.qrc" >
|
||||
<normaloff>:/icons/wpa_gui.svg</normaloff>:/icons/wpa_gui.svg</iconset>
|
||||
</property>
|
||||
<widget class="QWidget" name="widget" >
|
||||
<layout class="QGridLayout" >
|
||||
<item row="0" column="0" >
|
||||
|
@ -414,6 +418,8 @@
|
|||
<include location="local" >eventhistory.h</include>
|
||||
<include location="local" >scanresults.h</include>
|
||||
</includes>
|
||||
<resources/>
|
||||
<resources>
|
||||
<include location="icons.qrc" />
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
|
Loading…
Reference in a new issue