some gui fixes

This commit is contained in:
doitux
2008-12-26 23:16:12 +00:00
parent 26391b57d1
commit 62a199d5c6
5 changed files with 21 additions and 5 deletions
+15 -1
View File
@@ -3102,6 +3102,10 @@
</property>
</action>
<action name="actionFullScreen" >
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<normaloff>:/gfx/view-fullscreen.png</normaloff>:/gfx/view-fullscreen.png</iconset>
</property>
<property name="text" >
<string>Fullscreen</string>
</property>
@@ -3156,11 +3160,19 @@
</property>
</action>
<action name="actionConfigure_PokerTH" >
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<normaloff>:/gfx/systemsettings.png</normaloff>:/gfx/systemsettings.png</iconset>
</property>
<property name="text" >
<string>Configure PokerTH ...</string>
</property>
</action>
<action name="actionClose" >
<property name="icon" >
<iconset resource="resources/pokerth.qrc" >
<normaloff>:/gfx/application_exit.png</normaloff>:/gfx/application_exit.png</iconset>
</property>
<property name="text" >
<string>Close</string>
</property>
@@ -3216,7 +3228,9 @@
<header>mychancelabel.h</header>
</customwidget>
</customwidgets>
<resources/>
<resources>
<include location="resources/pokerth.qrc" />
</resources>
<connections>
<connection>
<sender>horizontalSlider_speed</sender>
+1
View File
@@ -1,5 +1,6 @@
<RCC>
<qresource prefix="gfx" >
<file>view-fullscreen.png</file>
<file>pokerth.qrc</file>
<file>swbuttoninternetgame.png</file>
<file>swbuttoncreatenetworkgame.png</file>
Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

+3 -3
View File
@@ -6,19 +6,19 @@
<x>0</x>
<y>0</y>
<width>450</width>
<height>350</height>
<height>380</height>
</rect>
</property>
<property name="minimumSize" >
<size>
<width>450</width>
<height>350</height>
<height>380</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>450</width>
<height>350</height>
<height>380</height>
</size>
</property>
<property name="windowTitle" >
+2 -1
View File
@@ -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;}");