next steps skinning implementation (config ready)

This commit is contained in:
doitux
2009-03-30 13:12:44 +00:00
parent a2827fb4bc
commit da05707b26
13 changed files with 425 additions and 136 deletions
+102 -101
View File
@@ -1,7 +1,8 @@
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>startWindow</class>
<widget class="QMainWindow" name="startWindow" >
<property name="geometry" >
<widget class="QMainWindow" name="startWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
@@ -9,29 +10,29 @@
<height>350</height>
</rect>
</property>
<property name="minimumSize" >
<property name="minimumSize">
<size>
<width>450</width>
<height>350</height>
</size>
</property>
<property name="maximumSize" >
<property name="maximumSize">
<size>
<width>450</width>
<height>350</height>
</size>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>PokerTH 0.6.3 - The Open-Source Texas Holdem Engine</string>
</property>
<widget class="QWidget" name="centralwidget" >
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="1" >
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="1">
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>95</height>
@@ -39,12 +40,12 @@
</property>
</spacer>
</item>
<item row="1" column="0" >
<item row="1" column="0">
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<width>63</width>
<height>20</height>
@@ -52,24 +53,24 @@
</property>
</spacer>
</item>
<item row="1" column="1" >
<layout class="QVBoxLayout" name="verticalLayout" >
<property name="spacing" >
<item row="1" column="1">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QPushButton" name="pushButtonStart_Local_Game" >
<property name="focusPolicy" >
<widget class="QPushButton" name="pushButtonStart_Local_Game">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="text" >
<property name="text">
<string>&amp;1 Start Local Game</string>
</property>
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<property name="icon">
<iconset resource="resources/pokerth.qrc">
<normaloff>:/gfx/swbuttonlocalgame.png</normaloff>:/gfx/swbuttonlocalgame.png</iconset>
</property>
<property name="iconSize" >
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
@@ -78,18 +79,18 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonInternet_Game" >
<property name="focusPolicy" >
<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>
</property>
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<property name="icon">
<iconset resource="resources/pokerth.qrc">
<normaloff>:/gfx/swbuttoninternetgame.png</normaloff>:/gfx/swbuttoninternetgame.png</iconset>
</property>
<property name="iconSize" >
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
@@ -98,18 +99,18 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_Create_Network_Game" >
<property name="focusPolicy" >
<widget class="QPushButton" name="pushButton_Create_Network_Game">
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="text" >
<property name="text">
<string>&amp;3 Create Network Game</string>
</property>
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<property name="icon">
<iconset resource="resources/pokerth.qrc">
<normaloff>:/gfx/swbuttoncreatenetworkgame.png</normaloff>:/gfx/swbuttoncreatenetworkgame.png</iconset>
</property>
<property name="iconSize" >
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
@@ -118,18 +119,18 @@
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_Join_Network_Game" >
<property name="focusPolicy" >
<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>
</property>
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<property name="icon">
<iconset resource="resources/pokerth.qrc">
<normaloff>:/gfx/swbuttonjoinnetworkgame.png</normaloff>:/gfx/swbuttonjoinnetworkgame.png</iconset>
</property>
<property name="iconSize" >
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
@@ -139,12 +140,12 @@
</item>
</layout>
</item>
<item row="1" column="2" >
<item row="1" column="2">
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<width>63</width>
<height>20</height>
@@ -152,12 +153,12 @@
</property>
</spacer>
</item>
<item row="2" column="1" >
<item row="2" column="1">
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>95</height>
@@ -167,113 +168,113 @@
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar" >
<property name="geometry" >
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>450</width>
<height>23</height>
<height>25</height>
</rect>
</property>
<widget class="QMenu" name="menuPokerTH" >
<property name="title" >
<string>PokerTH</string>
<widget class="QMenu" name="menuPokerTH">
<property name="title">
<string>&amp;PokerTH</string>
</property>
<widget class="QMenu" name="menuNetwork_Game" >
<property name="title" >
<widget class="QMenu" name="menuNetwork_Game">
<property name="title">
<string>Network Game</string>
</property>
<addaction name="actionCreate_Network_Game" />
<addaction name="actionJoin_Network_Game" />
<addaction name="actionCreate_Network_Game"/>
<addaction name="actionJoin_Network_Game"/>
</widget>
<addaction name="actionStart_Local_Game" />
<addaction name="menuNetwork_Game" />
<addaction name="actionInternet_Game" />
<addaction name="actionAbout_PokerTH" />
<addaction name="actionQuit" />
<addaction name="actionStart_Local_Game"/>
<addaction name="menuNetwork_Game"/>
<addaction name="actionInternet_Game"/>
<addaction name="actionAbout_PokerTH"/>
<addaction name="actionQuit"/>
</widget>
<widget class="QMenu" name="menuSettings" >
<property name="title" >
<string>Settings</string>
<widget class="QMenu" name="menuSettings">
<property name="title">
<string>&amp;Settings</string>
</property>
<addaction name="actionConfigure_PokerTH" />
<addaction name="actionConfigure_PokerTH"/>
</widget>
<addaction name="menuPokerTH" />
<addaction name="menuSettings" />
<addaction name="menuPokerTH"/>
<addaction name="menuSettings"/>
</widget>
<widget class="QStatusBar" name="statusbar" />
<action name="actionStart_Local_Game" >
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<widget class="QStatusBar" name="statusbar"/>
<action name="actionStart_Local_Game">
<property name="icon">
<iconset resource="resources/pokerth.qrc">
<normaloff>:/gfx/swbuttonlocalgame.png</normaloff>:/gfx/swbuttonlocalgame.png</iconset>
</property>
<property name="text" >
<property name="text">
<string>Start Local Game ...</string>
</property>
<property name="shortcut" >
<property name="shortcut">
<string>Ctrl+N</string>
</property>
</action>
<action name="actionInternet_Game" >
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<action name="actionInternet_Game">
<property name="icon">
<iconset resource="resources/pokerth.qrc">
<normaloff>:/gfx/swbuttoninternetgame.png</normaloff>:/gfx/swbuttoninternetgame.png</iconset>
</property>
<property name="text" >
<property name="text">
<string>Internet Game ...</string>
</property>
<property name="shortcut" >
<property name="shortcut">
<string>Ctrl+I</string>
</property>
</action>
<action name="actionAbout_PokerTH" >
<property name="text" >
<action name="actionAbout_PokerTH">
<property name="text">
<string>About PokerTH</string>
</property>
</action>
<action name="actionConfigure_PokerTH" >
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<action name="actionConfigure_PokerTH">
<property name="icon">
<iconset resource="resources/pokerth.qrc">
<normaloff>:/gfx/systemsettings.png</normaloff>:/gfx/systemsettings.png</iconset>
</property>
<property name="text" >
<property name="text">
<string>Configure PokerTH ...</string>
</property>
</action>
<action name="actionQuit" >
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<action name="actionQuit">
<property name="icon">
<iconset resource="resources/pokerth.qrc">
<normaloff>:/gfx/application_exit.png</normaloff>:/gfx/application_exit.png</iconset>
</property>
<property name="text" >
<property name="text">
<string>Quit</string>
</property>
<property name="shortcut" >
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="actionCreate_Network_Game" >
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<action name="actionCreate_Network_Game">
<property name="icon">
<iconset resource="resources/pokerth.qrc">
<normaloff>:/gfx/swbuttoncreatenetworkgame.png</normaloff>:/gfx/swbuttoncreatenetworkgame.png</iconset>
</property>
<property name="text" >
<property name="text">
<string>Create Network Game ...</string>
</property>
</action>
<action name="actionJoin_Network_Game" >
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<action name="actionJoin_Network_Game">
<property name="icon">
<iconset resource="resources/pokerth.qrc">
<normaloff>:/gfx/swbuttonjoinnetworkgame.png</normaloff>:/gfx/swbuttonjoinnetworkgame.png</iconset>
</property>
<property name="text" >
<property name="text">
<string>Join Network Game ...</string>
</property>
</action>
</widget>
<resources>
<include location="resources/pokerth.qrc" />
<include location="resources/pokerth.qrc"/>
</resources>
<connections>
<connection>
@@ -282,11 +283,11 @@
<receiver>startWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel" >
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel" >
<hint type="destinationlabel">
<x>221</x>
<y>168</y>
</hint>