next steps implementing cardschance
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
-2
@@ -348,11 +348,11 @@ unix : !mac {
|
|||||||
}
|
}
|
||||||
BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_IOSTREAMS
|
BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_IOSTREAMS
|
||||||
!count(BOOST_LIBS, 3){
|
!count(BOOST_LIBS, 3){
|
||||||
error( libboost (version >= 1.34.1) --> http://www.boost.org/")
|
error("libboost (version >= 1.34.1) --> http://www.boost.org/")
|
||||||
}
|
}
|
||||||
|
|
||||||
if($$system(sdl-config --version)){
|
if($$system(sdl-config --version)){
|
||||||
error( libSDL_mixer, libSDL --> http://www.libsdl.org/")
|
error("libSDL_mixer, libSDL --> http://www.libsdl.org/")
|
||||||
}
|
}
|
||||||
|
|
||||||
UNAME = $$system(uname -s)
|
UNAME = $$system(uname -s)
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly)
|
|||||||
myQtToolsInterface = CreateQtToolsWrapper();
|
myQtToolsInterface = CreateQtToolsWrapper();
|
||||||
|
|
||||||
// !!!! Revisionsnummer der Configdefaults !!!!!
|
// !!!! Revisionsnummer der Configdefaults !!!!!
|
||||||
configRev = 54;
|
configRev = 55;
|
||||||
|
|
||||||
//standard defaults
|
//standard defaults
|
||||||
logOnOffDefault = "1";
|
logOnOffDefault = "1";
|
||||||
@@ -140,6 +140,7 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly)
|
|||||||
configList.push_back(ConfigInfo("ShowFadeOutCardsAnimation", CONFIG_TYPE_INT, "1"));
|
configList.push_back(ConfigInfo("ShowFadeOutCardsAnimation", CONFIG_TYPE_INT, "1"));
|
||||||
configList.push_back(ConfigInfo("ShowFlipCardsAnimation", CONFIG_TYPE_INT, "1"));
|
configList.push_back(ConfigInfo("ShowFlipCardsAnimation", CONFIG_TYPE_INT, "1"));
|
||||||
configList.push_back(ConfigInfo("ShowBlindButtons", CONFIG_TYPE_INT, "1"));
|
configList.push_back(ConfigInfo("ShowBlindButtons", CONFIG_TYPE_INT, "1"));
|
||||||
|
configList.push_back(ConfigInfo("ShowCardsChanceMonitor", CONFIG_TYPE_INT, "1"));
|
||||||
configList.push_back(ConfigInfo("AntiPeekMode", CONFIG_TYPE_INT, "0"));
|
configList.push_back(ConfigInfo("AntiPeekMode", CONFIG_TYPE_INT, "0"));
|
||||||
configList.push_back(ConfigInfo("AlternateFKeysUserActionMode", CONFIG_TYPE_INT, "0"));
|
configList.push_back(ConfigInfo("AlternateFKeysUserActionMode", CONFIG_TYPE_INT, "0"));
|
||||||
configList.push_back(ConfigInfo("EnableBetInputFocusSwitch", CONFIG_TYPE_INT, "0"));
|
configList.push_back(ConfigInfo("EnableBetInputFocusSwitch", CONFIG_TYPE_INT, "0"));
|
||||||
|
|||||||
@@ -2571,7 +2571,7 @@
|
|||||||
<enum>Qt::NoFocus</enum>
|
<enum>Qt::NoFocus</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex" >
|
<property name="currentIndex" >
|
||||||
<number>2</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab_Log" >
|
<widget class="QWidget" name="tab_Log" >
|
||||||
<attribute name="title" >
|
<attribute name="title" >
|
||||||
|
|||||||
@@ -102,10 +102,11 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent)
|
|||||||
groupBox_LeftToolBox->hide();
|
groupBox_LeftToolBox->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
//Intro abspielen?
|
//CardsChanceMonitor show/hide
|
||||||
// if (myConfig->readConfigInt("ShowIntro")) {
|
if (!myConfig->readConfigInt("ShowCardsChanceMonitor")) {
|
||||||
// // label_logo->hide();
|
tabWidget_Right->removeTab(2);
|
||||||
// QTimer::singleShot(100, this, SLOT( paintStartSplash() )); }
|
tabWidget_Right->setCurrentIndex(0);
|
||||||
|
}
|
||||||
|
|
||||||
// userWidgetsArray init
|
// userWidgetsArray init
|
||||||
userWidgetsArray[0] = pushButton_BetRaise;
|
userWidgetsArray[0] = pushButton_BetRaise;
|
||||||
@@ -591,7 +592,6 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent)
|
|||||||
connect(this, SIGNAL(signalStartVoteOnKick(int, int)), this, SLOT(startVoteOnKick(int, int)));
|
connect(this, SIGNAL(signalStartVoteOnKick(int, int)), this, SLOT(startVoteOnKick(int, int)));
|
||||||
connect(this, SIGNAL(signalEndVoteOnKick()), this, SLOT(endVoteOnKick()));
|
connect(this, SIGNAL(signalEndVoteOnKick()), this, SLOT(endVoteOnKick()));
|
||||||
|
|
||||||
refreshCardsChance();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gameTableImpl::~gameTableImpl() {
|
gameTableImpl::~gameTableImpl() {
|
||||||
@@ -612,6 +612,17 @@ void gameTableImpl::applySettings(settingsDialogImpl* mySettingsDialog) {
|
|||||||
if (myConfig->readConfigInt("ShowRightToolBox")) { groupBox_RightToolBox->show(); }
|
if (myConfig->readConfigInt("ShowRightToolBox")) { groupBox_RightToolBox->show(); }
|
||||||
else { groupBox_RightToolBox->hide(); }
|
else { groupBox_RightToolBox->hide(); }
|
||||||
|
|
||||||
|
//cardschancemonitor show/hide
|
||||||
|
if (!myConfig->readConfigInt("ShowCardsChanceMonitor")) {
|
||||||
|
tabWidget_Right->removeTab(2);
|
||||||
|
tabWidget_Right->setCurrentIndex(0);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if(tabWidget_Right->widget(2) != tab_Chance)
|
||||||
|
tabWidget_Right->insertTab(2, tab_Chance, QString(tr("Chance")));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//Add avatar (if set)
|
//Add avatar (if set)
|
||||||
myStartWindow->getSession()->addOwnAvatar(myConfig->readConfigString("MyAvatar"));
|
myStartWindow->getSession()->addOwnAvatar(myConfig->readConfigString("MyAvatar"));
|
||||||
|
|
||||||
|
|||||||
@@ -212,7 +212,14 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="0" colspan="2" >
|
<item row="4" column="1" >
|
||||||
|
<widget class="QCheckBox" name="checkBox_cardsChanceMonitor" >
|
||||||
|
<property name="text" >
|
||||||
|
<string>Show cards chance monitor</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="4" column="0" >
|
||||||
<widget class="QCheckBox" name="checkBox_showBlindButtons" >
|
<widget class="QCheckBox" name="checkBox_showBlindButtons" >
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>Show buttons for small blind and big blind</string>
|
<string>Show buttons for small blind and big blind</string>
|
||||||
@@ -2764,7 +2771,6 @@ p, li { white-space: pre-wrap; }
|
|||||||
<tabstop>checkBox_showStatusbarMessages</tabstop>
|
<tabstop>checkBox_showStatusbarMessages</tabstop>
|
||||||
<tabstop>checkBox_showFadeOutCardsAnimation</tabstop>
|
<tabstop>checkBox_showFadeOutCardsAnimation</tabstop>
|
||||||
<tabstop>checkBox_showFlipCardsAnimation</tabstop>
|
<tabstop>checkBox_showFlipCardsAnimation</tabstop>
|
||||||
<tabstop>checkBox_showBlindButtons</tabstop>
|
|
||||||
<tabstop>checkBox_enableBetInputFocusSwitch</tabstop>
|
<tabstop>checkBox_enableBetInputFocusSwitch</tabstop>
|
||||||
<tabstop>radioButton_flipsideTux</tabstop>
|
<tabstop>radioButton_flipsideTux</tabstop>
|
||||||
<tabstop>radioButton_flipsideOwn</tabstop>
|
<tabstop>radioButton_flipsideOwn</tabstop>
|
||||||
|
|||||||
@@ -199,6 +199,7 @@ void settingsDialogImpl::exec() {
|
|||||||
checkBox_antiPeekMode->setChecked(myConfig->readConfigInt("AntiPeekMode"));
|
checkBox_antiPeekMode->setChecked(myConfig->readConfigInt("AntiPeekMode"));
|
||||||
checkBox_alternateFKeysUserActionMode->setChecked(myConfig->readConfigInt("AlternateFKeysUserActionMode"));
|
checkBox_alternateFKeysUserActionMode->setChecked(myConfig->readConfigInt("AlternateFKeysUserActionMode"));
|
||||||
checkBox_enableBetInputFocusSwitch->setChecked(myConfig->readConfigInt("EnableBetInputFocusSwitch"));
|
checkBox_enableBetInputFocusSwitch->setChecked(myConfig->readConfigInt("EnableBetInputFocusSwitch"));
|
||||||
|
checkBox_cardsChanceMonitor->setChecked(myConfig->readConfigInt("ShowCardsChanceMonitor"));
|
||||||
|
|
||||||
radioButton_flipsideTux->setChecked(myConfig->readConfigInt("FlipsideTux"));
|
radioButton_flipsideTux->setChecked(myConfig->readConfigInt("FlipsideTux"));
|
||||||
radioButton_flipsideOwn->setChecked(myConfig->readConfigInt("FlipsideOwn"));
|
radioButton_flipsideOwn->setChecked(myConfig->readConfigInt("FlipsideOwn"));
|
||||||
@@ -358,6 +359,7 @@ void settingsDialogImpl::isAccepted() {
|
|||||||
myConfig->writeConfigInt("ShowFadeOutCardsAnimation", checkBox_showFadeOutCardsAnimation->isChecked());
|
myConfig->writeConfigInt("ShowFadeOutCardsAnimation", checkBox_showFadeOutCardsAnimation->isChecked());
|
||||||
myConfig->writeConfigInt("ShowFlipCardsAnimation", checkBox_showFlipCardsAnimation->isChecked());
|
myConfig->writeConfigInt("ShowFlipCardsAnimation", checkBox_showFlipCardsAnimation->isChecked());
|
||||||
myConfig->writeConfigInt("ShowBlindButtons", checkBox_showBlindButtons->isChecked());
|
myConfig->writeConfigInt("ShowBlindButtons", checkBox_showBlindButtons->isChecked());
|
||||||
|
myConfig->writeConfigInt("ShowCardsChanceMonitor", checkBox_cardsChanceMonitor->isChecked());
|
||||||
myConfig->writeConfigInt("AntiPeekMode", checkBox_antiPeekMode->isChecked());
|
myConfig->writeConfigInt("AntiPeekMode", checkBox_antiPeekMode->isChecked());
|
||||||
myConfig->writeConfigInt("AlternateFKeysUserActionMode", checkBox_alternateFKeysUserActionMode->isChecked());
|
myConfig->writeConfigInt("AlternateFKeysUserActionMode", checkBox_alternateFKeysUserActionMode->isChecked());
|
||||||
myConfig->writeConfigInt("EnableBetInputFocusSwitch", checkBox_enableBetInputFocusSwitch->isChecked());
|
myConfig->writeConfigInt("EnableBetInputFocusSwitch", checkBox_enableBetInputFocusSwitch->isChecked());
|
||||||
|
|||||||
+572
-497
File diff suppressed because it is too large
Load Diff
+646
-296
File diff suppressed because it is too large
Load Diff
+668
-244
File diff suppressed because it is too large
Load Diff
+668
-243
File diff suppressed because it is too large
Load Diff
+668
-243
File diff suppressed because it is too large
Load Diff
+668
-243
File diff suppressed because it is too large
Load Diff
+647
-292
File diff suppressed because it is too large
Load Diff
+611
-373
File diff suppressed because it is too large
Load Diff
+668
-243
File diff suppressed because it is too large
Load Diff
+668
-243
File diff suppressed because it is too large
Load Diff
+612
-373
File diff suppressed because it is too large
Load Diff
+632
-277
File diff suppressed because it is too large
Load Diff
+668
-243
File diff suppressed because it is too large
Load Diff
+635
-280
File diff suppressed because it is too large
Load Diff
+668
-243
File diff suppressed because it is too large
Load Diff
+632
-277
File diff suppressed because it is too large
Load Diff
+635
-280
File diff suppressed because it is too large
Load Diff
+667
-243
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user