next steps on android gui

This commit is contained in:
Felix Hammer
2012-05-10 22:15:16 +02:00
parent ef1162114f
commit 2b9642d5a5
2 changed files with 95 additions and 305 deletions
@@ -192,7 +192,7 @@
<property name="title"> <property name="title">
<string>Manual blinds order:</string> <string>Manual blinds order:</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout3">
<property name="topMargin"> <property name="topMargin">
<number>0</number> <number>0</number>
</property> </property>
@@ -59,63 +59,39 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="0" column="2">
<spacer name="horizontalSpacer_15">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QFrame" name="frame"> <widget class="QFrame" name="frame">
<property name="styleSheet"> <property name="styleSheet">
<string notr="true"/> <string notr="true">QObject {font-size:26px}</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="1" column="0" colspan="5"> <property name="topMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="verticalSpacing">
<number>7</number>
</property>
<item row="0" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout_8"> <layout class="QHBoxLayout" name="horizontalLayout_8">
<item> <item>
<widget class="QLabel" name="label_23"> <widget class="QLabel" name="label_23">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">QObject {font-size:20px}</string> <string notr="true"/>
</property> </property>
<property name="text"> <property name="text">
<string>Default game name:</string> <string>Default game name:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item> <item>
<widget class="QLineEdit" name="lineEdit_gameName"> <widget class="QLineEdit" name="lineEdit_gameName">
<property name="minimumSize"> <property name="minimumSize">
@@ -130,8 +106,8 @@
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
<property name="styleSheet"> <property name="inputMethodHints">
<string notr="true">QObject {font-size:20px}</string> <set>Qt::ImhNoPredictiveText</set>
</property> </property>
<property name="maxLength"> <property name="maxLength">
<number>48</number> <number>48</number>
@@ -140,31 +116,21 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="3" column="0" colspan="5"> <item row="1" column="0" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="styleSheet"> <property name="sizePolicy">
<string notr="true">QObject {font-size:20px}</string> <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Game type:</string> <string>Game type:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item> <item>
<widget class="QComboBox" name="comboBox_gameType"> <widget class="QComboBox" name="comboBox_gameType">
<property name="sizePolicy"> <property name="sizePolicy">
@@ -179,9 +145,6 @@
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="styleSheet">
<string notr="true">QObject {font-size:20px}</string>
</property>
<item> <item>
<property name="text"> <property name="text">
<string>Standard</string> <string>Standard</string>
@@ -222,7 +185,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="5" column="0" colspan="5"> <item row="2" column="0" colspan="2">
<layout class="QHBoxLayout"> <layout class="QHBoxLayout">
<property name="spacing"> <property name="spacing">
<number>6</number> <number>6</number>
@@ -232,8 +195,11 @@
</property> </property>
<item> <item>
<widget class="QCheckBox" name="checkBox_Password"> <widget class="QCheckBox" name="checkBox_Password">
<property name="styleSheet"> <property name="sizePolicy">
<string notr="true">QObject {font-size:20px}</string> <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Password:</string> <string>Password:</string>
@@ -244,19 +210,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="horizontalSpacer_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item> <item>
<widget class="QLineEdit" name="lineEdit_Password"> <widget class="QLineEdit" name="lineEdit_Password">
<property name="enabled"> <property name="enabled">
@@ -268,9 +221,6 @@
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="styleSheet">
<string notr="true">QObject {font-size:20px}</string>
</property>
<property name="echoMode"> <property name="echoMode">
<enum>QLineEdit::Password</enum> <enum>QLineEdit::Password</enum>
</property> </property>
@@ -278,96 +228,15 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="8" column="3" colspan="2">
<widget class="QGroupBox" name="groupBox_blinds">
<property name="styleSheet">
<string notr="true">QObject {font-size:18px}</string>
</property>
<property name="title">
<string>Blinds</string>
</property>
<layout class="QGridLayout">
<property name="topMargin">
<number>0</number>
</property>
<item row="0" column="1">
<widget class="QRadioButton" name="radioButton_useSavedBlindsSettings">
<property name="text">
<string>Use saved blinds settings</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QRadioButton" name="radioButton_changeBlindsSettings">
<property name="text">
<string>Change blinds settings ...</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="0" colspan="2">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0">
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="0" colspan="2"> <item row="4" column="0" colspan="2">
<spacer name="verticalSpacer_4"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="8" column="1">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="styleSheet"> <property name="sizePolicy">
<string notr="true">QObject {font-size:20px}</string> <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Maximum number of players:</string> <string>Maximum number of players:</string>
@@ -376,15 +245,18 @@
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinBox_quantityPlayers"> <widget class="QSpinBox" name="spinBox_quantityPlayers">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>150</width> <width>150</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="styleSheet">
<string notr="true">QObject {font-size:20px}</string>
</property>
<property name="minimum"> <property name="minimum">
<number>2</number> <number>2</number>
</property> </property>
@@ -396,27 +268,17 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</item> </item>
<item row="12" column="1"> <item row="5" column="0" colspan="2">
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="styleSheet"> <property name="sizePolicy">
<string notr="true">QObject {font-size:20px}</string> <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Start Cash:</string> <string>Start Cash:</string>
@@ -425,15 +287,18 @@
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinBox_startCash"> <widget class="QSpinBox" name="spinBox_startCash">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>150</width> <width>150</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="styleSheet">
<string notr="true">QObject {font-size:20px}</string>
</property>
<property name="suffix"> <property name="suffix">
<string/> <string/>
</property> </property>
@@ -454,22 +319,9 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer_7">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</item> </item>
<item row="12" column="3"> <item row="6" column="0">
<layout class="QGridLayout" name="gridLayout_3"> <layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="label_6"> <widget class="QLabel" name="label_6">
@@ -479,9 +331,6 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="styleSheet">
<string notr="true">QObject {font-size:18px}</string>
</property>
<property name="text"> <property name="text">
<string>Timeout for player action:</string> <string>Timeout for player action:</string>
</property> </property>
@@ -489,9 +338,6 @@
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QSpinBox" name="spinBox_netTimeOutPlayerAction"> <widget class="QSpinBox" name="spinBox_netTimeOutPlayerAction">
<property name="styleSheet">
<string notr="true">QObject {font-size:18px}</string>
</property>
<property name="suffix"> <property name="suffix">
<string> s</string> <string> s</string>
</property> </property>
@@ -508,9 +354,6 @@
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="label_5"> <widget class="QLabel" name="label_5">
<property name="styleSheet">
<string notr="true">QObject {font-size:18px}</string>
</property>
<property name="text"> <property name="text">
<string>Delay between hands:</string> <string>Delay between hands:</string>
</property> </property>
@@ -524,9 +367,6 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="styleSheet">
<string notr="true">QObject {font-size:18px}</string>
</property>
<property name="suffix"> <property name="suffix">
<string> s</string> <string> s</string>
</property> </property>
@@ -543,96 +383,47 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="13" column="1"> <item row="6" column="1">
<spacer name="verticalSpacer_8"> <widget class="QGroupBox" name="groupBox_blinds">
<property name="orientation"> <property name="title">
<enum>Qt::Vertical</enum> <string>Blinds</string>
</property> </property>
<property name="sizeHint" stdset="0"> <layout class="QGridLayout">
<size> <property name="topMargin">
<width>20</width> <number>0</number>
<height>40</height> </property>
</size> <property name="bottomMargin">
</property> <number>0</number>
</spacer> </property>
<property name="verticalSpacing">
<number>0</number>
</property>
<item row="1" column="1">
<widget class="QRadioButton" name="radioButton_useSavedBlindsSettings">
<property name="text">
<string>Use saved blinds settings</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QRadioButton" name="radioButton_changeBlindsSettings">
<property name="text">
<string>Change blinds settings ...</string>
</property>
</widget>
</item>
</layout>
</widget>
</item> </item>
<item row="9" column="3"> <item row="3" column="0" colspan="2">
<spacer name="verticalSpacer_9"> <widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="6" column="0">
<spacer name="verticalSpacer_10">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="11" column="2" rowspan="2">
<spacer name="horizontalSpacer_2">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0"> </widget>
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="8" column="0" rowspan="2">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="12" column="0">
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="12" column="4">
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item> </item>
</layout> </layout>
</widget> </widget>
@@ -645,7 +436,6 @@
<tabstop>checkBox_Password</tabstop> <tabstop>checkBox_Password</tabstop>
<tabstop>lineEdit_Password</tabstop> <tabstop>lineEdit_Password</tabstop>
<tabstop>radioButton_useSavedBlindsSettings</tabstop> <tabstop>radioButton_useSavedBlindsSettings</tabstop>
<tabstop>radioButton_changeBlindsSettings</tabstop>
<tabstop>pushButton_createGame</tabstop> <tabstop>pushButton_createGame</tabstop>
</tabstops> </tabstops>
<resources> <resources>