diff --git a/src/gui/qt/gamelobbydialog.ui b/src/gui/qt/gamelobbydialog.ui index 0e1645e7..29d76019 100644 --- a/src/gui/qt/gamelobbydialog.ui +++ b/src/gui/qt/gamelobbydialog.ui @@ -325,10 +325,7 @@ - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Hands to raise small blind:</span></p></body></html> + Hands to raise small blind: @@ -342,20 +339,14 @@ p, li { white-space: pre-wrap; } - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Maximum number of players:</span></p></body></html> + Maximum number of players: - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Small Blind:</span></p></body></html> + Small Blind: @@ -383,20 +374,14 @@ p, li { white-space: pre-wrap; } - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Start Cash:</span></p></body></html> + Start Cash: - <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Timeout for player action (sec):</span></p></body></html> + Timeout for player action (sec): diff --git a/src/gui/qt/mainwindow.ui b/src/gui/qt/mainwindow.ui index ea12bb36..b78cc222 100644 --- a/src/gui/qt/mainwindow.ui +++ b/src/gui/qt/mainwindow.ui @@ -316,142 +316,13 @@ - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - - + @@ -518,70 +389,6 @@ 16 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft @@ -595,70 +402,6 @@ 16 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignHCenter|Qt::AlignTop @@ -1382,115 +1125,13 @@ - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - - + @@ -1594,70 +1235,6 @@ 23 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop @@ -1671,73 +1248,6 @@ 20 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - - - - Qt::AlignBottom|Qt::AlignHCenter @@ -1810,43 +1320,6 @@ 0 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -1860,70 +1333,6 @@ 0 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - @@ -2025,70 +1434,6 @@ 23 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop @@ -2102,73 +1447,6 @@ 20 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - - - - Qt::AlignBottom|Qt::AlignHCenter @@ -2273,43 +1551,6 @@ 0 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -2323,70 +1564,6 @@ 0 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - @@ -2456,70 +1633,6 @@ 23 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop @@ -2533,73 +1646,6 @@ 20 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - - - - Qt::AlignBottom|Qt::AlignHCenter @@ -2672,43 +1718,6 @@ 0 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -2722,70 +1731,6 @@ 0 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - @@ -2887,70 +1832,6 @@ 23 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop @@ -2964,73 +1845,6 @@ 20 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - - - - Qt::AlignBottom|Qt::AlignHCenter @@ -3179,43 +1993,6 @@ 0 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -3229,70 +2006,6 @@ 0 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - @@ -3354,70 +2067,6 @@ 23 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop @@ -3431,73 +2080,6 @@ 20 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - - - - Qt::AlignBottom|Qt::AlignHCenter @@ -3580,111 +2162,12 @@ 0 - - - - - - - - 102 - 153 - 0 - - - - - - - - - 102 - 153 - 0 - - - - - - - - - 128 - 128 - 128 - - - - - - - + - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -3693,115 +2176,13 @@ - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - 102 - 153 - 0 - - - - - - - - - 102 - 153 - 0 - - - - - - - - - 128 - 128 - 128 - - - - - - - + @@ -3852,70 +2233,6 @@ - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - @@ -3946,182 +2263,16 @@ - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - 102 - 153 - 0 - - - - - - - - - 102 - 153 - 0 - - - - - - - - - 128 - 128 - 128 - - - - - - - + - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -4129,70 +2280,6 @@ - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter @@ -4213,70 +2300,6 @@ 22 - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 102 - 153 - 0 - - - - - - - 102 - 153 - 0 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter @@ -4446,43 +2469,6 @@ 0 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -4496,70 +2482,6 @@ 0 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - @@ -4661,70 +2583,6 @@ 23 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop @@ -4738,70 +2596,6 @@ 20 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 199 - 199 - 199 - - - - - - diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index dbfd6c41..4fa479a8 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -398,13 +398,13 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent) //Schriftart und Schriftgrößen für Widgets festlegen #ifdef _WIN32 - textBrowser_Log->setStyleSheet("QTextBrowser { "+ font1String +" font-size: 11px; color: white; background-color: #1D3B00; border:none; }"); + textBrowser_Log->setStyleSheet("QTextBrowser { "+ font1String +" font-size: 11px; color: #F0F0F0; background-color: #1D3B00; border:none; }"); #else - textBrowser_Log->setStyleSheet("QTextBrowser { "+ font1String +" font-size: 10px; color: white; background-color: #1D3B00; border:none; }"); + textBrowser_Log->setStyleSheet("QTextBrowser { "+ font1String +" font-size: 10px; color: #F0F0F0; background-color: #1D3B00; border:none; }"); // textBrowser_Log->verticalScrollBar()->setStyleSheet("background: yellow"); // textBrowser_Log->verticalScrollBar()->setAutoFillBackground ( TRUE ); - textBrowser_Chat->setStyleSheet("QTextBrowser { "+ font1String +" font-size: 10px; color: white; background-color: #1D3B00; border:none; }"); - lineEdit_ChatInput->setStyleSheet("QLineEdit { "+ font1String +" font-size: 10px; color: white; background-color: #1D3B00; border-top: 2px solid #286400; }"); + textBrowser_Chat->setStyleSheet("QTextBrowser { "+ font1String +" font-size: 10px; color: #F0F0F0; background-color: #1D3B00; border:none; }"); + lineEdit_ChatInput->setStyleSheet("QLineEdit { "+ font1String +" font-size: 10px; color: #F0F0F0; background-color: #1D3B00; border-top: 2px solid #286400; }"); #endif #ifdef __APPLE__ @@ -420,34 +420,34 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent) for (i=0; isetStyleSheet("QLabel { "+ font2String +" font-size: 10px }"); - cashLabelArray[i]->setStyleSheet("QLabel { "+ font2String +" font-size: 10px }"); + cashTopLabelArray[i]->setStyleSheet("QLabel { "+ font2String +" font-size: 10px; color: #F0F0F0; }"); + cashLabelArray[i]->setStyleSheet("QLabel { "+ font2String +" font-size: 10px; color: #F0F0F0; }"); } - spinBox_set->setStyleSheet("QSpinBox { "+ font2String +" font-size: 10px }"); + spinBox_set->setStyleSheet("QSpinBox { "+ font2String +" font-size: 10px; background-color: #1D3B00; color: #F0F0F0; }"); for (i=0; isetStyleSheet("QLabel { "+ font2String +" font-size: 12px }"); + setLabelArray[i]->setStyleSheet("QLabel { "+ font2String +" font-size: 12px; color: #F0F0F0; }"); } for (i=0; isetStyleSheet("QLabel { "+ font2String +" font-size: 13px }"); + playerNameLabelArray[i]->setStyleSheet("QLabel { "+ font2String +" font-size: 13px; color: #F0F0F0; }"); } - label_Sets->setStyleSheet("QLabel { "+ font2String +" font-size: 13px }"); - label_Total->setStyleSheet("QLabel { "+ font2String +" font-size: 13px }"); - textLabel_Sets->setStyleSheet("QLabel { "+ font2String +" font-size: 13px }"); - textLabel_Pot->setStyleSheet("QLabel { "+ font2String +" font-size: 13px }"); - label_handNumber->setStyleSheet("QLabel { "+ font2String +" font-size: 13px }"); - label_gameNumber->setStyleSheet("QLabel { "+ font2String +" font-size: 13px }"); - textLabel_handNumber->setStyleSheet("QLabel { "+ font2String +" font-size: 13px }"); - textLabel_gameNumber->setStyleSheet("QLabel { "+ font2String +" font-size: 13px }"); + label_Sets->setStyleSheet("QLabel { "+ font2String +" font-size: 13px; color: #669900; }"); + label_Total->setStyleSheet("QLabel { "+ font2String +" font-size: 13px; color: #669900; }"); + textLabel_Sets->setStyleSheet("QLabel { "+ font2String +" font-size: 13px; color: #669900; }"); + textLabel_Pot->setStyleSheet("QLabel { "+ font2String +" font-size: 13px; color: #669900; }"); + label_handNumber->setStyleSheet("QLabel { "+ font2String +" font-size: 13px; color: #669900; }"); + label_gameNumber->setStyleSheet("QLabel { "+ font2String +" font-size: 13px; color: #669900; }"); + textLabel_handNumber->setStyleSheet("QLabel { "+ font2String +" font-size: 13px; color: #669900; }"); + textLabel_gameNumber->setStyleSheet("QLabel { "+ font2String +" font-size: 13px; color: #669900; }"); - textLabel_handLabel->setStyleSheet("QLabel { "+ font2String +" font-size: 17px; font-weight: bold; }"); + textLabel_handLabel->setStyleSheet("QLabel { "+ font2String +" font-size: 17px; font-weight: bold; color: #669900; }"); - label_Pot->setStyleSheet("QLabel { "+ font2String +" font-size: 18px; font-weight: bold; }"); + label_Pot->setStyleSheet("QLabel { "+ font2String +" font-size: 18px; font-weight: bold; color: #669900; }"); //Widgets Grafiken setzen @@ -1739,10 +1739,11 @@ void mainWindowImpl::myCall(){ void mainWindowImpl::myBet(){ + spinBox_set->show(); pushButton_BetRaise->hide(); pushButton_CallCheckSet->setText("Set"); pushButton_FoldAllin->setText("All-In"); - spinBox_set->show(); + HandInterface *currentHand = mySession->getCurrentGame()->getCurrentHand(); @@ -1758,10 +1759,11 @@ void mainWindowImpl::myBet(){ void mainWindowImpl::myRaise(){ + spinBox_set->show(); pushButton_BetRaise->hide(); pushButton_CallCheckSet->setText("Set"); pushButton_FoldAllin->setText("All-In"); - spinBox_set->show(); + HandInterface *currentHand = mySession->getCurrentGame()->getCurrentHand();