add changecompleteblindsdialog for start-dialogs to change new blinds-settings

This commit is contained in:
doitux
2007-09-27 00:35:30 +00:00
parent ce75d91595
commit 3c7aa802db
17 changed files with 818 additions and 255 deletions
+359
View File
@@ -0,0 +1,359 @@
<ui version="4.0" >
<class>changeCompleteBlindsDialog</class>
<widget class="QDialog" name="changeCompleteBlindsDialog" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>435</width>
<height>397</height>
</rect>
</property>
<property name="windowTitle" >
<string>Change Blinds Settings</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" colspan="2" >
<layout class="QHBoxLayout" >
<item>
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>First small blind:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_firstSmallBlind" >
<property name="minimum" >
<number>5</number>
</property>
<property name="maximum" >
<number>500</number>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0" >
<widget class="QGroupBox" name="groupBox_6" >
<property name="title" >
<string>Raise blinds:</string>
</property>
<layout class="QGridLayout" >
<property name="leftMargin" >
<number>9</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>9</number>
</property>
<item row="0" column="0" >
<widget class="QRadioButton" name="radioButton_raiseBlindsAtHands" >
<property name="text" >
<string>Every:</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QSpinBox" name="spinBox_raiseSmallBlindEveryHands" >
<property name="minimum" >
<number>1</number>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLabel" name="label_47" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>hands</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QRadioButton" name="radioButton_raiseBlindsAtMinutes" >
<property name="text" >
<string>Every:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSpinBox" name="spinBox_raiseSmallBlindEveryMinutes" >
<property name="minimum" >
<number>1</number>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="QLabel" name="label_50" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>minutes</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="1" >
<widget class="QGroupBox" name="groupBox_7" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title" >
<string>Raise mode:</string>
</property>
<layout class="QGridLayout" >
<property name="topMargin" >
<number>0</number>
</property>
<item row="0" column="0" >
<widget class="QRadioButton" name="radioButton_alwaysDoubleBlinds" >
<property name="text" >
<string>Always double blinds</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QRadioButton" name="radioButton_manualBlindsOrder" >
<property name="text" >
<string>Manual blinds order:</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="0" colspan="2" >
<widget class="QGroupBox" name="groupBox_2" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="title" >
<string>Manual blinds order:</string>
</property>
<layout class="QGridLayout" >
<item rowspan="2" row="0" column="0" >
<layout class="QGridLayout" >
<property name="horizontalSpacing" >
<number>4</number>
</property>
<item rowspan="2" row="0" column="0" >
<widget class="QListWidget" name="listWidget_blinds" />
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="pushButton_delete" >
<property name="text" >
<string>Delete</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>121</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0" >
<widget class="QSpinBox" name="spinBox_input" >
<property name="maximum" >
<number>9999</number>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QPushButton" name="pushButton_add" >
<property name="text" >
<string>Add</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1" >
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<string>After this:</string>
</property>
<layout class="QGridLayout" >
<property name="topMargin" >
<number>2</number>
</property>
<property name="bottomMargin" >
<number>2</number>
</property>
<item row="0" column="0" >
<widget class="QRadioButton" name="radioButton_afterThisAlwaysDoubleBlinds" >
<property name="text" >
<string>Always double blinds</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" >
<layout class="QHBoxLayout" >
<item>
<widget class="QRadioButton" name="radioButton_afterThisAlwaysRaiseAbout" >
<property name="text" >
<string>Always raise about:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_afterThisAlwaysRaiseValue" />
</item>
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>$</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0" >
<widget class="QRadioButton" name="radioButton_afterThisStayAtLastBlind" >
<property name="text" >
<string>Stay at last blind</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QDialogButtonBox" name="buttonBox" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons" >
<set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>listWidget_blinds</tabstop>
<tabstop>spinBox_input</tabstop>
<tabstop>pushButton_add</tabstop>
<tabstop>pushButton_delete</tabstop>
<tabstop>radioButton_afterThisAlwaysDoubleBlinds</tabstop>
<tabstop>radioButton_afterThisAlwaysRaiseAbout</tabstop>
<tabstop>spinBox_afterThisAlwaysRaiseValue</tabstop>
<tabstop>radioButton_afterThisStayAtLastBlind</tabstop>
<tabstop>buttonBox</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>changeCompleteBlindsDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>237</x>
<y>387</y>
</hint>
<hint type="destinationlabel" >
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>changeCompleteBlindsDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<x>279</x>
<y>387</y>
</hint>
<hint type="destinationlabel" >
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>radioButton_afterThisAlwaysRaiseAbout</sender>
<signal>toggled(bool)</signal>
<receiver>spinBox_afterThisAlwaysRaiseValue</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>327</x>
<y>302</y>
</hint>
<hint type="destinationlabel" >
<x>389</x>
<y>304</y>
</hint>
</hints>
</connection>
<connection>
<sender>radioButton_manualBlindsOrder</sender>
<signal>toggled(bool)</signal>
<receiver>groupBox_2</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>297</x>
<y>116</y>
</hint>
<hint type="destinationlabel" >
<x>306</x>
<y>164</y>
</hint>
</hints>
</connection>
</connections>
</ui>
@@ -0,0 +1,77 @@
/***************************************************************************
* Copyright (C) 2006 by FThauer FHammer *
* f.thauer@web.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "changecompleteblindsdialogimpl.h"
#include "configfile.h"
#include <iostream>
changeCompleteBlindsDialogImpl::changeCompleteBlindsDialogImpl(QWidget *parent, ConfigFile *c)
: QDialog(parent), myConfig(c), settingsCorrect(TRUE)
{
setupUi(this);
connect( pushButton_add, SIGNAL( clicked() ), this, SLOT( addBlindValueToList() ) );
connect( pushButton_delete, SIGNAL( clicked() ), this, SLOT( removeBlindFromList() ) );
}
void changeCompleteBlindsDialogImpl::exec() {
QDialog::exec();
}
void changeCompleteBlindsDialogImpl::addBlindValueToList() {
listWidget_blinds->addItem(QString::number(spinBox_input->value(),10));
sortBlindsList();
}
void changeCompleteBlindsDialogImpl::removeBlindFromList() {
listWidget_blinds->takeItem(listWidget_blinds->currentRow());
sortBlindsList();
}
void changeCompleteBlindsDialogImpl::sortBlindsList() {
int i;
QList<int> tempIntList;
QStringList tempStringList;
bool ok = TRUE;
for(i=0; i<listWidget_blinds->count(); i++) {
// std::cout << listWidget_blinds->item(i)->text().toInt(&ok,10) << "\n";
tempIntList << listWidget_blinds->item(i)->text().toInt(&ok,10);
}
qStableSort(tempIntList.begin(), tempIntList.end());
//
for(i=0; i<tempIntList.count(); i++) {
//
// std::cout << tempIntList[i] << "\n";
tempStringList << QString::number(tempIntList[i],10);
}
//
listWidget_blinds->clear();
listWidget_blinds->addItems(tempStringList);
}
@@ -0,0 +1,52 @@
/***************************************************************************
* Copyright (C) 2006 by FThauer FHammer *
* f.thauer@web.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef CHANGECOMPLETEBLINDSDIALOGIMPL_H
#define CHANGECOMPLETEBLINDSDIALOGIMPL_H
#include "ui_changecompleteblindsdialog.h"
#include <QtCore>
#include <QtGui>
class ConfigFile;
class changeCompleteBlindsDialogImpl: public QDialog, public Ui::changeCompleteBlindsDialog {
Q_OBJECT
public:
changeCompleteBlindsDialogImpl(QWidget *parent = 0, ConfigFile *c = 0);
void exec();
public slots:
bool getSettingsCorrect() const { return settingsCorrect;}
void addBlindValueToList();
void removeBlindFromList();
void sortBlindsList();
private:
ConfigFile* myConfig;
bool settingsCorrect;
};
#endif
+68 -96
View File
@@ -5,12 +5,12 @@
<rect>
<x>0</x>
<y>0</y>
<width>303</width>
<height>316</height>
<width>277</width>
<height>341</height>
</rect>
</property>
<property name="windowTitle" >
<string>Create Game</string>
<string>Create Internet Game</string>
</property>
<layout class="QGridLayout" >
<property name="leftMargin" >
@@ -34,68 +34,13 @@
<item row="0" column="0" >
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<string>Game Settings</string>
<string>Internet Game Settings</string>
</property>
<layout class="QGridLayout" >
<property name="leftMargin" >
<number>9</number>
</property>
<property name="topMargin" >
<number>9</number>
</property>
<property name="rightMargin" >
<number>9</number>
</property>
<property name="bottomMargin" >
<number>9</number>
</property>
<property name="horizontalSpacing" >
<number>6</number>
</property>
<property name="verticalSpacing" >
<number>6</number>
</property>
<item row="4" column="0" colspan="3" >
<widget class="QLabel" name="label_5" >
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Game Speed for computer opponents:</string>
</property>
</widget>
</item>
<item row="3" column="2" colspan="2" >
<widget class="QSpinBox" name="spinBox_handsBeforeRaiseSmallBlind" >
<property name="minimum" >
<number>1</number>
</property>
<property name="value" >
<number>9</number>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>Hands before raise blinds:</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<string>Timeout for player action (sec):</string>
</property>
</widget>
</item>
<item row="5" column="2" colspan="2" >
<widget class="QSpinBox" name="spinBox_netTimeOutPlayerAction" >
<property name="minimum" >
<number>5</number>
</property>
<property name="maximum" >
<number>60</number>
</property>
<property name="value" >
<number>20</number>
<string>Maximum number of players:</string>
</property>
</widget>
</item>
@@ -112,6 +57,13 @@
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Start Cash:</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="3" >
<widget class="QSpinBox" name="spinBox_startCash" >
<property name="minimum" >
@@ -125,41 +77,43 @@
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<item row="2" column="0" colspan="4" >
<widget class="QGroupBox" name="groupBox_2" >
<property name="title" >
<string>Blinds</string>
</property>
<layout class="QGridLayout" >
<property name="topMargin" >
<number>0</number>
</property>
<item row="0" column="0" >
<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="0" >
<widget class="QRadioButton" name="radioButton_changeBlindsSettings" >
<property name="text" >
<string>Change blinds settings ...</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="0" colspan="3" >
<widget class="QLabel" name="label_5" >
<property name="text" >
<string>Maximum number of players:</string>
<string>Game Speed for computer opponents:</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Start Cash:</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Small Blind:</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="3" >
<widget class="QSpinBox" name="spinBox_smallBlind" >
<property name="minimum" >
<number>5</number>
</property>
<property name="maximum" >
<number>500</number>
</property>
<property name="value" >
<number>10</number>
</property>
</widget>
</item>
<item row="4" column="3" >
<item row="3" column="3" >
<widget class="QSpinBox" name="spinBox_gameSpeed" >
<property name="minimum" >
<number>1</number>
@@ -172,7 +126,27 @@
</property>
</widget>
</item>
<item row="6" column="0" colspan="4" >
<item row="4" column="0" colspan="2" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<string>Timeout for player action (sec):</string>
</property>
</widget>
</item>
<item row="4" column="2" colspan="2" >
<widget class="QSpinBox" name="spinBox_netTimeOutPlayerAction" >
<property name="minimum" >
<number>5</number>
</property>
<property name="maximum" >
<number>60</number>
</property>
<property name="value" >
<number>20</number>
</property>
</widget>
</item>
<item row="5" column="0" colspan="4" >
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</number>
@@ -262,8 +236,6 @@
<tabstops>
<tabstop>spinBox_quantityPlayers</tabstop>
<tabstop>spinBox_startCash</tabstop>
<tabstop>spinBox_smallBlind</tabstop>
<tabstop>spinBox_handsBeforeRaiseSmallBlind</tabstop>
<tabstop>spinBox_gameSpeed</tabstop>
<tabstop>spinBox_netTimeOutPlayerAction</tabstop>
<tabstop>pushButton_createGame</tabstop>
@@ -20,6 +20,8 @@
#include "createinternetgamedialogimpl.h"
#include "session.h"
#include "configfile.h"
#include "changecompleteblindsdialogimpl.h"
createInternetGameDialogImpl::createInternetGameDialogImpl(QWidget *parent, ConfigFile *c)
: QDialog(parent), myConfig(c)
@@ -27,11 +29,13 @@ createInternetGameDialogImpl::createInternetGameDialogImpl(QWidget *parent, Conf
setupUi(this);
myChangeCompleteBlindsDialog = new changeCompleteBlindsDialogImpl;
fillFormular();
connect( radioButton_changeBlindsSettings, SIGNAL( clicked(bool) ), this, SLOT( callChangeBlindsDialog(bool) ) );
connect( pushButton_cancel, SIGNAL( clicked() ), this, SLOT( cancel() ) );
connect( pushButton_createGame, SIGNAL( clicked() ), this, SLOT( createGame() ) );
connect( checkBox_Password, SIGNAL( toggled(bool) ), this, SLOT( clearGamePassword(bool)) );
//temporarely unused until ai is enabled in network
// label_5->hide();
@@ -60,8 +64,6 @@ void createInternetGameDialogImpl::fillFormular() {
//Network Game Settings
spinBox_quantityPlayers->setValue(myConfig->readConfigInt("NetNumberOfPlayers"));
spinBox_startCash->setValue(myConfig->readConfigInt("NetStartCash"));
spinBox_smallBlind->setValue(myConfig->readConfigInt("NetFirstSmallBlind"));
spinBox_handsBeforeRaiseSmallBlind->setValue(myConfig->readConfigInt("NetRaiseSmallBlindEveryHands"));
//temporarely unused until ai is enabled in network
spinBox_gameSpeed->setValue(myConfig->readConfigInt("NetGameSpeed"));
spinBox_netTimeOutPlayerAction->setValue(myConfig->readConfigInt("NetTimeOutPlayerAction"));
@@ -70,6 +72,30 @@ void createInternetGameDialogImpl::fillFormular() {
lineEdit_Password->setText(QString::fromUtf8(myConfig->readConfigString("InternetGamePassword").c_str()));
}
//fill changeCompleteBlindsDialog
myChangeCompleteBlindsDialog->spinBox_firstSmallBlind->setValue(myConfig->readConfigInt("NetFirstSmallBlind"));
myChangeCompleteBlindsDialog->radioButton_raiseBlindsAtHands->setChecked(myConfig->readConfigInt("NetRaiseBlindsAtHands"));
myChangeCompleteBlindsDialog->radioButton_raiseBlindsAtMinutes->setChecked(myConfig->readConfigInt("NetRaiseBlindsAtMinutes"));
myChangeCompleteBlindsDialog->spinBox_raiseSmallBlindEveryHands->setValue(myConfig->readConfigInt("NetRaiseSmallBlindEveryHands"));
myChangeCompleteBlindsDialog->spinBox_raiseSmallBlindEveryMinutes->setValue(myConfig->readConfigInt("NetRaiseSmallBlindEveryMinutes"));
myChangeCompleteBlindsDialog->radioButton_alwaysDoubleBlinds->setChecked(myConfig->readConfigInt("NetAlwaysDoubleBlinds"));
myChangeCompleteBlindsDialog->radioButton_manualBlindsOrder->setChecked(myConfig->readConfigInt("NetManualBlindsOrder"));
myChangeCompleteBlindsDialog->listWidget_blinds->clear();
myChangeCompleteBlindsDialog->spinBox_input->setMinimum(myChangeCompleteBlindsDialog->spinBox_firstSmallBlind->value()+1);
std::list<int> myBlindsList = myConfig->readConfigIntList("NetManualBlindsList");
std::list<int>::iterator it1;
for(it1= myBlindsList.begin(); it1 != myBlindsList.end(); it1++) {
myChangeCompleteBlindsDialog->listWidget_blinds->addItem(QString::number(*it1,10));
}
myChangeCompleteBlindsDialog->sortBlindsList();
myChangeCompleteBlindsDialog->radioButton_afterThisAlwaysDoubleBlinds->setChecked(myConfig->readConfigInt("NetAfterMBAlwaysDoubleBlinds"));
myChangeCompleteBlindsDialog->radioButton_afterThisAlwaysRaiseAbout->setChecked(myConfig->readConfigInt("NetAfterMBAlwaysRaiseAbout"));
myChangeCompleteBlindsDialog->spinBox_afterThisAlwaysRaiseValue->setValue(myConfig->readConfigInt("NetAfterMBAlwaysRaiseValue"));
myChangeCompleteBlindsDialog->radioButton_afterThisStayAtLastBlind->setChecked(myConfig->readConfigInt("NetAfterMBStayAtLastBlind"));
}
void createInternetGameDialogImpl::showDialog() {
@@ -90,3 +116,14 @@ void createInternetGameDialogImpl::clearGamePassword(bool clear) {
if(!clear) { lineEdit_Password->clear(); }
}
void createInternetGameDialogImpl::callChangeBlindsDialog(bool show) {
if(show) {
myChangeCompleteBlindsDialog->exec();
if(myChangeCompleteBlindsDialog->result() == QDialog::Accepted ) {}
else {
radioButton_useSavedBlindsSettings->setChecked(TRUE);
}
}
}
@@ -27,6 +27,7 @@
class Session;
class ConfigFile;
class changeCompleteBlindsDialogImpl;
class createInternetGameDialogImpl: public QDialog, public Ui::createInternetGameDialog {
Q_OBJECT
@@ -34,6 +35,7 @@ public:
createInternetGameDialogImpl(QWidget *parent = 0, ConfigFile *c = 0);
void exec();
changeCompleteBlindsDialogImpl* getChangeCompleteBlindsDialog() { return myChangeCompleteBlindsDialog; }
public slots:
@@ -44,9 +46,11 @@ public slots:
void keyPressEvent ( QKeyEvent * event );
void clearGamePassword(bool);
void callChangeBlindsDialog(bool);
private:
ConfigFile *myConfig;
changeCompleteBlindsDialogImpl *myChangeCompleteBlindsDialog;
};
#endif
+35 -42
View File
@@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>303</width>
<height>294</height>
<width>277</width>
<height>314</height>
</rect>
</property>
<property name="windowTitle" >
@@ -19,6 +19,9 @@
<string>Network Game Settings</string>
</property>
<layout class="QGridLayout" >
<property name="topMargin" >
<number>9</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
@@ -59,51 +62,43 @@
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Small Blind:</string>
<item row="2" column="0" colspan="4" >
<widget class="QGroupBox" name="groupBox_2" >
<property name="title" >
<string>Blinds</string>
</property>
<layout class="QGridLayout" >
<property name="topMargin" >
<number>0</number>
</property>
<item row="0" column="0" >
<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="0" >
<widget class="QRadioButton" name="radioButton_changeBlindsSettings" >
<property name="text" >
<string>Change blinds settings ...</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="1" colspan="3" >
<widget class="QSpinBox" name="spinBox_smallBlind" >
<property name="minimum" >
<number>5</number>
</property>
<property name="maximum" >
<number>500</number>
</property>
<property name="value" >
<number>10</number>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>Hands before raise blinds:</string>
</property>
</widget>
</item>
<item row="3" column="2" colspan="2" >
<widget class="QSpinBox" name="spinBox_handsBeforeRaiseSmallBlind" >
<property name="minimum" >
<number>1</number>
</property>
<property name="value" >
<number>9</number>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3" >
<item row="3" column="0" colspan="3" >
<widget class="QLabel" name="label_5" >
<property name="text" >
<string>Game Speed for computer opponents:</string>
</property>
</widget>
</item>
<item row="4" column="3" >
<item row="3" column="3" >
<widget class="QSpinBox" name="spinBox_gameSpeed" >
<property name="minimum" >
<number>1</number>
@@ -116,14 +111,14 @@
</property>
</widget>
</item>
<item row="5" column="0" colspan="2" >
<item row="4" column="0" colspan="2" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<string>Timeout for player action (sec):</string>
</property>
</widget>
</item>
<item row="5" column="2" colspan="2" >
<item row="4" column="2" colspan="2" >
<widget class="QSpinBox" name="spinBox_netTimeOutPlayerAction" >
<property name="minimum" >
<number>5</number>
@@ -190,8 +185,6 @@
<tabstops>
<tabstop>spinBox_quantityPlayers</tabstop>
<tabstop>spinBox_startCash</tabstop>
<tabstop>spinBox_smallBlind</tabstop>
<tabstop>spinBox_handsBeforeRaiseSmallBlind</tabstop>
<tabstop>spinBox_gameSpeed</tabstop>
<tabstop>spinBox_netTimeOutPlayerAction</tabstop>
<tabstop>pushButton_createGame</tabstop>
@@ -20,15 +20,19 @@
#include "createnetworkgamedialogimpl.h"
#include "session.h"
#include "configfile.h"
#include "changecompleteblindsdialogimpl.h"
createNetworkGameDialogImpl::createNetworkGameDialogImpl(QWidget *parent, ConfigFile *c)
: QDialog(parent), myConfig(c)
{
setupUi(this);
myChangeCompleteBlindsDialog = new changeCompleteBlindsDialogImpl;
fillFormular();
connect( radioButton_changeBlindsSettings, SIGNAL( clicked(bool) ), this, SLOT( callChangeBlindsDialog(bool) ) );
connect( pushButton_cancel, SIGNAL( clicked() ), this, SLOT( cancel() ) );
connect( pushButton_createGame, SIGNAL( clicked() ), this, SLOT( createGame() ) );
@@ -59,11 +63,34 @@ void createNetworkGameDialogImpl::fillFormular() {
//Network Game Settings
spinBox_quantityPlayers->setValue(myConfig->readConfigInt("NetNumberOfPlayers"));
spinBox_startCash->setValue(myConfig->readConfigInt("NetStartCash"));
spinBox_smallBlind->setValue(myConfig->readConfigInt("NetFirstSmallBlind"));
spinBox_handsBeforeRaiseSmallBlind->setValue(myConfig->readConfigInt("NetRaiseSmallBlindEveryHands"));
//temporarely unused until ai is enabled in network
spinBox_gameSpeed->setValue(myConfig->readConfigInt("NetGameSpeed"));
spinBox_netTimeOutPlayerAction->setValue(myConfig->readConfigInt("NetTimeOutPlayerAction"));
//fill changeCompleteBlindsDialog
myChangeCompleteBlindsDialog->spinBox_firstSmallBlind->setValue(myConfig->readConfigInt("NetFirstSmallBlind"));
myChangeCompleteBlindsDialog->radioButton_raiseBlindsAtHands->setChecked(myConfig->readConfigInt("NetRaiseBlindsAtHands"));
myChangeCompleteBlindsDialog->radioButton_raiseBlindsAtMinutes->setChecked(myConfig->readConfigInt("NetRaiseBlindsAtMinutes"));
myChangeCompleteBlindsDialog->spinBox_raiseSmallBlindEveryHands->setValue(myConfig->readConfigInt("NetRaiseSmallBlindEveryHands"));
myChangeCompleteBlindsDialog->spinBox_raiseSmallBlindEveryMinutes->setValue(myConfig->readConfigInt("NetRaiseSmallBlindEveryMinutes"));
myChangeCompleteBlindsDialog->radioButton_alwaysDoubleBlinds->setChecked(myConfig->readConfigInt("NetAlwaysDoubleBlinds"));
myChangeCompleteBlindsDialog->radioButton_manualBlindsOrder->setChecked(myConfig->readConfigInt("NetManualBlindsOrder"));
myChangeCompleteBlindsDialog->listWidget_blinds->clear();
myChangeCompleteBlindsDialog->spinBox_input->setMinimum(myChangeCompleteBlindsDialog->spinBox_firstSmallBlind->value()+1);
std::list<int> myBlindsList = myConfig->readConfigIntList("NetManualBlindsList");
std::list<int>::iterator it1;
for(it1= myBlindsList.begin(); it1 != myBlindsList.end(); it1++) {
myChangeCompleteBlindsDialog->listWidget_blinds->addItem(QString::number(*it1,10));
}
myChangeCompleteBlindsDialog->sortBlindsList();
myChangeCompleteBlindsDialog->radioButton_afterThisAlwaysDoubleBlinds->setChecked(myConfig->readConfigInt("NetAfterMBAlwaysDoubleBlinds"));
myChangeCompleteBlindsDialog->radioButton_afterThisAlwaysRaiseAbout->setChecked(myConfig->readConfigInt("NetAfterMBAlwaysRaiseAbout"));
myChangeCompleteBlindsDialog->spinBox_afterThisAlwaysRaiseValue->setValue(myConfig->readConfigInt("NetAfterMBAlwaysRaiseValue"));
myChangeCompleteBlindsDialog->radioButton_afterThisStayAtLastBlind->setChecked(myConfig->readConfigInt("NetAfterMBStayAtLastBlind"));
}
void createNetworkGameDialogImpl::showDialog() {
@@ -78,3 +105,15 @@ void createNetworkGameDialogImpl::keyPressEvent ( QKeyEvent * event ) {
if (event->key() == 16777220) { pushButton_createGame->click(); } //ENTER
}
void createNetworkGameDialogImpl::callChangeBlindsDialog(bool show) {
if(show) {
myChangeCompleteBlindsDialog->exec();
if(myChangeCompleteBlindsDialog->result() == QDialog::Accepted ) {}
else {
radioButton_useSavedBlindsSettings->setChecked(TRUE);
}
}
}
@@ -27,6 +27,8 @@
class Session;
class ConfigFile;
class changeCompleteBlindsDialogImpl;
class createNetworkGameDialogImpl: public QDialog, public Ui::createNetworkGameDialog {
Q_OBJECT
@@ -34,6 +36,7 @@ public:
createNetworkGameDialogImpl(QWidget *parent = 0, ConfigFile *c = 0);
void exec();
changeCompleteBlindsDialogImpl* getChangeCompleteBlindsDialog() { return myChangeCompleteBlindsDialog; }
public slots:
@@ -42,9 +45,12 @@ public slots:
void fillFormular();
void showDialog();
void keyPressEvent ( QKeyEvent * event );
void callChangeBlindsDialog(bool);
private:
ConfigFile *myConfig;
changeCompleteBlindsDialogImpl *myChangeCompleteBlindsDialog;
};
#endif
+5
View File
@@ -58,6 +58,11 @@
<string>Players</string>
</property>
</column>
<column>
<property name="text" >
<string>State</string>
</property>
</column>
<column>
<property name="text" >
<string>Private</string>
@@ -11,6 +11,7 @@
//
#include "gamelobbydialogimpl.h"
#include "lobbychat.h"
#include "changecompleteblindsdialogimpl.h"
#include "session.h"
#include "configfile.h"
#include "gamedata.h"
@@ -72,8 +73,9 @@ void gameLobbyDialogImpl::createGame()
// Set Game Data
gameData.maxNumberOfPlayers = myCreateInternetGameDialog->spinBox_quantityPlayers->value();
gameData.startMoney = myCreateInternetGameDialog->spinBox_startCash->value();
gameData.smallBlind = myCreateInternetGameDialog->spinBox_smallBlind->value();
gameData.handsBeforeRaise = myCreateInternetGameDialog->spinBox_handsBeforeRaiseSmallBlind->value();
gameData.smallBlind = myCreateInternetGameDialog->getChangeCompleteBlindsDialog()->spinBox_firstSmallBlind->value();
gameData.handsBeforeRaise = myCreateInternetGameDialog->getChangeCompleteBlindsDialog()->spinBox_raiseSmallBlindEveryHands->value();
gameData.guiSpeed = myCreateInternetGameDialog->spinBox_gameSpeed->value();
gameData.guiSpeed = myCreateInternetGameDialog->spinBox_gameSpeed->value();
gameData.playerActionTimeoutSec = myCreateInternetGameDialog->spinBox_netTimeOutPlayerAction->value();
@@ -258,9 +260,10 @@ void gameLobbyDialogImpl::clearDialog()
pushButton_JoinGame->show();
pushButton_JoinGame->setEnabled(false);
treeWidget_GameList->setColumnWidth(0,250);
treeWidget_GameList->setColumnWidth(1,75);
treeWidget_GameList->setColumnWidth(0,195);
treeWidget_GameList->setColumnWidth(1,70);
treeWidget_GameList->setColumnWidth(2,70);
treeWidget_GameList->setColumnWidth(3,60);
pushButton_CreateGame->clearFocus();
lineEdit_ChatInput->setFocus();
+6 -5
View File
@@ -28,6 +28,7 @@
#include "createnetworkgamedialogimpl.h"
#include "startnetworkgamedialogimpl.h"
#include "changehumanplayernamedialogimpl.h"
#include "changecompleteblindsdialogimpl.h"
#include "gamelobbydialogimpl.h"
#include "startsplash.h"
@@ -716,8 +717,8 @@ void mainWindowImpl::startNewLocalGame(newGameDialogImpl *v) {
// Set Game Data
gameData.maxNumberOfPlayers = v->spinBox_quantityPlayers->value();
gameData.startMoney = v->spinBox_startCash->value();
gameData.smallBlind = v->spinBox_smallBlind->value();
gameData.handsBeforeRaise = v->spinBox_handsBeforeRaiseSmallBlind->value();
gameData.smallBlind = v->getChangeCompleteBlindsDialog()->spinBox_firstSmallBlind->value();
gameData.handsBeforeRaise = v->getChangeCompleteBlindsDialog()->spinBox_raiseSmallBlindEveryHands->value();
//Speeds
gameData.guiSpeed = v->spinBox_gameSpeed->value();
}
@@ -774,9 +775,9 @@ void mainWindowImpl::callCreateNetworkGameDialog() {
GameData gameData;
gameData.maxNumberOfPlayers = myCreateNetworkGameDialog->spinBox_quantityPlayers->value();
gameData.startMoney = myCreateNetworkGameDialog->spinBox_startCash->value();
gameData.smallBlind = myCreateNetworkGameDialog->spinBox_smallBlind->value();
gameData.handsBeforeRaise = myCreateNetworkGameDialog->spinBox_handsBeforeRaiseSmallBlind->value();
gameData.guiSpeed = myCreateNetworkGameDialog->spinBox_gameSpeed->value();
gameData.smallBlind = myCreateNetworkGameDialog->getChangeCompleteBlindsDialog()->spinBox_firstSmallBlind->value();
gameData.handsBeforeRaise = myCreateNetworkGameDialog->getChangeCompleteBlindsDialog()->spinBox_raiseSmallBlindEveryHands->value();
gameData.guiSpeed = myCreateNetworkGameDialog->spinBox_gameSpeed->value();
gameData.playerActionTimeoutSec = myCreateNetworkGameDialog->spinBox_netTimeOutPlayerAction->value();
myGameLobbyDialog->setSession(&getSession());
+1 -1
View File
@@ -6,7 +6,7 @@
<x>0</x>
<y>0</y>
<width>248</width>
<height>426</height>
<height>392</height>
</rect>
</property>
<property name="windowTitle" >
+49 -95
View File
@@ -5,96 +5,24 @@
<rect>
<x>0</x>
<y>0</y>
<width>280</width>
<height>249</height>
<width>236</width>
<height>278</height>
</rect>
</property>
<property name="windowTitle" >
<string>Start Local Game</string>
</property>
<layout class="QGridLayout" >
<property name="leftMargin" >
<number>9</number>
</property>
<property name="topMargin" >
<number>9</number>
</property>
<property name="rightMargin" >
<number>9</number>
</property>
<property name="bottomMargin" >
<number>9</number>
</property>
<property name="horizontalSpacing" >
<number>6</number>
</property>
<property name="verticalSpacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<string>Local Game Settings</string>
</property>
<layout class="QGridLayout" >
<property name="leftMargin" >
<number>9</number>
</property>
<property name="topMargin" >
<number>9</number>
</property>
<property name="rightMargin" >
<number>9</number>
</property>
<property name="bottomMargin" >
<number>9</number>
</property>
<property name="horizontalSpacing" >
<number>6</number>
</property>
<property name="verticalSpacing" >
<number>6</number>
</property>
<item row="4" column="1" colspan="2" >
<widget class="QSpinBox" name="spinBox_gameSpeed" >
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>11</number>
</property>
<property name="value" >
<number>4</number>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_5" >
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Game Speed:</string>
</property>
</widget>
</item>
<item row="3" column="2" >
<widget class="QSpinBox" name="spinBox_handsBeforeRaiseSmallBlind" >
<property name="minimum" >
<number>1</number>
</property>
<property name="value" >
<number>9</number>
</property>
</widget>
</item>
<item row="2" column="1" colspan="2" >
<widget class="QSpinBox" name="spinBox_smallBlind" >
<property name="minimum" >
<number>5</number>
</property>
<property name="maximum" >
<number>500</number>
</property>
<property name="value" >
<number>10</number>
<string>Number of players:</string>
</property>
</widget>
</item>
@@ -111,13 +39,6 @@
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Number of players:</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
@@ -125,13 +46,6 @@
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Small Blind:</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2" >
<widget class="QSpinBox" name="spinBox_startCash" >
<property name="minimum" >
@@ -145,10 +59,52 @@
</property>
</widget>
</item>
<item row="2" column="0" colspan="3" >
<widget class="QGroupBox" name="groupBox_2" >
<property name="title" >
<string>Blinds</string>
</property>
<layout class="QGridLayout" >
<property name="topMargin" >
<number>0</number>
</property>
<item row="0" column="0" >
<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="0" >
<widget class="QRadioButton" name="radioButton_changeBlindsSettings" >
<property name="text" >
<string>Change blinds settings ...</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QLabel" name="label_4" >
<widget class="QLabel" name="label_5" >
<property name="text" >
<string>Hands before raise blinds:</string>
<string>Game Speed:</string>
</property>
</widget>
</item>
<item row="3" column="2" >
<widget class="QSpinBox" name="spinBox_gameSpeed" >
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>11</number>
</property>
<property name="value" >
<number>4</number>
</property>
</widget>
</item>
@@ -170,8 +126,6 @@
<tabstops>
<tabstop>spinBox_quantityPlayers</tabstop>
<tabstop>spinBox_startCash</tabstop>
<tabstop>spinBox_smallBlind</tabstop>
<tabstop>spinBox_handsBeforeRaiseSmallBlind</tabstop>
<tabstop>spinBox_gameSpeed</tabstop>
<tabstop>buttonBox</tabstop>
</tabstops>
@@ -18,14 +18,18 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "newgamedialogimpl.h"
#include "changecompleteblindsdialogimpl.h"
#include "configfile.h"
newGameDialogImpl::newGameDialogImpl(QWidget *parent, ConfigFile *c)
: QDialog(parent), myConfig(c)
{
setupUi(this);
setupUi(this);
myChangeCompleteBlindsDialog = new changeCompleteBlindsDialogImpl;
connect( radioButton_changeBlindsSettings, SIGNAL( clicked(bool) ), this, SLOT( callChangeBlindsDialog(bool) ) );
}
@@ -33,10 +37,45 @@ void newGameDialogImpl::exec() {
spinBox_quantityPlayers->setValue(myConfig->readConfigInt("NumberOfPlayers"));
spinBox_startCash->setValue(myConfig->readConfigInt("StartCash"));
spinBox_smallBlind->setValue(myConfig->readConfigInt("FirstSmallBlind"));
spinBox_gameSpeed->setValue(myConfig->readConfigInt("GameSpeed"));
spinBox_handsBeforeRaiseSmallBlind->setValue(myConfig->readConfigInt("RaiseSmallBlindEveryHands"));
//fill changeCompleteBlindsDialog
myChangeCompleteBlindsDialog->spinBox_firstSmallBlind->setValue(myConfig->readConfigInt("FirstSmallBlind"));
myChangeCompleteBlindsDialog->radioButton_raiseBlindsAtHands->setChecked(myConfig->readConfigInt("RaiseBlindsAtHands"));
myChangeCompleteBlindsDialog->radioButton_raiseBlindsAtMinutes->setChecked(myConfig->readConfigInt("RaiseBlindsAtMinutes"));
myChangeCompleteBlindsDialog->spinBox_raiseSmallBlindEveryHands->setValue(myConfig->readConfigInt("RaiseSmallBlindEveryHands"));
myChangeCompleteBlindsDialog->spinBox_raiseSmallBlindEveryMinutes->setValue(myConfig->readConfigInt("RaiseSmallBlindEveryMinutes"));
myChangeCompleteBlindsDialog->radioButton_alwaysDoubleBlinds->setChecked(myConfig->readConfigInt("AlwaysDoubleBlinds"));
myChangeCompleteBlindsDialog->radioButton_manualBlindsOrder->setChecked(myConfig->readConfigInt("ManualBlindsOrder"));
myChangeCompleteBlindsDialog->listWidget_blinds->clear();
myChangeCompleteBlindsDialog->spinBox_input->setMinimum(myChangeCompleteBlindsDialog->spinBox_firstSmallBlind->value()+1);
std::list<int> myBlindsList = myConfig->readConfigIntList("ManualBlindsList");
std::list<int>::iterator it1;
for(it1= myBlindsList.begin(); it1 != myBlindsList.end(); it1++) {
myChangeCompleteBlindsDialog->listWidget_blinds->addItem(QString::number(*it1,10));
}
myChangeCompleteBlindsDialog->sortBlindsList();
myChangeCompleteBlindsDialog->radioButton_afterThisAlwaysDoubleBlinds->setChecked(myConfig->readConfigInt("AfterMBAlwaysDoubleBlinds"));
myChangeCompleteBlindsDialog->radioButton_afterThisAlwaysRaiseAbout->setChecked(myConfig->readConfigInt("AfterMBAlwaysRaiseAbout"));
myChangeCompleteBlindsDialog->spinBox_afterThisAlwaysRaiseValue->setValue(myConfig->readConfigInt("AfterMBAlwaysRaiseValue"));
myChangeCompleteBlindsDialog->radioButton_afterThisStayAtLastBlind->setChecked(myConfig->readConfigInt("AfterMBStayAtLastBlind"));
QDialog::exec();
}
void newGameDialogImpl::callChangeBlindsDialog(bool show) {
if(show) {
myChangeCompleteBlindsDialog->exec();
if(myChangeCompleteBlindsDialog->result() == QDialog::Accepted ) {}
else {
radioButton_useSavedBlindsSettings->setChecked(TRUE);
}
}
}
@@ -25,7 +25,9 @@
#include <QtGui>
#include <QtCore>
class ConfigFile;
class changeCompleteBlindsDialogImpl;
class newGameDialogImpl: public QDialog, public Ui::newGameDialog {
Q_OBJECT
@@ -33,12 +35,16 @@ public:
newGameDialogImpl(QWidget *parent = 0, ConfigFile* = 0);
void exec();
changeCompleteBlindsDialogImpl* getChangeCompleteBlindsDialog() { return myChangeCompleteBlindsDialog; }
public slots:
void callChangeBlindsDialog(bool);
private:
ConfigFile *myConfig;
changeCompleteBlindsDialogImpl *myChangeCompleteBlindsDialog;
};
+20 -4
View File
@@ -505,7 +505,11 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item row="0" column="1" >
<widget class="QSpinBox" name="spinBox_raiseSmallBlindEveryHands" />
<widget class="QSpinBox" name="spinBox_raiseSmallBlindEveryHands" >
<property name="minimum" >
<number>1</number>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLabel" name="label_47" >
@@ -528,7 +532,11 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item row="1" column="1" >
<widget class="QSpinBox" name="spinBox_raiseSmallBlindEveryMinutes" />
<widget class="QSpinBox" name="spinBox_raiseSmallBlindEveryMinutes" >
<property name="minimum" >
<number>1</number>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="QLabel" name="label_50" >
@@ -773,7 +781,11 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item row="0" column="1" >
<widget class="QSpinBox" name="spinBox_netRaiseSmallBlindEveryHands" />
<widget class="QSpinBox" name="spinBox_netRaiseSmallBlindEveryHands" >
<property name="minimum" >
<number>1</number>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLabel" name="label_51" >
@@ -796,7 +808,11 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item row="1" column="1" >
<widget class="QSpinBox" name="spinBox_netRaiseSmallBlindEveryMinutes" />
<widget class="QSpinBox" name="spinBox_netRaiseSmallBlindEveryMinutes" >
<property name="minimum" >
<number>1</number>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="QLabel" name="label_52" >