Skip to content

Commit

Permalink
Add an icon for MainWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
zwpwjwtz committed Mar 25, 2016
1 parent 8ac0926 commit 3d366cc
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
5 changes: 5 additions & 0 deletions f3-qt.pro
Expand Up @@ -20,3 +20,8 @@ HEADERS += mainwindow.h \
f3_launcher.h

FORMS += mainwindow.ui

DISTFILES +=

RESOURCES += \
icon.qrc
2 changes: 1 addition & 1 deletion f3-qt.pro.user
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.6.0, 2016-03-24T22:31:27. -->
<!-- Written by QtCreator 3.6.0, 2016-03-25T11:22:51. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
Expand Down
Binary file added f3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions icon.qrc
@@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/icon">
<file>f3.png</file>
</qresource>
</RCC>
8 changes: 7 additions & 1 deletion mainwindow.ui
Expand Up @@ -19,6 +19,10 @@
<property name="windowTitle">
<string>Fight Flash Fraud (Qt)</string>
</property>
<property name="windowIcon">
<iconset resource="icon.qrc">
<normaloff>:/icon/f3.png</normaloff>:/icon/f3.png</iconset>
</property>
<widget class="QWidget" name="centralWidget">
<widget class="QPushButton" name="buttonCheck">
<property name="geometry">
Expand Down Expand Up @@ -104,6 +108,8 @@
<widget class="QStatusBar" name="statusBar"/>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<resources>
<include location="icon.qrc"/>
</resources>
<connections/>
</ui>

0 comments on commit 3d366cc

Please sign in to comment.