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:
Kel Modderman 2008-09-24 12:22:50 +03:00 committed by Jouni Malinen
parent 11caae9d1f
commit 62b86dba6e
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/icons" >
<file alias="wpa_gui.svg">icons/wpa_gui.svg</file>
</qresource>
</RCC>

View file

@ -36,6 +36,8 @@ SOURCES += main.cpp \
networkconfig.cpp \ networkconfig.cpp \
../../src/common/wpa_ctrl.c ../../src/common/wpa_ctrl.c
RESOURCES += icons.qrc
FORMS = wpagui.ui \ FORMS = wpagui.ui \
eventhistory.ui \ eventhistory.ui \
scanresults.ui \ scanresults.ui \

View file

@ -12,6 +12,10 @@
<property name="windowTitle" > <property name="windowTitle" >
<string>wpa_gui</string> <string>wpa_gui</string>
</property> </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" > <widget class="QWidget" name="widget" >
<layout class="QGridLayout" > <layout class="QGridLayout" >
<item row="0" column="0" > <item row="0" column="0" >
@ -414,6 +418,8 @@
<include location="local" >eventhistory.h</include> <include location="local" >eventhistory.h</include>
<include location="local" >scanresults.h</include> <include location="local" >scanresults.h</include>
</includes> </includes>
<resources/> <resources>
<include location="icons.qrc" />
</resources>
<connections/> <connections/>
</ui> </ui>