diff --git a/src/gui/qt/gametable2.ui b/src/gui/qt/gametable2.ui new file mode 100755 index 00000000..2d01758e --- /dev/null +++ b/src/gui/qt/gametable2.ui @@ -0,0 +1,2083 @@ + + gameTable + + + + 0 + 0 + 1024 + 600 + + + + + 1024 + 600 + + + + + 1920 + 1280 + + + + false + + + PokerTH 0.6-beta - The Open-Source Texas Holdem Engine + + + + + + 0 + 350 + 1016 + 201 + + + + + 0 + + + + + 0 + + + 0 + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 260 + 0 + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 0 + 0 + + + + + + + + + 260 + 195 + + + + + 260 + 195 + + + + + 6 + + + 1 + + + + + Qt::NoFocus + + + 0 + + + + Hands + + + + 0 + + + 0 + + + + + Qt::AlignCenter + + + + + + + + Chat + + + + 0 + + + 0 + + + + + Qt::NoFocus + + + true + + + Qt::ScrollBarAlwaysOff + + + + + + + + + + + Kick + + + + 0 + + + 6 + + + 5 + + + + + 0 + + + + + 5 + + + + + Vote started by: + + + + + + + + 0 + 0 + + + + + + + + + + + + + 5 + + + + + Vote Timeout: + + + + + + + + 0 + 0 + + + + + + + + + + + + + + + + 0 + 0 + + + + + + + + + + + + + + 80 + 20 + + + + Yes + + + + + + + + 80 + 20 + + + + No + + + + + + + + + + + + + + + + Qt::Vertical + + + + 20 + 27 + + + + + + + + + + + + + + + + + Qt::Horizontal + + + QSizePolicy::MinimumExpanding + + + + 41 + 197 + + + + + + + + 0 + + + + + Qt::Vertical + + + + 321 + 20 + + + + + + + + true + + + + 0 + 0 + + + + + 384 + 195 + + + + + 384 + 195 + + + + + + + + 28 + + + 28 + + + 25 + + + 22 + + + 11 + + + 0 + + + + + 0 + + + + + 0 + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 5 + 20 + + + + + + + + + 40 + 40 + + + + + 40 + 40 + + + + true + + + Qt::AlignCenter + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 5 + 20 + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 20 + 28 + + + + + + + + + 50 + 34 + + + + + 50 + 34 + + + + QFrame::Raised + + + + 0 + + + 0 + + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + + + + + 50 + 50 + + + + + 50 + 50 + + + + true + + + + + + + + + + 16777215 + 20 + + + + Qt::AlignHCenter|Qt::AlignTop + + + + + + + 1 + + + + + 0 + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 13 + 20 + + + + + + + + 3 + + + + + 2 + + + + + + 0 + 21 + + + + + 16777215 + 21 + + + + + + + + + 40 + 21 + + + + + 40 + 21 + + + + Qt::NoFocus + + + + + + + + + + + + + + 102 + 153 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 40 + 100 + 0 + + + + + + + + + 102 + 153 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 40 + 100 + 0 + + + + + + + + + 102 + 153 + 0 + + + + + + + 40 + 100 + 0 + + + + + + + 40 + 100 + 0 + + + + + + + + Qt::NoFocus + + + 99999 + + + 10 + + + Qt::Horizontal + + + QSlider::NoTicks + + + 10 + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 13 + 20 + + + + + + + + + + 0 + + + + + + 0 + 0 + + + + + 140 + 35 + + + + + 140 + 35 + + + + Qt::NoFocus + + + + + + + + 0 + 0 + + + + + 140 + 35 + + + + + 140 + 35 + + + + Qt::NoFocus + + + + + + + + 0 + 0 + + + + + 140 + 35 + + + + + 140 + 35 + + + + Qt::NoFocus + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 140 + 0 + + + + + + + + + + + + + 118 + 111 + + + + + + 9 + 35 + 100 + 40 + + + + + 0 + 20 + + + + + + + Qt::AlignCenter + + + Qt::NoTextInteraction + + + + + + 0 + 0 + 80 + 111 + + + + true + + + + + + 39 + 0 + 80 + 111 + + + + true + + + + + + + + + 0 + 22 + + + + + 16777215 + 22 + + + + Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft + + + + + + + + + + + + Qt::Horizontal + + + QSizePolicy::MinimumExpanding + + + + 31 + 197 + + + + + + + + 0 + + + 0 + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 260 + 0 + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 0 + 0 + + + + + + + + + 260 + 195 + + + + + 260 + 195 + + + + + 1 + + + 2 + + + 6 + + + + + Qt::NoFocus + + + 0 + + + + Log + + + + 0 + + + 0 + + + + + Qt::NoFocus + + + true + + + Qt::ScrollBarAlwaysOff + + + + + + + + Away + + + + + + Qt::NoFocus + + + Manual Action (default) + + + true + + + + + + + Qt::NoFocus + + + Auto-Check / Auto-Fold + + + + + + + Qt::NoFocus + + + Auto-Check / Auto-Call-Any + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + Chance + + + + 2 + + + 0 + + + + + + + + + + + + + + + + 6 + + + 0 + + + + + + + + + + 240 + 240 + 240 + + + + + + + 240 + 240 + 240 + + + + + + + + + 240 + 240 + 240 + + + + + + + 240 + 240 + 240 + + + + + + + + + 128 + 128 + 128 + + + + + + + 199 + 199 + 199 + + + + + + + + Speed: + + + + + + + + 18 + 0 + + + + + + + + + 240 + 240 + 240 + + + + + + + 240 + 240 + 240 + + + + + + + + + 240 + 240 + 240 + + + + + + + 240 + 240 + 240 + + + + + + + + + 128 + 128 + 128 + + + + + + + 199 + 199 + 199 + + + + + + + + + + + + + + + + 0 + 0 + + + + + + + + + 102 + 153 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 40 + 100 + 0 + + + + + + + + + 102 + 153 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 40 + 100 + 0 + + + + + + + + + 102 + 153 + 0 + + + + + + + 40 + 100 + 0 + + + + + + + 40 + 100 + 0 + + + + + + + + Qt::NoFocus + + + 1 + + + 11 + + + Qt::Horizontal + + + + + + + true + + + + 40 + 20 + + + + Qt::NoFocus + + + + + + + + + + + + + + + + 330 + 180 + 350 + 146 + + + + + 0 + 0 + + + + + 350 + 146 + + + + + 350 + 146 + + + + + + 260 + 20 + 85 + 34 + + + + + 85 + 0 + + + + + 85 + 16777215 + + + + + 0 + + + 0 + + + + + + + + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + label_gameNumber + label_handNumberValue + label_gameNumberValue + label_handNumber + + + + + 130 + 0 + 121 + 57 + + + + + + 1 + 1 + 119 + 19 + + + + + + + Qt::AlignCenter + + + + + + 0 + 20 + 121 + 36 + + + + + 0 + + + 0 + + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + + + + + + 0 + 30 + 111 + 22 + + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + + 0 + 60 + 58 + 86 + + + + true + + + + + + 58 + 60 + 58 + 86 + + + + true + + + + + + 116 + 60 + 58 + 86 + + + + true + + + + + + 174 + 60 + 58 + 86 + + + + true + + + + + + 232 + 60 + 58 + 86 + + + + true + + + + + + 5 + 65 + 48 + 76 + + + + true + + + + + + 63 + 65 + 48 + 76 + + + + true + + + + + + 121 + 65 + 48 + 76 + + + + true + + + + + + 179 + 65 + 48 + 76 + + + + true + + + + + + 237 + 65 + 48 + 76 + + + + true + + + + + + + 10 + 230 + 190 + 110 + + + + + 190 + 110 + + + + + 190 + 110 + + + + + + + + + 8 + 8 + 50 + 50 + + + + true + + + + + + 66 + 10 + 118 + 12 + + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + + + + 80 + 86 + 118 + 18 + + + + Qt::AlignBottom|Qt::AlignHCenter + + + + + + 80 + 40 + 131 + 17 + + + + + 35 + 0 + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + 10 + 60 + 40 + 40 + + + + + + + true + + + + + + 85 + 20 + 48 + 76 + + + + true + + + + + + 131 + 25 + 48 + 76 + + + + true + + + + + + 20 + 60 + 111 + 40 + + + + + 0 + 20 + + + + + + + Qt::AlignCenter + + + + + + + + 0 + 0 + 1024 + 23 + + + + + View + + + + + + + + + + + + Settings + + + + + + + + + + Start Local Game ... + + + Ctrl+N + + + + + Quit + + + Ctrl+Q + + + + + About PokerTH ... + + + + + Settings ... + + + + + Create Network Game ... + + + Ctrl+O + + + + + Join Network Game ... + + + Ctrl+J + + + + + + :/gfx/view-fullscreen.png:/gfx/view-fullscreen.png + + + Fullscreen + + + Ctrl+F + + + + + Show/Hide Chat Window + + + Ctrl+T + + + + + Show/Hide Hands Window + + + Show/Hide Hands Window + + + Show/Hide Hands Window + + + Ctrl+H + + + + + Show/Hide Log Window + + + Ctrl+L + + + + + Internet Game ... + + + Ctrl+I + + + + + Show/Hide Away Window + + + Ctrl+A + + + + + + :/gfx/systemsettings.png:/gfx/systemsettings.png + + + Configure PokerTH ... + + + + + + :/gfx/application_exit.png:/gfx/application_exit.png + + + Close + + + Ctrl+X + + + + + Show/Hide Chance Window + + + Ctrl+C + + + + + + MySetLabel + QLabel +
mysetlabel.h
+
+ + MyLeftTabWidget + QTabWidget +
mylefttabwidget.h
+ 1 +
+ + MyRightTabWidget + QTabWidget +
myrighttabwidget.h
+ 1 +
+ + MyStatusLabel + QLabel +
mystatuslabel.h
+
+ + MyCardsPixmapLabel + QLabel +
mycardspixmaplabel.h
+
+ + MyAvatarLabel + QLabel +
myavatarlabel.h
+
+ + MyChanceLabel + QLabel +
mychancelabel.h
+
+
+ + + + + + horizontalSlider_speed + valueChanged(int) + label_speedValue + setNum(int) + + + 886 + 624 + + + 800 + 638 + + + + +
diff --git a/src/gui/qt/settingsdialog/settingsdialogimpl.cpp b/src/gui/qt/settingsdialog/settingsdialogimpl.cpp index 5652eb17..c1cc9226 100644 --- a/src/gui/qt/settingsdialog/settingsdialogimpl.cpp +++ b/src/gui/qt/settingsdialog/settingsdialogimpl.cpp @@ -177,10 +177,15 @@ void settingsDialogImpl::exec() { lineEdit_InternetServerPassword->setText(QString::fromUtf8(myConfig->readConfigString("InternetServerPassword").c_str())); checkBox_InternetServerUseIpv6->setChecked(myConfig->readConfigInt("InternetServerUseIpv6")); checkBox_InternetServerUseSctp->setChecked(myConfig->readConfigInt("InternetServerUseSctp")); - checkBox_useAvatarServer->setChecked(myConfig->readConfigInt("UseAvatarServer")); if(myConfig->readConfigInt("UseAvatarServer")) { lineEdit_avatarServerAddress->setText(QString::fromUtf8(myConfig->readConfigString("AvatarServerAddress").c_str())); + checkBox_useAvatarServer->setCheckState(Qt::Checked); + lineEdit_avatarServerAddress->setEnabled(TRUE); } + else { + checkBox_useAvatarServer->setCheckState(Qt::Unchecked); + lineEdit_avatarServerAddress->setEnabled(FALSE); + } checkBox_UseInternetGamePassword->setChecked(myConfig->readConfigInt("UseInternetGamePassword")); if(myConfig->readConfigInt("UseInternetGamePassword")) { lineEdit_InternetGamePassword->setText(QString::fromUtf8(myConfig->readConfigString("InternetGamePassword").c_str()));