some gui fixes
This commit is contained in:
+15
-1
@@ -3102,6 +3102,10 @@
|
|||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionFullScreen" >
|
<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" >
|
<property name="text" >
|
||||||
<string>Fullscreen</string>
|
<string>Fullscreen</string>
|
||||||
</property>
|
</property>
|
||||||
@@ -3156,11 +3160,19 @@
|
|||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionConfigure_PokerTH" >
|
<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" >
|
<property name="text" >
|
||||||
<string>Configure PokerTH ...</string>
|
<string>Configure PokerTH ...</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionClose" >
|
<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" >
|
<property name="text" >
|
||||||
<string>Close</string>
|
<string>Close</string>
|
||||||
</property>
|
</property>
|
||||||
@@ -3216,7 +3228,9 @@
|
|||||||
<header>mychancelabel.h</header>
|
<header>mychancelabel.h</header>
|
||||||
</customwidget>
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
<resources/>
|
<resources>
|
||||||
|
<include location="resources/pokerth.qrc" />
|
||||||
|
</resources>
|
||||||
<connections>
|
<connections>
|
||||||
<connection>
|
<connection>
|
||||||
<sender>horizontalSlider_speed</sender>
|
<sender>horizontalSlider_speed</sender>
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="gfx" >
|
<qresource prefix="gfx" >
|
||||||
|
<file>view-fullscreen.png</file>
|
||||||
<file>pokerth.qrc</file>
|
<file>pokerth.qrc</file>
|
||||||
<file>swbuttoninternetgame.png</file>
|
<file>swbuttoninternetgame.png</file>
|
||||||
<file>swbuttoncreatenetworkgame.png</file>
|
<file>swbuttoncreatenetworkgame.png</file>
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 582 B |
@@ -6,19 +6,19 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>450</width>
|
<width>450</width>
|
||||||
<height>350</height>
|
<height>380</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize" >
|
<property name="minimumSize" >
|
||||||
<size>
|
<size>
|
||||||
<width>450</width>
|
<width>450</width>
|
||||||
<height>350</height>
|
<height>380</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize" >
|
<property name="maximumSize" >
|
||||||
<size>
|
<size>
|
||||||
<width>450</width>
|
<width>450</width>
|
||||||
<height>350</height>
|
<height>380</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle" >
|
<property name="windowTitle" >
|
||||||
|
|||||||
@@ -71,7 +71,8 @@ startWindowImpl::startWindowImpl(ConfigFile *c)
|
|||||||
|
|
||||||
//Widgets Grafiken per Stylesheets setzen
|
//Widgets Grafiken per Stylesheets setzen
|
||||||
QString myAppDataPath = QString::fromUtf8(myConfig->readConfigString("AppDataDir").c_str());
|
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;}");
|
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;}");
|
pushButtonInternet_Game->setStyleSheet("QPushButton { padding-left: 3px; padding-right: 3px; text-align: left; font-weight: bold;}");
|
||||||
|
|||||||
Reference in New Issue
Block a user