From 6f938c110c6fe6201b78e8517a0d748b9c808a13 Mon Sep 17 00:00:00 2001 From: doitux Date: Mon, 17 Oct 2011 13:08:31 +0000 Subject: [PATCH] add simple maemo gui support into main pokerth_game.pro --- pokerth_game.pro | 27 +- src/gui/qt/gui_800x480/startwindow_800x480.ui | 447 ++++++++++++++++++ 2 files changed, 473 insertions(+), 1 deletion(-) create mode 100755 src/gui/qt/gui_800x480/startwindow_800x480.ui diff --git a/pokerth_game.pro b/pokerth_game.pro index ad758455..8ee6ea75 100644 --- a/pokerth_game.pro +++ b/pokerth_game.pro @@ -196,7 +196,9 @@ HEADERS += src/engine/game.h \ src/engine/local_engine/replay.h \ src/gui/qt/gamelobbydialog/mynicklistsortfilterproxymodel.h \ src/gui/qt/gametable/myslider.h -FORMS += src/gui/qt/gametable.ui \ + +!gui_800x480 { + FORMS += src/gui/qt/gametable.ui \ src/gui/qt/aboutpokerth.ui \ src/gui/qt/connecttoserverdialog.ui \ src/gui/qt/createnetworkgamedialog.ui \ @@ -214,6 +216,29 @@ FORMS += src/gui/qt/gametable.ui \ src/gui/qt/serverlistdialog.ui \ src/gui/qt/internetgamelogindialog.ui \ src/gui/qt/changecontentdialog.ui +} + +gui_800x480 { + FORMS += src/gui/qt/gui_800x480/gametable_800x480.ui \ + src/gui/qt/gui_800x480/aboutpokerth_800x480.ui \ + src/gui/qt/gui_800x480/connecttoserverdialog_800x480.ui \ + src/gui/qt/gui_800x480/createnetworkgamedialog_800x480.ui \ + src/gui/qt/gui_800x480/createinternetgamedialog_800x480.ui \ + src/gui/qt/gui_800x480/joinnetworkgamedialog_800x480.ui \ + src/gui/qt/gui_800x480/newgamedialog_800x480.ui \ + src/gui/qt/gui_800x480/settingsdialog_800x480.ui \ + src/gui/qt/gui_800x480/selectavatardialog_800x480.ui \ + src/gui/qt/gui_800x480/startnetworkgamedialog_800x480.ui \ + src/gui/qt/gui_800x480/startwindow_800x480.ui \ + src/gui/qt/gui_800x480/changecompleteblindsdialog_800x480.ui \ + src/gui/qt/gui_800x480/gamelobbydialog_800x480.ui \ + src/gui/qt/gui_800x480/mymessagedialog_800x480.ui \ + src/gui/qt/gui_800x480/manualblindsorderdialog_800x480.ui \ + src/gui/qt/gui_800x480/serverlistdialog_800x480.ui \ + src/gui/qt/gui_800x480/internetgamelogindialog_800x480.ui \ + src/gui/qt/gui_800x480/changecontentdialog_800x480.ui +} + SOURCES += src/pokerth.cpp \ src/gui/qt/chattools/chattools.cpp \ src/gui/qt/sound/sdlplayer.cpp \ diff --git a/src/gui/qt/gui_800x480/startwindow_800x480.ui b/src/gui/qt/gui_800x480/startwindow_800x480.ui new file mode 100755 index 00000000..da27ee60 --- /dev/null +++ b/src/gui/qt/gui_800x480/startwindow_800x480.ui @@ -0,0 +1,447 @@ + + + startWindow + + + + 0 + 0 + 800 + 448 + + + + + 800 + 448 + + + + + 800 + 448 + + + + PokerTH - The Open-Source Texas Holdem Engine + + + + + + + + 800 + 424 + + + + + 800 + 424 + + + + + + + Qt::Vertical + + + + 20 + 95 + + + + + + + + Qt::Horizontal + + + + 63 + 20 + + + + + + + + + + + 0 + 0 + + + + + 350 + 80 + + + + + 350 + 80 + + + + + -1 + 75 + false + true + + + + Qt::NoFocus + + + QPushButton { text-align:left; font: bold 20px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px; padding-right: 3px;} + + + &1 Start Local Game + + + + :/gfx/swbuttonlocalgame.png:/gfx/swbuttonlocalgame.png + + + + 37 + 32 + + + + + + + + + 0 + 0 + + + + + 350 + 80 + + + + + 350 + 80 + + + + + -1 + 75 + false + true + + + + Qt::NoFocus + + + QPushButton { text-align:left; font: bold 20px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px; padding-right: 3px;} + + + &2 Internet Game + + + + :/gfx/swbuttoninternetgame.png:/gfx/swbuttoninternetgame.png + + + + 37 + 32 + + + + + + + + + 0 + 0 + + + + + 350 + 80 + + + + + 350 + 80 + + + + + -1 + 75 + false + true + + + + Qt::NoFocus + + + QPushButton { text-align:left; font: bold 20px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px; padding-right: 3px;} + + + &3 Create Network Game + + + + :/gfx/swbuttoncreatenetworkgame.png:/gfx/swbuttoncreatenetworkgame.png + + + + 37 + 32 + + + + + + + + + 0 + 0 + + + + + 350 + 80 + + + + + 350 + 80 + + + + + -1 + 75 + false + true + + + + Qt::NoFocus + + + Qt::LeftToRight + + + false + + + QPushButton { text-align:left; font: bold 20px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px; padding-right: 3px;} + + + &4 Join Network Game + + + + :/gfx/swbuttonjoinnetworkgame.png:/gfx/swbuttonjoinnetworkgame.png + + + + 37 + 32 + + + + false + + + false + + + + + + + + + Qt::Horizontal + + + + 63 + 20 + + + + + + + + Qt::Vertical + + + + 20 + 95 + + + + + + + + + + 0 + 0 + 800 + 34 + + + + QObject {font-size: 20px} + + + + + + + &PokerTH + + + + + + + + + &Settings + + + + + + + + + + + :/gfx/swbuttonlocalgame.png:/gfx/swbuttonlocalgame.png + + + Start Local Game ... + + + Ctrl+N + + + + + + :/gfx/swbuttoninternetgame.png:/gfx/swbuttoninternetgame.png + + + Internet Game ... + + + Ctrl+I + + + + + false + + + About PokerTH + + + + + + + + false + + + + :/gfx/systemsettings.png:/gfx/systemsettings.png + + + Configure PokerTH ... + + + + + + + + + :/gfx/application_exit.png:/gfx/application_exit.png + + + Quit + + + Ctrl+Q + + + + + + :/gfx/swbuttoncreatenetworkgame.png:/gfx/swbuttoncreatenetworkgame.png + + + Create Network Game ... + + + + + + :/gfx/swbuttonjoinnetworkgame.png:/gfx/swbuttonjoinnetworkgame.png + + + Join Network Game ... + + + + + + + + + actionQuit + triggered() + startWindow + close() + + + -1 + -1 + + + 221 + 168 + + + + +