diff --git a/data/gfx/gui/table/default_800x480/cardholder_flop.png b/data/gfx/gui/table/default_800x480/cardholder_flop.png old mode 100755 new mode 100644 index 818e1b18..42f72135 Binary files a/data/gfx/gui/table/default_800x480/cardholder_flop.png and b/data/gfx/gui/table/default_800x480/cardholder_flop.png differ diff --git a/data/gfx/gui/table/default_800x480/cardholder_river.png b/data/gfx/gui/table/default_800x480/cardholder_river.png old mode 100755 new mode 100644 index 35e16fdc..cfca4e49 Binary files a/data/gfx/gui/table/default_800x480/cardholder_river.png and b/data/gfx/gui/table/default_800x480/cardholder_river.png differ diff --git a/data/gfx/gui/table/default_800x480/cardholder_turn.png b/data/gfx/gui/table/default_800x480/cardholder_turn.png old mode 100755 new mode 100644 index b6ff0d50..5728208a Binary files a/data/gfx/gui/table/default_800x480/cardholder_turn.png and b/data/gfx/gui/table/default_800x480/cardholder_turn.png differ diff --git a/pokerth_game.pro b/pokerth_game.pro index c1bcb3df..5edf655e 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -616,5 +616,6 @@ android{ INCLUDEPATH += src/third_party/sqlite3 } - - +maemo{ + DEFINES += MAEMO +} diff --git a/src/gui/qt/gametable/gametableimpl.cpp b/src/gui/qt/gametable/gametableimpl.cpp index b175ef1a..749b7d23 100755 --- a/src/gui/qt/gametable/gametableimpl.cpp +++ b/src/gui/qt/gametable/gametableimpl.cpp @@ -127,6 +127,8 @@ gameTableImpl::gameTableImpl(ConfigFile *c, QMainWindow *parent) tabWidget_Right->removeTab(2); tabWidget_Right->setCurrentIndex(0); } + + textLabel_handLabel->hide(); #endif // userWidgetsArray init @@ -856,15 +858,15 @@ void gameTableImpl::initGui(int speed) #ifndef GUI_800x480 label_Pot->setText(PotString); #endif - label_Total->setText(TotalString+":"); - label_Sets->setText(BetsString+":"); + label_Sets->setText(BetsString+":"); label_handNumber->setText(HandString+":"); label_gameNumber->setText(GameString+":"); - #ifdef GUI_800x480 + label_Total->setText(":"+TotalString); tabs.groupBox_RightToolBox->setDisabled(FALSE); tabs.groupBox_LeftToolBox->setDisabled(FALSE); #else + label_Total->setText(TotalString+":"); groupBox_RightToolBox->setDisabled(FALSE); groupBox_LeftToolBox->setDisabled(FALSE); #endif @@ -4058,9 +4060,9 @@ void gameTableImpl::refreshGameTableStyle() myGameTableStyle->setPlayerNameLabelStyle(playerNameLabelArray[i]); } - myGameTableStyle->setSmallFontBoardStyle(label_Sets); - myGameTableStyle->setSmallFontBoardStyle(label_Total); #ifdef GUI_800x480 + myGameTableStyle->setBigFontBoardStyle(label_Sets); + myGameTableStyle->setBigFontBoardStyle(label_Total); myGameTableStyle->setBigFontBoardStyle(textLabel_Sets); myGameTableStyle->setBigFontBoardStyle(textLabel_Pot); myGameTableStyle->setBigFontBoardStyle(label_handNumber); @@ -4069,6 +4071,8 @@ void gameTableImpl::refreshGameTableStyle() myGameTableStyle->setBigFontBoardStyle(label_gameNumberValue); myGameTableStyle->setBigFontBoardStyle(textLabel_handLabel); #else + myGameTableStyle->setSmallFontBoardStyle(label_Sets); + myGameTableStyle->setSmallFontBoardStyle(label_Total); myGameTableStyle->setSmallFontBoardStyle(textLabel_Sets); myGameTableStyle->setSmallFontBoardStyle(textLabel_Pot); myGameTableStyle->setSmallFontBoardStyle(label_handNumber); diff --git a/src/gui/qt/gui_800x480/gametable_800x480.ui b/src/gui/qt/gui_800x480/gametable_800x480.ui index 8002a5fa..5e3e6a66 100644 --- a/src/gui/qt/gui_800x480/gametable_800x480.ui +++ b/src/gui/qt/gui_800x480/gametable_800x480.ui @@ -56,21 +56,20 @@ 0 - - - - Qt::Vertical - - - - 20 - 40 - - - - + + 5 + + + 5 + + + 5 + + + 5 + @@ -79,12 +78,6 @@ 19 - - - 60 - 19 - - QObject {font: bold 20px} @@ -101,12 +94,6 @@ 19 - - - 60 - 19 - - QObject {font: bold 20px} @@ -178,8 +165,8 @@ - 12 - 6 + 11 + 8 136 15 @@ -206,22 +193,22 @@ - 56 - 104 - 90 - 13 + 57 + 123 + 100 + 15 - 90 - 13 + 100 + 15 - 90 - 13 + 100 + 15 @@ -231,22 +218,22 @@ - 50 - 20 + 54 + 22 90 - 13 + 15 90 - 13 + 15 90 - 13 + 15 @@ -256,7 +243,7 @@ - 21 + 23 86 28 28 @@ -284,8 +271,8 @@ - 68 - 30 + 71 + 37 48 76 @@ -309,8 +296,8 @@ - 90 - 30 + 95 + 37 48 76 @@ -334,8 +321,8 @@ - 52 - 46 + 57 + 68 100 40 @@ -362,7 +349,7 @@ - 12 + 11 77 50 7 @@ -527,7 +514,7 @@ p, li { white-space: pre-wrap; } 11 - 116 + 115 136 15 @@ -554,21 +541,21 @@ p, li { white-space: pre-wrap; } - 0 + 57 0 - 155 + 100 15 - 155 + 100 15 - 155 + 100 15 @@ -579,7 +566,7 @@ p, li { white-space: pre-wrap; } - 56 + 54 101 90 15 @@ -633,7 +620,7 @@ p, li { white-space: pre-wrap; } 71 - 24 + 25 48 76 @@ -710,7 +697,7 @@ p, li { white-space: pre-wrap; } - 12 + 11 55 50 7 @@ -881,8 +868,8 @@ p, li { white-space: pre-wrap; } - 12 - 6 + 11 + 8 136 15 @@ -912,22 +899,22 @@ p, li { white-space: pre-wrap; } - 56 - 104 - 90 - 13 + 57 + 123 + 100 + 15 - 90 - 13 + 100 + 15 - 90 - 13 + 100 + 15 @@ -937,22 +924,22 @@ p, li { white-space: pre-wrap; } - 50 - 20 + 54 + 22 90 - 13 + 15 90 - 13 + 15 90 - 13 + 15 @@ -962,7 +949,7 @@ p, li { white-space: pre-wrap; } - 21 + 23 86 28 28 @@ -990,8 +977,8 @@ p, li { white-space: pre-wrap; } - 68 - 30 + 71 + 37 48 76 @@ -1015,8 +1002,8 @@ p, li { white-space: pre-wrap; } - 90 - 30 + 95 + 37 48 76 @@ -1040,8 +1027,8 @@ p, li { white-space: pre-wrap; } - 52 - 46 + 57 + 68 100 40 @@ -1068,7 +1055,7 @@ p, li { white-space: pre-wrap; } - 12 + 11 77 50 7 @@ -1219,8 +1206,8 @@ p, li { white-space: pre-wrap; } - 12 - 6 + 11 + 8 136 15 @@ -1247,22 +1234,22 @@ p, li { white-space: pre-wrap; } - 56 - 104 - 90 - 13 + 57 + 123 + 100 + 15 - 90 - 13 + 100 + 15 - 90 - 13 + 100 + 15 @@ -1272,22 +1259,22 @@ p, li { white-space: pre-wrap; } - 50 - 20 + 54 + 22 90 - 13 + 15 90 - 13 + 15 90 - 13 + 15 @@ -1297,7 +1284,7 @@ p, li { white-space: pre-wrap; } - 21 + 23 86 28 28 @@ -1325,8 +1312,8 @@ p, li { white-space: pre-wrap; } - 68 - 30 + 71 + 37 48 76 @@ -1350,8 +1337,8 @@ p, li { white-space: pre-wrap; } - 90 - 30 + 95 + 37 48 76 @@ -1375,8 +1362,8 @@ p, li { white-space: pre-wrap; } - 52 - 46 + 57 + 68 100 40 @@ -1403,7 +1390,7 @@ p, li { white-space: pre-wrap; } - 12 + 11 77 50 7 @@ -1554,8 +1541,8 @@ p, li { white-space: pre-wrap; } - 12 - 6 + 11 + 8 136 15 @@ -1582,22 +1569,22 @@ p, li { white-space: pre-wrap; } - 56 - 104 - 90 - 13 + 57 + 123 + 100 + 15 - 90 - 13 + 100 + 15 - 90 - 13 + 100 + 15 @@ -1607,22 +1594,22 @@ p, li { white-space: pre-wrap; } - 50 - 20 + 54 + 22 90 - 13 + 15 90 - 13 + 15 90 - 13 + 15 @@ -1632,7 +1619,7 @@ p, li { white-space: pre-wrap; } - 21 + 23 86 28 28 @@ -1660,8 +1647,8 @@ p, li { white-space: pre-wrap; } - 68 - 30 + 71 + 37 48 76 @@ -1685,8 +1672,8 @@ p, li { white-space: pre-wrap; } - 90 - 30 + 95 + 37 48 76 @@ -1710,8 +1697,8 @@ p, li { white-space: pre-wrap; } - 52 - 46 + 57 + 68 100 40 @@ -1738,7 +1725,7 @@ p, li { white-space: pre-wrap; } - 12 + 11 77 50 7 @@ -1851,21 +1838,20 @@ p, li { white-space: pre-wrap; } 0 - - - - Qt::Vertical - - - - 20 - 40 - - - - + + 5 + + + 5 + + + 5 + + + 5 + @@ -1874,12 +1860,6 @@ p, li { white-space: pre-wrap; } 19 - - - 60 - 19 - - QLabel {font: bold 20px} @@ -1896,12 +1876,6 @@ p, li { white-space: pre-wrap; } 19 - - - 60 - 19 - - QLabel {font: bold 20px} @@ -1973,8 +1947,8 @@ p, li { white-space: pre-wrap; } - 12 - 6 + 11 + 8 136 15 @@ -2001,22 +1975,22 @@ p, li { white-space: pre-wrap; } - 56 - 104 - 90 - 13 + 57 + 123 + 100 + 15 - 90 - 13 + 100 + 15 - 90 - 13 + 100 + 15 @@ -2026,22 +2000,22 @@ p, li { white-space: pre-wrap; } - 50 - 20 + 54 + 22 90 - 13 + 15 90 - 13 + 15 90 - 13 + 15 @@ -2051,7 +2025,7 @@ p, li { white-space: pre-wrap; } - 21 + 23 86 28 28 @@ -2079,8 +2053,8 @@ p, li { white-space: pre-wrap; } - 68 - 30 + 71 + 37 48 76 @@ -2104,8 +2078,8 @@ p, li { white-space: pre-wrap; } - 90 - 30 + 95 + 37 48 76 @@ -2129,8 +2103,8 @@ p, li { white-space: pre-wrap; } - 52 - 46 + 57 + 68 100 40 @@ -2157,7 +2131,7 @@ p, li { white-space: pre-wrap; } - 12 + 11 77 50 7 @@ -2322,7 +2296,7 @@ p, li { white-space: pre-wrap; } 11 - 116 + 115 136 15 @@ -2349,21 +2323,21 @@ p, li { white-space: pre-wrap; } - 0 + 57 0 - 155 + 100 15 - 155 + 100 15 - 155 + 100 15 @@ -2374,7 +2348,7 @@ p, li { white-space: pre-wrap; } - 56 + 54 101 90 15 @@ -2428,7 +2402,7 @@ p, li { white-space: pre-wrap; } 71 - 24 + 25 48 76 @@ -2505,7 +2479,7 @@ p, li { white-space: pre-wrap; } - 12 + 11 55 50 7 @@ -2691,7 +2665,7 @@ p, li { white-space: pre-wrap; } - 309 + 299 3 48 76 @@ -2716,7 +2690,7 @@ p, li { white-space: pre-wrap; } - 102 + 107 3 48 76 @@ -2741,7 +2715,7 @@ p, li { white-space: pre-wrap; } - 99 + 104 0 54 82 @@ -2766,7 +2740,7 @@ p, li { white-space: pre-wrap; } - 30 + 40 0 54 82 @@ -2791,7 +2765,7 @@ p, li { white-space: pre-wrap; } - 33 + 43 3 48 76 @@ -2816,7 +2790,7 @@ p, li { white-space: pre-wrap; } - 306 + 296 0 54 82 @@ -2891,7 +2865,7 @@ p, li { white-space: pre-wrap; } - 237 + 232 0 54 82 @@ -2916,7 +2890,7 @@ p, li { white-space: pre-wrap; } - 240 + 235 3 48 76 @@ -2971,12 +2945,6 @@ p, li { white-space: pre-wrap; } 14 - - - 50 - 14 - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -2984,6 +2952,12 @@ p, li { white-space: pre-wrap; } + + + 0 + 0 + + 100 @@ -3050,17 +3024,23 @@ p, li { white-space: pre-wrap; } - + + + + 0 + 0 + + - 50 - 14 + 100 + 21 - 50 - 14 + 100 + 21 @@ -3069,17 +3049,11 @@ p, li { white-space: pre-wrap; } - + - 100 - 21 - - - - - 100 - 21 + 50 + 14 @@ -3169,7 +3143,7 @@ p, li { white-space: pre-wrap; } 11 - 116 + 115 136 15 @@ -3196,21 +3170,21 @@ p, li { white-space: pre-wrap; } - 0 + 57 0 - 155 + 100 15 - 155 + 100 15 - 155 + 100 15 @@ -3221,7 +3195,7 @@ p, li { white-space: pre-wrap; } - 56 + 54 101 90 15 @@ -3275,7 +3249,7 @@ p, li { white-space: pre-wrap; } 71 - 24 + 25 48 76 @@ -3352,7 +3326,7 @@ p, li { white-space: pre-wrap; } - 12 + 11 55 50 7 @@ -3504,7 +3478,7 @@ p, li { white-space: pre-wrap; } 11 - 116 + 115 136 15 @@ -3531,21 +3505,21 @@ p, li { white-space: pre-wrap; } - 0 + 57 0 - 155 + 100 15 - 155 + 100 15 - 155 + 100 15 @@ -3556,7 +3530,7 @@ p, li { white-space: pre-wrap; } - 56 + 54 101 90 15 @@ -3613,7 +3587,7 @@ p, li { white-space: pre-wrap; } 71 - 24 + 25 48 76 @@ -3687,7 +3661,7 @@ p, li { white-space: pre-wrap; } - 12 + 11 55 50 7 @@ -3864,7 +3838,7 @@ p, li { white-space: pre-wrap; } 11 - 116 + 115 136 15 @@ -3891,21 +3865,21 @@ p, li { white-space: pre-wrap; } - 0 + 57 0 - 155 + 100 15 - 155 + 100 15 - 155 + 100 13 @@ -3916,7 +3890,7 @@ p, li { white-space: pre-wrap; } - 56 + 54 101 90 15 @@ -3970,7 +3944,7 @@ p, li { white-space: pre-wrap; } 71 - 24 + 25 48 76 @@ -4047,7 +4021,7 @@ p, li { white-space: pre-wrap; } - 12 + 11 55 50 7 @@ -4536,10 +4510,13 @@ p, li { white-space: pre-wrap; } Qt::Vertical + + QSizePolicy::Maximum + 20 - 40 + 30 diff --git a/src/gui/qt/styles/gametablestylereader.cpp b/src/gui/qt/styles/gametablestylereader.cpp index 2554e839..ddd94636 100644 --- a/src/gui/qt/styles/gametablestylereader.cpp +++ b/src/gui/qt/styles/gametablestylereader.cpp @@ -69,7 +69,7 @@ GameTableStyleReader::GameTableStyleReader(ConfigFile *c, QWidget *w) tabBarPaddingTop = "0"; tabBarPaddingSide = "9"; textBrowserFontsize= "10"; - cashFontSize = "13"; + cashFontSize = "12"; setLabelFontSize = "13"; playerNameLabelFontSize = "11"; smallBoardFontSize = "13";