From 62a199d5c6ed04488bf40284546d29ae31898867 Mon Sep 17 00:00:00 2001 From: doitux Date: Fri, 26 Dec 2008 23:16:12 +0000 Subject: [PATCH] some gui fixes --- src/gui/qt/gametable.ui | 16 +++++++++++++++- src/gui/qt/resources/pokerth.qrc | 1 + src/gui/qt/resources/view-fullscreen.png | Bin 0 -> 582 bytes src/gui/qt/startwindow.ui | 6 +++--- src/gui/qt/startwindow/startwindowimpl.cpp | 3 ++- 5 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 src/gui/qt/resources/view-fullscreen.png diff --git a/src/gui/qt/gametable.ui b/src/gui/qt/gametable.ui index 58a77453..9b1fd378 100644 --- a/src/gui/qt/gametable.ui +++ b/src/gui/qt/gametable.ui @@ -3102,6 +3102,10 @@ + + + :/gfx/view-fullscreen.png:/gfx/view-fullscreen.png + Fullscreen @@ -3156,11 +3160,19 @@ + + + :/gfx/systemsettings.png:/gfx/systemsettings.png + Configure PokerTH ... + + + :/gfx/application_exit.png:/gfx/application_exit.png + Close @@ -3216,7 +3228,9 @@
mychancelabel.h
- + + + horizontalSlider_speed diff --git a/src/gui/qt/resources/pokerth.qrc b/src/gui/qt/resources/pokerth.qrc index 35a801e2..a5377007 100644 --- a/src/gui/qt/resources/pokerth.qrc +++ b/src/gui/qt/resources/pokerth.qrc @@ -1,5 +1,6 @@ + view-fullscreen.png pokerth.qrc swbuttoninternetgame.png swbuttoncreatenetworkgame.png diff --git a/src/gui/qt/resources/view-fullscreen.png b/src/gui/qt/resources/view-fullscreen.png new file mode 100644 index 0000000000000000000000000000000000000000..eb5864d04e902e61e4d50fc5673561b4b179f403 GIT binary patch literal 582 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJbFq_W2nPqp?T7vkfLzW3kH}&M z2FBeW%xLxI@gtz1WQl7;NpOBzNqJ&XDnogBxn5>oc5!lIL8@MUQTpt6Hc~)E-vWF> zT>t<74`d<(X=!OWIXOi|MKv|GSFc`OzI{@Y4Rw+9653=Q2G7PdPoYHxh}-h_mGNl6FN(hj7jA3AjCRDJ!~_V&vg zHe3UN8#fm(zPWqP%{_Z>-n@Bh>C#)vmfgB_=l1gDw{PFM2Lku+-+%C6|A7Y&9zJ~d z=+UFc&!4||as2p;Yu8>pe)8(<*;mh=0Uh@0)oUPl^XARRmoGoQdiC}B^RHjOeS7iZ z+sl{VUcLJM=FN|H?|y#x@ayBpU!On!{`&RL_wRpy{`~vF!spqc?H5rJwUQE#N+8q97ulAx93SE1r|M`F3 zgNfhb-Eq_MXJ=R&xPB~RXoxu>&dzu?+AK3UdbO%Qvs-SD+Ah1E4$pF_|>&*+_N z(MI(P;>rFz>sxLp1#oG<^Rf#nXb`hHcI$Kow@E|J1##~G_x>|g`>C2u6J7Hb6oa0w KelF{r5}E+u0v$~N literal 0 HcmV?d00001 diff --git a/src/gui/qt/startwindow.ui b/src/gui/qt/startwindow.ui index d584b3a0..a3547e7e 100644 --- a/src/gui/qt/startwindow.ui +++ b/src/gui/qt/startwindow.ui @@ -6,19 +6,19 @@ 0 0 450 - 350 + 380 450 - 350 + 380 450 - 350 + 380 diff --git a/src/gui/qt/startwindow/startwindowimpl.cpp b/src/gui/qt/startwindow/startwindowimpl.cpp index d90d5e38..d9317f4a 100644 --- a/src/gui/qt/startwindow/startwindowimpl.cpp +++ b/src/gui/qt/startwindow/startwindowimpl.cpp @@ -71,7 +71,8 @@ startWindowImpl::startWindowImpl(ConfigFile *c) //Widgets Grafiken per Stylesheets setzen QString myAppDataPath = QString::fromUtf8(myConfig->readConfigString("AppDataDir").c_str()); - this->setStyleSheet("QMainWindow { background-image: url(" + myAppDataPath +"gfx/gui/misc/startwindowbg.png); background-position: bottom center; background-origin: content;}"); + this->setWindowIcon(QIcon(myAppDataPath+"gfx/gui/misc/windowicon.png")); + this->setStyleSheet("QMainWindow { background-image: url(" + myAppDataPath +"gfx/gui/misc/startwindowbg.png); background-position: bottom center; background-origin: content; background-repeat: no-repeat;}"); pushButtonStart_Local_Game->setStyleSheet("QPushButton { padding-left: 3px; padding-right: 3px; text-align: left; font-weight: bold;}"); pushButtonInternet_Game->setStyleSheet("QPushButton { padding-left: 3px; padding-right: 3px; text-align: left; font-weight: bold;}");