diff --git a/src/gui/qt/mainwindow.ui b/src/gui/qt/mainwindow.ui index ccfb3049..def583db 100644 --- a/src/gui/qt/mainwindow.ui +++ b/src/gui/qt/mainwindow.ui @@ -10,9 +10,7 @@ - - 0 - 0 + 0 0 @@ -29,484 +27,27 @@ 1200 - - - - - - - 240 - 240 - 240 - - - - - - - 20 - 83 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 255 - 255 - 255 - - - - - - - 85 - 85 - 85 - - - - - - - 199 - 199 - 199 - - - - - - - 240 - 240 - 240 - - - - - - - 255 - 255 - 255 - - - - - - - 111 - 160 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - 111 - 160 - 0 - - - - - - - 103 - 141 - 178 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 238 - - - - - - - 82 - 24 - 139 - - - - - - - 232 - 232 - 232 - - - - - - - - - 240 - 240 - 240 - - - - - - - 20 - 83 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 255 - 255 - 255 - - - - - - - 85 - 85 - 85 - - - - - - - 199 - 199 - 199 - - - - - - - 240 - 240 - 240 - - - - - - - 255 - 255 - 255 - - - - - - - 111 - 160 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - 111 - 160 - 0 - - - - - - - 103 - 141 - 178 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 238 - - - - - - - 82 - 24 - 139 - - - - - - - 232 - 232 - 232 - - - - - - - - - 128 - 128 - 128 - - - - - - - 20 - 83 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 255 - 255 - 255 - - - - - - - 85 - 85 - 85 - - - - - - - 199 - 199 - 199 - - - - - - - 199 - 199 - 199 - - - - - - - 255 - 255 - 255 - - - - - - - 128 - 128 - 128 - - - - - - - 20 - 83 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - 111 - 160 - 0 - - - - - - - 86 - 117 - 148 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 238 - - - - - - - 82 - 24 - 139 - - - - - - - 232 - 232 - 232 - - - - - - PokerTH 0.5 - The Open-Source Texas Holdem Engine - + 9 - + + 9 + + + 9 + + + 9 + + + 6 + + 6 @@ -524,18 +65,36 @@ - + 0 - + + 0 + + + 0 + + + 0 + + 0 - + 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -585,240 +144,26 @@ - + 9 - + + 9 + + + 9 + + + 9 + + + 5 + + 5 - - - - - - - 240 - 240 - 240 - - - - - - - 20 - 83 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 240 - 240 - 240 - - - - - - - 111 - 160 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - 111 - 160 - 0 - - - - - - - - - 240 - 240 - 240 - - - - - - - 20 - 83 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 240 - 240 - 240 - - - - - - - 111 - 160 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - 111 - 160 - 0 - - - - - - - - - 128 - 128 - 128 - - - - - - - 20 - 83 - 0 - - - - - - - 111 - 139 - 100 - - - - - - - 111 - 139 - 100 - - - - - - - 111 - 139 - 100 - - - - - - - 20 - 83 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - 111 - 139 - 100 - - - - - - QTabWidget::Rounded @@ -830,10 +175,22 @@ Hands - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -850,10 +207,22 @@ Chat - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -1245,10 +614,22 @@ QFrame::Raised - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -1631,7 +1012,7 @@ Qt::AlignCenter - Qt::NoTextInteraction + Qt::NoTextInteraction @@ -1805,10 +1186,19 @@ - + 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -1858,132 +1248,26 @@ - + 9 - + + 9 + + + 9 + + + 9 + + + 6 + + 6 - - - - - - - 240 - 240 - 240 - - - - - - - 20 - 83 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - - - 240 - 240 - 240 - - - - - - - 20 - 83 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - - - 128 - 128 - 128 - - - - - - - 20 - 83 - 0 - - - - - - - 20 - 83 - 0 - - - - - - - 20 - 83 - 0 - - - - - - QTabWidget::Rounded @@ -1995,240 +1279,26 @@ Log - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 - - - - - - - 240 - 240 - 240 - - - - - - - 40 - 82 - 0 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - 29 - 59 - 0 - - - - - - - 29 - 59 - 0 - - - - - - - 240 - 240 - 240 - - - - - - - - - 240 - 240 - 240 - - - - - - - 40 - 82 - 0 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - 240 - 240 - 240 - - - - - - - 29 - 59 - 0 - - - - - - - 29 - 59 - 0 - - - - - - - 240 - 240 - 240 - - - - - - - - - 128 - 128 - 128 - - - - - - - 40 - 82 - 0 - - - - - - - 240 - 240 - 240 - - - - - - - 199 - 199 - 199 - - - - - - - 240 - 240 - 240 - - - - - - - 29 - 59 - 0 - - - - - - - 29 - 59 - 0 - - - - - - - 240 - 240 - 240 - - - - - - Qt::NoFocus @@ -2243,12 +1313,21 @@ - - 0 - 6 + + 0 + + + 0 + + + 0 + + + 0 + @@ -2400,9 +1479,7 @@ - - 5 - 7 + 0 0 @@ -2744,10 +1821,19 @@ - + 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -2796,10 +1882,22 @@ QFrame::Raised - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -2929,10 +2027,22 @@ QFrame::Raised - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -3194,10 +2304,22 @@ - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -3336,10 +2458,22 @@ - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -3633,10 +2767,22 @@ - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -3775,10 +2921,22 @@ - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -4008,10 +3166,22 @@ - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -4150,10 +3320,22 @@ - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -4392,20 +3574,38 @@ - + 0 - + + 0 + + + 0 + + + 0 + + 0 - - 0 - 6 + + 0 + + + 0 + + + 0 + + + 0 + @@ -4433,10 +3633,22 @@ - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -4461,10 +3673,22 @@ - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -4818,9 +4042,7 @@ - - 0 - 0 + 0 0 @@ -4859,10 +4081,22 @@ - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -5101,18 +4335,39 @@ - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 - + 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -5191,10 +4446,22 @@ - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -5631,12 +4898,21 @@ - - 0 - 6 + + 0 + + + 0 + + + 0 + + + 0 + @@ -5664,10 +4940,22 @@ - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -5806,10 +5094,22 @@ - + 0 - + + 0 + + + 0 + + + 0 + + + 0 + + 0 @@ -6189,11 +5489,13 @@ MyLeftTabWidget QTabWidget
mylefttabwidget.h
+ 1 MyRightTabWidget QTabWidget
myrighttabwidget.h
+ 1
MyStatusLabel diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index 0f3bc97c..b7d3aed1 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -419,63 +419,66 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent) //Schriftart und Schriftgrößen für Widgets festlegen #ifdef _WIN32 tmpFont1.setPixelSize(11); - textBrowser_Log->setFont(tmpFont1); + textBrowser_Log->setStyleSheet("QTextBrowser { font-family: \"Nimbus Sans L\"; font-size: 11px; font-color: white; background-color: #285200;}"); #else tmpFont1.setPixelSize(10); - textBrowser_Log->setFont(tmpFont1); - textBrowser_Chat->setFont(tmpFont1); - lineEdit_ChatInput->setFont(tmpFont1); + textBrowser_Log->setStyleSheet("QTextBrowser { font-family: \"Nimbus Sans L\"; font-size: 10px; font-color: white; background-color: #285200; }"); + textBrowser_Chat->setStyleSheet("QTextBrowser { font-family: \"Nimbus Sans L\"; font-size: 10px; font-color: white; background-color: #285200; }"); + lineEdit_ChatInput->setStyleSheet("QLineEdit { font-family: \"Nimbus Sans L\"; font-size: 10px; font-color: white; background-color: #285200; }"); #endif + +#ifdef __APPLE__ + tmpFont1.setPixelSize(11); + tabWidget_Right->setStyleSheet("QTabWidget { font-family: \"Nimbus Sans L\"; font-size: 11px; font-color: white; background-color: #285200; }"); + tabWidget_Left->setStyleSheet("QTabWidget { font-family: \"Nimbus Sans L\"; font-size: 11px; font-color: white; background-color: #285200; }"); +#else + tmpFont1.setPixelSize(10); + tabWidget_Right->setStyleSheet("QTabWidget { font-family: \"Nimbus Sans L\"; font-size: 10px; font-color: white; background-color: #285200; }"); + tabWidget_Left->setStyleSheet("QTabWidget { font-family: \"Nimbus Sans L\"; font-size: 10px; font-color: white; background-color: #285200; }"); +#endif + + QFont tmpFont2; tmpFont2.setFamily("Bitstream Vera Sans"); tmpFont2.setPixelSize(10); for (i=0; isetFont(tmpFont2); - cashLabelArray[i]->setFont(tmpFont2); + cashTopLabelArray[i]->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 10px }"); + cashLabelArray[i]->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 10px }"); } spinBox_set->setFont(tmpFont2); -#ifdef __APPLE__ - tmpFont1.setPixelSize(11); - tabWidget_Right->setFont(tmpFont1); - tabWidget_Left->setFont(tmpFont1); -#else - tmpFont1.setPixelSize(10); - tabWidget_Right->setFont(tmpFont1); - tabWidget_Left->setFont(tmpFont1); -#endif tmpFont2.setPixelSize(12); for (i=0; isetFont(tmpFont2); + setLabelArray[i]->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 12px }"); } tmpFont2.setPixelSize(13); for (i=0; isetFont(tmpFont2); + playerNameLabelArray[i]->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 13px }"); } - label_Sets->setFont(tmpFont2); - label_Total->setFont(tmpFont2); - textLabel_Sets->setFont(tmpFont2); - textLabel_Pot->setFont(tmpFont2); - label_handNumber->setFont(tmpFont2); - label_gameNumber->setFont(tmpFont2); - textLabel_handNumber->setFont(tmpFont2); - textLabel_gameNumber->setFont(tmpFont2); + label_Sets->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 13px }"); + label_Total->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 13px }"); + textLabel_Sets->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 13px }"); + textLabel_Pot->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 13px }"); + label_handNumber->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 13px }"); + label_gameNumber->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 13px }"); + textLabel_handNumber->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 13px }"); + textLabel_gameNumber->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 13px }"); // tmpFont2.setPixelSize(15); tmpFont2.setPixelSize(17); tmpFont2.setBold(TRUE); - textLabel_handLabel->setFont(tmpFont2); + textLabel_handLabel->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 17px }"); tmpFont2.setPixelSize(18); - label_Pot->setFont(tmpFont2); + label_Pot->setStyleSheet("QLabel { font-family: \"Bitstream Vera Sans\"; font-size: 18px }"); //Widgets Grafiken setzen