add delay between hands info to game description #117
This commit is contained in:
@@ -378,7 +378,7 @@
|
|||||||
<item row="6" column="0">
|
<item row="6" column="0">
|
||||||
<widget class="QLabel" name="label_gameDesc7">
|
<widget class="QLabel" name="label_gameDesc7">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Timeout for player action (sec):</string>
|
<string>Timing:</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
|
<set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
|
||||||
@@ -389,7 +389,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="6" column="1">
|
<item row="6" column="1">
|
||||||
<widget class="QLabel" name="label_TimeoutForPlayerAction">
|
<widget class="QLabel" name="label_GameTiming">
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">QLabel { color:rgb(0, 0, 255); }</string>
|
<string notr="true">QLabel { color:rgb(0, 0, 255); }</string>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
@@ -317,7 +317,7 @@ void gameLobbyDialogImpl::createGame()
|
|||||||
|
|
||||||
updateDialogBlinds(gameData);
|
updateDialogBlinds(gameData);
|
||||||
|
|
||||||
label_TimeoutForPlayerAction->setText(QString::number(gameData.playerActionTimeoutSec));
|
label_GameTiming->setText(QString::number(gameData.playerActionTimeoutSec));
|
||||||
|
|
||||||
mySession->clientCreateGame(gameData, currentGameName.toUtf8().constData(), myCreateInternetGameDialog->lineEdit_Password->text().toUtf8().constData());
|
mySession->clientCreateGame(gameData, currentGameName.toUtf8().constData(), myCreateInternetGameDialog->lineEdit_Password->text().toUtf8().constData());
|
||||||
|
|
||||||
@@ -471,7 +471,7 @@ void gameLobbyDialogImpl::gameSelected(const QModelIndex &index)
|
|||||||
// label_MaximumNumberOfPlayers->setText(QString::number(info.data.maxNumberOfPlayers));s
|
// label_MaximumNumberOfPlayers->setText(QString::number(info.data.maxNumberOfPlayers));s
|
||||||
updateDialogBlinds(info.data);
|
updateDialogBlinds(info.data);
|
||||||
|
|
||||||
label_TimeoutForPlayerAction->setText(QString::number(info.data.playerActionTimeoutSec));
|
label_GameTiming->setText(QString::number(info.data.playerActionTimeoutSec)+tr(" sec (action)")+"\n"+QString::number(info.data.delayBetweenHandsSec)+tr(" sec (hand delay)"));
|
||||||
|
|
||||||
treeWidget_connectedPlayers->clear();
|
treeWidget_connectedPlayers->clear();
|
||||||
PlayerIdList::const_iterator i = info.players.begin();
|
PlayerIdList::const_iterator i = info.players.begin();
|
||||||
@@ -760,7 +760,7 @@ void gameLobbyDialogImpl::clearDialog()
|
|||||||
label_blindsRaiseIntervall->setText("");
|
label_blindsRaiseIntervall->setText("");
|
||||||
label_blindsRaiseMode->setText("");
|
label_blindsRaiseMode->setText("");
|
||||||
label_blindsList->setText("");
|
label_blindsList->setText("");
|
||||||
label_TimeoutForPlayerAction->setText("");
|
label_GameTiming->setText("");
|
||||||
|
|
||||||
myGameListModel->clear();
|
myGameListModel->clear();
|
||||||
myGameListSelectionModel->clear();
|
myGameListSelectionModel->clear();
|
||||||
@@ -1135,7 +1135,7 @@ void gameLobbyDialogImpl::joinedGameDialogUpdate()
|
|||||||
label_SmallBlind->setText(QString("%L1").arg(info.data.firstSmallBlind));
|
label_SmallBlind->setText(QString("%L1").arg(info.data.firstSmallBlind));
|
||||||
label_StartCash->setText(QString("%L1").arg(info.data.startMoney));
|
label_StartCash->setText(QString("%L1").arg(info.data.startMoney));
|
||||||
updateDialogBlinds(info.data);
|
updateDialogBlinds(info.data);
|
||||||
label_TimeoutForPlayerAction->setText(QString::number(info.data.playerActionTimeoutSec));
|
label_GameTiming->setText(QString::number(info.data.playerActionTimeoutSec));
|
||||||
|
|
||||||
QTreeWidgetItem *header = treeWidget_connectedPlayers->headerItem();
|
QTreeWidgetItem *header = treeWidget_connectedPlayers->headerItem();
|
||||||
header->setText(0, tr("Connected players - Max. %1").arg(info.data.maxNumberOfPlayers));
|
header->setText(0, tr("Connected players - Max. %1").arg(info.data.maxNumberOfPlayers));
|
||||||
@@ -1164,7 +1164,7 @@ void gameLobbyDialogImpl::leftGameDialogUpdate()
|
|||||||
label_blindsRaiseIntervall->setText("");
|
label_blindsRaiseIntervall->setText("");
|
||||||
label_blindsRaiseMode->setText("");
|
label_blindsRaiseMode->setText("");
|
||||||
label_blindsList->setText("");
|
label_blindsList->setText("");
|
||||||
label_TimeoutForPlayerAction->setText("");
|
label_GameTiming->setText("");
|
||||||
|
|
||||||
treeWidget_connectedPlayers->clear();
|
treeWidget_connectedPlayers->clear();
|
||||||
pushButton_StartGame->hide();
|
pushButton_StartGame->hide();
|
||||||
|
|||||||
Reference in New Issue
Block a user