This commit is contained in:
+10
-1
@@ -2976,7 +2976,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1000</width>
|
<width>1000</width>
|
||||||
<height>28</height>
|
<height>22</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuView" >
|
<widget class="QMenu" name="menuView" >
|
||||||
@@ -2988,6 +2988,7 @@
|
|||||||
<addaction name="actionShowHideHelp" />
|
<addaction name="actionShowHideHelp" />
|
||||||
<addaction name="actionShowHideLog" />
|
<addaction name="actionShowHideLog" />
|
||||||
<addaction name="actionShowHideAway" />
|
<addaction name="actionShowHideAway" />
|
||||||
|
<addaction name="actionShowHideChance" />
|
||||||
<addaction name="actionClose" />
|
<addaction name="actionClose" />
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menuSettings" >
|
<widget class="QMenu" name="menuSettings" >
|
||||||
@@ -3109,6 +3110,14 @@
|
|||||||
<string>Ctrl+X</string>
|
<string>Ctrl+X</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionShowHideChance" >
|
||||||
|
<property name="text" >
|
||||||
|
<string>Show/Hide Chance Window</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcut" >
|
||||||
|
<string>Ctrl+C</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
<customwidget>
|
<customwidget>
|
||||||
|
|||||||
@@ -527,7 +527,7 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent)
|
|||||||
connect( actionShowHideHelp, SIGNAL( triggered() ), this, SLOT( switchHelpWindow() ) );
|
connect( actionShowHideHelp, SIGNAL( triggered() ), this, SLOT( switchHelpWindow() ) );
|
||||||
connect( actionShowHideLog, SIGNAL( triggered() ), this, SLOT( switchLogWindow() ) );
|
connect( actionShowHideLog, SIGNAL( triggered() ), this, SLOT( switchLogWindow() ) );
|
||||||
connect( actionShowHideAway, SIGNAL( triggered() ), this, SLOT( switchAwayWindow() ) );
|
connect( actionShowHideAway, SIGNAL( triggered() ), this, SLOT( switchAwayWindow() ) );
|
||||||
|
connect( actionShowHideChance, SIGNAL( triggered() ), this, SLOT( switchChanceWindow() ) );
|
||||||
|
|
||||||
connect( pushButton_BetRaise, SIGNAL( clicked(bool) ), this, SLOT( pushButtonBetRaiseClicked(bool) ) );
|
connect( pushButton_BetRaise, SIGNAL( clicked(bool) ), this, SLOT( pushButtonBetRaiseClicked(bool) ) );
|
||||||
connect( pushButton_Fold, SIGNAL( clicked(bool) ), this, SLOT( pushButtonFoldClicked(bool) ) );
|
connect( pushButton_Fold, SIGNAL( clicked(bool) ), this, SLOT( pushButtonFoldClicked(bool) ) );
|
||||||
@@ -2783,6 +2783,21 @@ void gameTableImpl::switchAwayWindow() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void gameTableImpl::switchChanceWindow() {
|
||||||
|
|
||||||
|
int tab = 2;
|
||||||
|
if (groupBox_RightToolBox->isHidden()) {
|
||||||
|
tabWidget_Right->setCurrentIndex(tab);
|
||||||
|
groupBox_RightToolBox->show();
|
||||||
|
} else {
|
||||||
|
if (tabWidget_Right->currentIndex() == tab) {
|
||||||
|
groupBox_RightToolBox->hide();
|
||||||
|
} else {
|
||||||
|
tabWidget_Right->setCurrentIndex(tab);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void gameTableImpl::switchFullscreen() {
|
void gameTableImpl::switchFullscreen() {
|
||||||
|
|
||||||
if (this->isFullScreen()) {
|
if (this->isFullScreen()) {
|
||||||
|
|||||||
@@ -256,6 +256,7 @@ public slots:
|
|||||||
void switchHelpWindow();
|
void switchHelpWindow();
|
||||||
void switchLogWindow();
|
void switchLogWindow();
|
||||||
void switchAwayWindow();
|
void switchAwayWindow();
|
||||||
|
void switchChanceWindow();
|
||||||
void switchFullscreen();
|
void switchFullscreen();
|
||||||
|
|
||||||
void sendChatMessage();
|
void sendChatMessage();
|
||||||
|
|||||||
Reference in New Issue
Block a user