Skip to content

Commit

Permalink
Add Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony556 committed Jul 7, 2020
1 parent 47ff9a9 commit 107f631
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
6 changes: 4 additions & 2 deletions ClubchatGames/ClubchatGames.pro
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
QT += core gui serialport
QT += core gui serialport network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11 communi
COMMUNI += core model util
COMMUNI += core

#include(/home/tony/qtapps/libcommuni-3.5.0/src/core/core.pri)

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
Expand Down
2 changes: 2 additions & 0 deletions ClubchatGames/Icons.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@
<file>Switch-Control-Right.png</file>
<file>Switch-Control-Down.png</file>
<file>Switch-Control-Left.png</file>
<file>spade.png</file>
</qresource>
<qresource prefix="/"/>
</RCC>
8 changes: 7 additions & 1 deletion ClubchatGames/clubchatgames.ui
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
<property name="windowTitle">
<string>Clubchat Games</string>
</property>
<property name="windowIcon">
<iconset resource="Icons.qrc">
<normaloff>:/icons/spade.png</normaloff>:/icons/spade.png</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
Expand Down Expand Up @@ -371,6 +375,8 @@
</property>
</action>
</widget>
<resources/>
<resources>
<include location="Icons.qrc"/>
</resources>
<connections/>
</ui>
Binary file added ClubchatGames/spade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 107f631

Please sign in to comment.