startwindow bg gfx
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
@@ -5,10 +5,22 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>444</width>
|
<width>450</width>
|
||||||
<height>338</height>
|
<height>350</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimumSize" >
|
||||||
|
<size>
|
||||||
|
<width>450</width>
|
||||||
|
<height>350</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize" >
|
||||||
|
<size>
|
||||||
|
<width>450</width>
|
||||||
|
<height>350</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="windowTitle" >
|
<property name="windowTitle" >
|
||||||
<string>PokerTH 0.6.3 - The Open-Source Texas Holdem Engine</string>
|
<string>PokerTH 0.6.3 - The Open-Source Texas Holdem Engine</string>
|
||||||
</property>
|
</property>
|
||||||
@@ -105,8 +117,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>444</width>
|
<width>450</width>
|
||||||
<height>30</height>
|
<height>23</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuPokerTH" >
|
<widget class="QMenu" name="menuPokerTH" >
|
||||||
|
|||||||
@@ -69,6 +69,17 @@ startWindowImpl::startWindowImpl(ConfigFile *c)
|
|||||||
setupUi(this);
|
setupUi(this);
|
||||||
this->setWindowTitle(QString(tr("PokerTH %1 - The Open-Source Texas Holdem Engine").arg(POKERTH_BETA_RELEASE_STRING)));
|
this->setWindowTitle(QString(tr("PokerTH %1 - The Open-Source Texas Holdem Engine").arg(POKERTH_BETA_RELEASE_STRING)));
|
||||||
|
|
||||||
|
//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;}");
|
||||||
|
|
||||||
|
// pushButtonStart_Local_Game->setStyleSheet("QPushButton:enabled { background-color: #1C7000; color: #99D500;} QPushButton:disabled { background-color: #145300; color: #486F3E; font-weight: 900;}");
|
||||||
|
// pushButtonInternet_Game->setStyleSheet("QPushButton:enabled { background-color: #1C7000; color: #99D500;} QPushButton:disabled { background-color: #145300; color: #486F3E; font-weight: 900;}");
|
||||||
|
// pushButton_Create_Network_Game->setStyleSheet("QPushButton:enabled { background-color: #1C7000; color: #99D500;} QPushButton:disabled { background-color: #145300; color: #486F3E; font-weight: 900;}");
|
||||||
|
// pushButton_Join_Network_Game->setStyleSheet("QPushButton:enabled { background-color: #1C7000; color: #99D500;} QPushButton:disabled { background-color: #145300; color: #486F3E; font-weight: 900;}");
|
||||||
|
// menubar->setStyleSheet("QMenuBar { background-color: #145300; } QMenuBar::item { color: #99D500; }");
|
||||||
|
|
||||||
|
|
||||||
// Dialogs
|
// Dialogs
|
||||||
myNewGameDialog = new newGameDialogImpl(this, myConfig);
|
myNewGameDialog = new newGameDialogImpl(this, myConfig);
|
||||||
mySelectAvatarDialog = new selectAvatarDialogImpl(this, myConfig);
|
mySelectAvatarDialog = new selectAvatarDialogImpl(this, myConfig);
|
||||||
|
|||||||
Reference in New Issue
Block a user