569 lines
16 KiB
XML
569 lines
16 KiB
XML
<ui version="4.0" >
|
|
<class>gameLobbyDialog</class>
|
|
<widget class="QDialog" name="gameLobbyDialog" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>875</width>
|
|
<height>618</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize" >
|
|
<size>
|
|
<width>875</width>
|
|
<height>618</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>Internet Game Lobby</string>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="bottomMargin" >
|
|
<number>4</number>
|
|
</property>
|
|
<property name="verticalSpacing" >
|
|
<number>4</number>
|
|
</property>
|
|
<item rowspan="3" row="0" column="0" >
|
|
<widget class="QTreeWidget" name="treeWidget_NickList" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize" >
|
|
<size>
|
|
<width>165</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize" >
|
|
<size>
|
|
<width>165</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="indentation" >
|
|
<number>5</number>
|
|
</property>
|
|
<property name="rootIsDecorated" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="sortingEnabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<column>
|
|
<property name="text" >
|
|
<string>Available Players</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" >
|
|
<widget class="MyGameListTreeWidget" name="treeWidget_GameList" >
|
|
<property name="minimumSize" >
|
|
<size>
|
|
<width>400</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="horizontalScrollBarPolicy" >
|
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="sortingEnabled" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<column>
|
|
<property name="text" >
|
|
<string>Game</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text" >
|
|
<string>Players</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text" >
|
|
<string>State</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text" >
|
|
<string>Private</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item rowspan="3" row="0" column="2" >
|
|
<widget class="QGroupBox" name="groupBox_GameInfo" >
|
|
<property name="enabled" >
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize" >
|
|
<size>
|
|
<width>270</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize" >
|
|
<size>
|
|
<width>270</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="title" >
|
|
<string>Game Info</string>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<item row="0" column="0" >
|
|
<widget class="QTreeWidget" name="treeWidget_connectedPlayers" >
|
|
<property name="minimumSize" >
|
|
<size>
|
|
<width>221</width>
|
|
<height>221</height>
|
|
</size>
|
|
</property>
|
|
<property name="midLineWidth" >
|
|
<number>1</number>
|
|
</property>
|
|
<property name="iconSize" >
|
|
<size>
|
|
<width>25</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
<property name="indentation" >
|
|
<number>15</number>
|
|
</property>
|
|
<column>
|
|
<property name="text" >
|
|
<string>Connected Players</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QCheckBox" name="checkBox_fillUpWithComputerOpponents" >
|
|
<property name="text" >
|
|
<string>Fill up with computer opponents</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" >
|
|
<layout class="QHBoxLayout" >
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_StartGame" >
|
|
<property name="text" >
|
|
<string>Start Game</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_Kick" >
|
|
<property name="text" >
|
|
<string>Kick Player</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="3" column="0" >
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_gameDesc1" >
|
|
<property name="text" >
|
|
<string>Maximum number of players: </string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_MaximumNumberOfPlayers" >
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="4" column="0" >
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_gameDesc2" >
|
|
<property name="text" >
|
|
<string>Start Cash: </string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_StartCash" >
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="5" column="0" >
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_gameDesc3" >
|
|
<property name="text" >
|
|
<string>First small blind: </string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_SmallBlind" >
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="6" column="0" >
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_gameDesc4" >
|
|
<property name="text" >
|
|
<string>Blinds raise interval: </string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_blindsRaiseIntervall" >
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="7" column="0" >
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_gameDesc5" >
|
|
<property name="text" >
|
|
<string>Blinds raise mode: </string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_blindsRaiseMode" >
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
|
|
</property>
|
|
<property name="wordWrap" >
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="8" column="0" >
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_gameDesc6" >
|
|
<property name="text" >
|
|
<string>Manual blinds list:</string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_blindsList" >
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
|
|
</property>
|
|
<property name="wordWrap" >
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="9" column="0" >
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_gameDesc7" >
|
|
<property name="text" >
|
|
<string>Timeout for player action (sec): </string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_TimeoutForPlayerAction" >
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="10" column="0" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>248</width>
|
|
<height>91</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="11" column="0" >
|
|
<layout class="QHBoxLayout" >
|
|
<property name="spacing" >
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>0</width>
|
|
<height>27</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_Leave" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Leave Game</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<layout class="QHBoxLayout" >
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<property name="leftMargin" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin" >
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_joinAnyGame" >
|
|
<property name="text" >
|
|
<string>Join any game</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>181</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>0</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_CreateGame" >
|
|
<property name="text" >
|
|
<string>Create Game</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_JoinGame" >
|
|
<property name="text" >
|
|
<string>Join Game</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="1" >
|
|
<widget class="QGroupBox" name="groupBox_lobbyChat" >
|
|
<property name="title" >
|
|
<string>Lobby-Chat</string>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="leftMargin" >
|
|
<number>7</number>
|
|
</property>
|
|
<property name="topMargin" >
|
|
<number>7</number>
|
|
</property>
|
|
<property name="rightMargin" >
|
|
<number>7</number>
|
|
</property>
|
|
<property name="bottomMargin" >
|
|
<number>7</number>
|
|
</property>
|
|
<property name="horizontalSpacing" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="verticalSpacing" >
|
|
<number>0</number>
|
|
</property>
|
|
<item row="0" column="0" >
|
|
<widget class="QTextBrowser" name="textBrowser_ChatDisplay" />
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QLineEdit" name="lineEdit_ChatInput" />
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="3" >
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_connectedPlayersCounter" >
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_nickListCounter" >
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_runningGamesCounter" >
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_openGamesCounter" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>MyGameListTreeWidget</class>
|
|
<extends>QTreeWidget</extends>
|
|
<header>mygamelisttreewidget.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>treeWidget_NickList</tabstop>
|
|
<tabstop>treeWidget_GameList</tabstop>
|
|
<tabstop>pushButton_joinAnyGame</tabstop>
|
|
<tabstop>pushButton_CreateGame</tabstop>
|
|
<tabstop>pushButton_JoinGame</tabstop>
|
|
<tabstop>textBrowser_ChatDisplay</tabstop>
|
|
<tabstop>lineEdit_ChatInput</tabstop>
|
|
<tabstop>treeWidget_connectedPlayers</tabstop>
|
|
<tabstop>checkBox_fillUpWithComputerOpponents</tabstop>
|
|
<tabstop>pushButton_StartGame</tabstop>
|
|
<tabstop>pushButton_Kick</tabstop>
|
|
<tabstop>pushButton_Leave</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|