fixed startwindowbg issues - changed disitribute pot animation to blinking playernames

This commit is contained in:
doitux
2009-03-26 09:47:14 +00:00
parent d7bfab7d4e
commit b096149678
5 changed files with 15 additions and 12 deletions
+2 -2
View File
@@ -2270,7 +2270,7 @@ void gameTableImpl::postRiverRunAnimation5() {
for(it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
if((*it_c)->getMyAction() != PLAYER_ACTION_FOLD && (*it_c)->getMyCardsValueInt() == currentHand->getCurrentBeRo()->getHighestCardsValue() ) {
// cashTopLabelArray[(*it_c)->getMyID()]->setText("");
playerNameLabelArray[(*it_c)->getMyID()]->setText("");
}
}
}
@@ -2280,7 +2280,7 @@ void gameTableImpl::postRiverRunAnimation5() {
for(it_c=currentHand->getActivePlayerList()->begin(); it_c!=currentHand->getActivePlayerList()->end(); it_c++) {
if((*it_c)->getMyAction() != PLAYER_ACTION_FOLD && (*it_c)->getMyCardsValueInt() == currentHand->getCurrentBeRo()->getHighestCardsValue() ) {
// cashTopLabelArray[(*it_c)->getMyID()]->setText("Cash:");
playerNameLabelArray[(*it_c)->getMyID()]->setText(QString::fromUtf8((*it_c)->getMyName().c_str()));
}
}
}
+5 -5
View File
@@ -6,19 +6,19 @@
<x>0</x>
<y>0</y>
<width>450</width>
<height>380</height>
<height>350</height>
</rect>
</property>
<property name="minimumSize" >
<size>
<width>450</width>
<height>380</height>
<height>350</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>450</width>
<height>380</height>
<height>350</height>
</size>
</property>
<property name="windowTitle" >
@@ -55,7 +55,7 @@
<item row="1" column="1" >
<layout class="QVBoxLayout" name="verticalLayout" >
<property name="spacing" >
<number>-1</number>
<number>6</number>
</property>
<item>
<widget class="QPushButton" name="pushButtonStart_Local_Game" >
@@ -173,7 +173,7 @@
<x>0</x>
<y>0</y>
<width>450</width>
<height>30</height>
<height>23</height>
</rect>
</property>
<widget class="QMenu" name="menuPokerTH" >
+4 -1
View File
@@ -72,7 +72,10 @@ startWindowImpl::startWindowImpl(ConfigFile *c)
//Widgets Grafiken per Stylesheets setzen
QString myAppDataPath = QString::fromUtf8(myConfig->readConfigString("AppDataDir").c_str());
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;}");
this->setStatusBar(0);
centralwidget->setStyleSheet("QWidget { 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;}");