This commit is contained in:
doitux
2008-12-21 19:23:59 +00:00
parent 0ce85c0077
commit 7e007c37be
7 changed files with 79 additions and 24 deletions
+5
View File
@@ -1,7 +1,12 @@
<RCC> <RCC>
<qresource prefix="gfx" > <qresource prefix="gfx" >
<file>pokerth.qrc</file>
<file>swbuttoninternetgame.png</file>
<file>swbuttoncreatenetworkgame.png</file>
<file>swbuttonjoinnetworkgame.png</file>
<file>media_podcast.png</file> <file>media_podcast.png</file>
<file>system_users_big.png</file> <file>system_users_big.png</file>
<file>swbuttonlocalgame.png</file>
<file>tools_wizard.png</file> <file>tools_wizard.png</file>
<file>speaker.png</file> <file>speaker.png</file>
<file>player_play.png</file> <file>player_play.png</file>
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

+70 -18
View File
@@ -25,7 +25,7 @@
<string>PokerTH 0.6.3 - The Open-Source Texas Holdem Engine</string> <string>PokerTH 0.6.3 - The Open-Source Texas Holdem Engine</string>
</property> </property>
<widget class="QWidget" name="centralwidget" > <widget class="QWidget" name="centralwidget" >
<layout class="QGridLayout" > <layout class="QGridLayout" name="gridLayout" >
<item row="0" column="1" > <item row="0" column="1" >
<spacer> <spacer>
<property name="orientation" > <property name="orientation" >
@@ -52,39 +52,91 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="1" column="1" colspan="2" > <item row="1" column="1" >
<layout class="QGridLayout" > <layout class="QVBoxLayout" name="verticalLayout" >
<item row="0" column="1" > <item>
<widget class="QPushButton" name="pushButtonStart_Local_Game" >
<property name="focusPolicy" >
<enum>Qt::NoFocus</enum>
</property>
<property name="text" >
<string>&amp;1 Start Local Game</string>
</property>
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<normaloff>:/gfx/swbuttonlocalgame.png</normaloff>:/gfx/swbuttonlocalgame.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>32</width>
<height>32</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonInternet_Game" > <widget class="QPushButton" name="pushButtonInternet_Game" >
<property name="focusPolicy" >
<enum>Qt::NoFocus</enum>
</property>
<property name="text" > <property name="text" >
<string>&amp;2 Internet Game</string> <string>&amp;2 Internet Game</string>
</property> </property>
</widget> <property name="icon" >
</item> <iconset resource="resources/pokerth.qrc" >
<item row="1" column="0" > <normaloff>:/gfx/swbuttoninternetgame.png</normaloff>:/gfx/swbuttoninternetgame.png</iconset>
<widget class="QPushButton" name="pushButton_Create_Network_Game" > </property>
<property name="text" > <property name="iconSize" >
<string>&amp;3 Create Network Game</string> <size>
<width>32</width>
<height>32</height>
</size>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1" > <item>
<widget class="QPushButton" name="pushButton_Join_Network_Game" > <widget class="QPushButton" name="pushButton_Join_Network_Game" >
<property name="focusPolicy" >
<enum>Qt::NoFocus</enum>
</property>
<property name="text" > <property name="text" >
<string>&amp;4 Join Network Game</string> <string>&amp;3 Join Network Game</string>
</property>
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<normaloff>:/gfx/swbuttonjoinnetworkgame.png</normaloff>:/gfx/swbuttonjoinnetworkgame.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>32</width>
<height>32</height>
</size>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0" > <item>
<widget class="QPushButton" name="pushButtonStart_Local_Game" > <widget class="QPushButton" name="pushButton_Create_Network_Game" >
<property name="focusPolicy" >
<enum>Qt::NoFocus</enum>
</property>
<property name="text" > <property name="text" >
<string>&amp;1 Start Local Game</string> <string>&amp;4 Create Network Game</string>
</property>
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<normaloff>:/gfx/swbuttoncreatenetworkgame.png</normaloff>:/gfx/swbuttoncreatenetworkgame.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>32</width>
<height>32</height>
</size>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="3" > <item row="1" column="2" >
<spacer> <spacer>
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
@@ -97,7 +149,7 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="2" column="2" > <item row="2" column="1" >
<spacer> <spacer>
<property name="orientation" > <property name="orientation" >
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
@@ -118,7 +170,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>450</width> <width>450</width>
<height>23</height> <height>30</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menuPokerTH" > <widget class="QMenu" name="menuPokerTH" >
+4 -6
View File
@@ -73,12 +73,10 @@ startWindowImpl::startWindowImpl(ConfigFile *c)
QString myAppDataPath = QString::fromUtf8(myConfig->readConfigString("AppDataDir").c_str()); QString myAppDataPath = QString::fromUtf8(myConfig->readConfigString("AppDataDir").c_str());
this->setStyleSheet("QMainWindow { background-image: url(" + myAppDataPath +"gfx/gui/misc/startwindowbg.png); background-position: bottom center; background-origin: content;}"); this->setStyleSheet("QMainWindow { background-image: url(" + myAppDataPath +"gfx/gui/misc/startwindowbg.png); background-position: bottom center; background-origin: content;}");
// pushButtonStart_Local_Game->setStyleSheet("QPushButton:enabled { background-color: #1C7000; color: #99D500;} QPushButton:disabled { background-color: #145300; color: #486F3E; font-weight: 900;}"); pushButtonStart_Local_Game->setStyleSheet("QPushButton { padding-left: 3px; padding-right: 3px; text-align: left; font-weight: bold;}");
// pushButtonInternet_Game->setStyleSheet("QPushButton:enabled { background-color: #1C7000; color: #99D500;} QPushButton:disabled { background-color: #145300; color: #486F3E; font-weight: 900;}"); pushButtonInternet_Game->setStyleSheet("QPushButton { padding-left: 3px; padding-right: 3px; text-align: left; font-weight: bold;}");
// pushButton_Create_Network_Game->setStyleSheet("QPushButton:enabled { background-color: #1C7000; color: #99D500;} QPushButton:disabled { background-color: #145300; color: #486F3E; font-weight: 900;}"); pushButton_Create_Network_Game->setStyleSheet("QPushButton { padding-left: 3px; padding-right: 3px; text-align: left; font-weight: bold;}");
// pushButton_Join_Network_Game->setStyleSheet("QPushButton:enabled { background-color: #1C7000; color: #99D500;} QPushButton:disabled { background-color: #145300; color: #486F3E; font-weight: 900;}"); pushButton_Join_Network_Game->setStyleSheet("QPushButton { padding-left: 3px; padding-right: 3px; text-align: left; font-weight: bold;}");
// menubar->setStyleSheet("QMenuBar { background-color: #145300; } QMenuBar::item { color: #99D500; }");
// Dialogs // Dialogs
myNewGameDialog = new newGameDialogImpl(this, myConfig); myNewGameDialog = new newGameDialogImpl(this, myConfig);