Show the winning hand after the round
This commit is contained in:
committed by
Sergey Shpikin
parent
7c538fc436
commit
382b533488
@@ -2222,13 +2222,13 @@ p, li { white-space: pre-wrap; }
|
|||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>600</width>
|
<width>600</width>
|
||||||
<height>94</height>
|
<height>114</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>600</width>
|
<width>600</width>
|
||||||
<height>94</height>
|
<height>114</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
@@ -2631,6 +2631,13 @@ p, li { white-space: pre-wrap; }
|
|||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="1" column="0" colspan="5">
|
||||||
|
<widget class="QLabel" name="label_WinningCombination">
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
@@ -2530,6 +2530,7 @@ void gameTableImpl::postRiverRunAnimation2()
|
|||||||
|
|
||||||
if(nonfoldPlayersCounter!=1) {
|
if(nonfoldPlayersCounter!=1) {
|
||||||
|
|
||||||
|
label_WinningCombination->setText(CardsValue::determineHandName(currentGame->getCurrentHand()->getCurrentBeRo()->getHighestCardsValue(), activePlayerList).c_str());
|
||||||
if(!flipHolecardsAllInAlreadyDone) {
|
if(!flipHolecardsAllInAlreadyDone) {
|
||||||
|
|
||||||
for (it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); ++it_c) {
|
for (it_c=activePlayerList->begin(); it_c!=activePlayerList->end(); ++it_c) {
|
||||||
@@ -3017,6 +3018,8 @@ void gameTableImpl::nextRoundCleanGui()
|
|||||||
resetMyButtonsCheckStateMemory();
|
resetMyButtonsCheckStateMemory();
|
||||||
clearMyButtons();
|
clearMyButtons();
|
||||||
pushButton_showMyCards->hide();
|
pushButton_showMyCards->hide();
|
||||||
|
label_WinningCombination->clear();
|
||||||
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
void gameTableImpl::stopTimer()
|
void gameTableImpl::stopTimer()
|
||||||
@@ -4117,6 +4120,7 @@ void gameTableImpl::refreshGameTableStyle()
|
|||||||
myGameTableStyle->setBigFontBoardStyle(textLabel_handLabel);
|
myGameTableStyle->setBigFontBoardStyle(textLabel_handLabel);
|
||||||
myGameTableStyle->setBigFontBoardStyle(label_Pot);
|
myGameTableStyle->setBigFontBoardStyle(label_Pot);
|
||||||
#endif
|
#endif
|
||||||
|
myGameTableStyle->setBigFontBoardStyle(label_WinningCombination);
|
||||||
myGameTableStyle->setCardHolderStyle(label_CardHolder0,0);
|
myGameTableStyle->setCardHolderStyle(label_CardHolder0,0);
|
||||||
myGameTableStyle->setCardHolderStyle(label_CardHolder1,0);
|
myGameTableStyle->setCardHolderStyle(label_CardHolder1,0);
|
||||||
myGameTableStyle->setCardHolderStyle(label_CardHolder2,0);
|
myGameTableStyle->setCardHolderStyle(label_CardHolder2,0);
|
||||||
|
|||||||
@@ -2745,13 +2745,13 @@ p, li { white-space: pre-wrap; }
|
|||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>390</width>
|
<width>390</width>
|
||||||
<height>82</height>
|
<height>102</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>390</width>
|
<width>390</width>
|
||||||
<height>82</height>
|
<height>102</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
@@ -3039,6 +3039,13 @@ p, li { white-space: pre-wrap; }
|
|||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="1" column="0">
|
||||||
|
<widget class="QLabel" name="label_WinningCombination">
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
Reference in New Issue
Block a user