# HG changeset patch # User Teemu Piippo # Date 1376226493 -10800 # Node ID c9b6dd9dd4cdd18b5b3914c265e5d6a9b3792e28 # Parent 6bf57b4f42cd4fc006c5e29a1116a83037e7eba4 Added infurnus' application icon diff -r 6bf57b4f42cd -r c9b6dd9dd4cd icons/zandemo.ico Binary file icons/zandemo.ico has changed diff -r 6bf57b4f42cd -r c9b6dd9dd4cd mkqrc.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mkqrc.sh Sun Aug 11 16:08:13 2013 +0300 @@ -0,0 +1,14 @@ +#!/bin/bash + +QRCFILE=zandemo.qrc +FILES=$(echo ./icons/*.* LICENSE) + +printf "" > $QRCFILE + +printf "\n\n\n" >> $QRCFILE + +for f in $FILES; do + printf "\t$f\n" >> $QRCFILE +done + +printf "\n\n" >> $QRCFILE diff -r 6bf57b4f42cd -r c9b6dd9dd4cd src/config.cpp --- a/src/config.cpp Sun Aug 11 14:04:03 2013 +0300 +++ b/src/config.cpp Sun Aug 11 16:08:13 2013 +0300 @@ -51,12 +51,10 @@ ConfigBox::ConfigBox (QWidget* parent, Qt::WindowFlags f) : QDialog (parent, f) { ui = new Ui_ConfigBox; ui->setupUi (this); - ui->updateProgress->hide(); - ui->updateLabel->hide(); - + initVersions(); initFromSettings(); - + connect (ui->wad_add, SIGNAL (clicked()), this, SLOT (addPath())); connect (ui->wad_pathEntry, SIGNAL (returnPressed()), this, SLOT (addPath())); connect (ui->wad_findPath, SIGNAL (clicked()), this, SLOT (findPath())); diff -r 6bf57b4f42cd -r c9b6dd9dd4cd src/src.pro --- a/src/src.pro Sun Aug 11 14:04:03 2013 +0300 +++ b/src/src.pro Sun Aug 11 16:08:13 2013 +0300 @@ -1,8 +1,8 @@ TARGET = ../zandemo DEPENDPATH += . INCLUDEPATH += . -# RC_FILE = ../ldforge.rc -# RESOURCES = ../ldforge.qrc +RC_FILE = ../zandemo.rc +RESOURCES = ../zandemo.qrc RCC_DIR = ./build/ OBJECTS_DIR = ./build/ MOC_DIR = ./build/ diff -r 6bf57b4f42cd -r c9b6dd9dd4cd src/ui/configbox.ui --- a/src/ui/configbox.ui Sun Aug 11 14:04:03 2013 +0300 +++ b/src/ui/configbox.ui Sun Aug 11 16:08:13 2013 +0300 @@ -19,6 +19,10 @@ Dialog + + + :/icons/zandemo.ico:/icons/zandemo.ico + @@ -132,7 +136,7 @@ 0 0 516 - 213 + 220 @@ -164,7 +168,7 @@ 0 0 516 - 213 + 220 @@ -210,70 +214,20 @@ - - - - - - - - Checking for updates... - - - - - - - true - - - - 16777215 - 16 - - - - 0 - - - -1 - - - true - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - + + + Qt::Horizontal + + + QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + - + + + wad_clear diff -r 6bf57b4f42cd -r c9b6dd9dd4cd src/ui/demoprompt.ui --- a/src/ui/demoprompt.ui Sun Aug 11 14:04:03 2013 +0300 +++ b/src/ui/demoprompt.ui Sun Aug 11 16:08:13 2013 +0300 @@ -13,6 +13,10 @@ Dialog + + + :/icons/zandemo.ico:/icons/zandemo.ico + @@ -144,7 +148,9 @@ - + + + buttonBox diff -r 6bf57b4f42cd -r c9b6dd9dd4cd src/ui/unknownversion.ui --- a/src/ui/unknownversion.ui Sun Aug 11 14:04:03 2013 +0300 +++ b/src/ui/unknownversion.ui Sun Aug 11 16:08:13 2013 +0300 @@ -13,6 +13,10 @@ Unknown Zandronum Version + + + :/icons/zandemo.ico:/icons/zandemo.ico + @@ -82,7 +86,9 @@ - + + + m_cancel diff -r 6bf57b4f42cd -r c9b6dd9dd4cd zandemo.qrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zandemo.qrc Sun Aug 11 16:08:13 2013 +0300 @@ -0,0 +1,7 @@ + + + + ./icons/zandemo.ico + LICENSE + + diff -r 6bf57b4f42cd -r c9b6dd9dd4cd zandemo.rc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zandemo.rc Sun Aug 11 16:08:13 2013 +0300 @@ -0,0 +1,1 @@ +IDI_ICON1 ICON DISCARDABLE "icons/zandemo.ico" \ No newline at end of file