This commit is contained in:
doitux
2007-01-17 00:39:20 +00:00
parent ba01415dcc
commit 46888b1277
8 changed files with 31 additions and 15 deletions
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -40,7 +40,7 @@
<property name="text" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Nimbus Sans L'; font-size:9px; font-weight:400; font-style:normal; text-decoration:none;">
&lt;/style>&lt;/head>&lt;body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">PokerTH&lt;/span>&lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;">&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Poker-Engine for the popular "Texas Holdem"-Poker&lt;/p>
@@ -88,7 +88,7 @@ p, li { white-space: pre-wrap; }
<property name="text" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Nimbus Sans L'; font-size:9px; font-weight:400; font-style:normal; text-decoration:none;">
&lt;/style>&lt;/head>&lt;body style=" font-family:'Nimbus Sans L'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Projectpage: &lt;/span>&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> &lt;a href="http://sourceforge.net/projects/qupil">&lt;span style=" text-decoration: underline; color:#0000ff;">http://sourceforge.net/projects/pokerth&lt;/span>&lt;/a>&lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>
Binary file not shown.
+23 -8
View File
@@ -498,11 +498,6 @@
</disabled>
</palette>
</property>
<property name="font" >
<font>
<family>Nimbus Sans L</family>
</font>
</property>
<property name="windowTitle" >
<string>PokerTH - The Open-Source Texas Holdem Engine</string>
</property>
@@ -1086,7 +1081,7 @@
<widget class="Q3Frame" name="frame57" >
<property name="maximumSize" >
<size>
<width>57</width>
<width>56</width>
<height>16777215</height>
</size>
</property>
@@ -2764,7 +2759,16 @@
<number>0</number>
</property>
<item rowspan="2" row="0" column="0" >
<widget class="QLabel" name="textLabel_gameNumber" />
<widget class="QLabel" name="textLabel_gameNumber" >
<property name="font" >
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
@@ -2794,7 +2798,18 @@
<number>0</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="textLabel_handLabel" />
<widget class="QLabel" name="textLabel_handLabel" >
<property name="font" >
<font>
<pointsize>15</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
+2 -3
View File
@@ -254,7 +254,6 @@ void mainWindowImpl::refreshButton() {
}
}
}
void mainWindowImpl::refreshPlayerName() {
@@ -368,8 +367,8 @@ void mainWindowImpl::highlightRoundLabel(string tempround) {
tempPalette.setColor(QPalette::Window, highlight);
frame_handLabel->setPalette(tempPalette);
textLabel_handLabel->setText("<p align='center'><span style='font-size:18px; font-weight:bold'>"+round+"</span></p>");
textLabel_gameNumber->setText("<p align='center'><span style='font-size:14px'>Hand: "+QString::number(actualHand->getMyID(),10)+"</span></p>");
textLabel_handLabel->setText(round);
textLabel_gameNumber->setText("Hand: "+QString::number(actualHand->getMyID(),10));
}
Binary file not shown.
+4 -2
View File
@@ -18,6 +18,8 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include <iostream>
/////// can be removed for non-qt-guis ////////////
#include <qapplication.h>
#include <QFont>
@@ -39,8 +41,8 @@ int main( int argc, char **argv )
QApplication a( argc, argv );
//Schriftart laden
QFontDatabase::addApplicationFont ("src/gui/qt/Vera.ttf");
QFont tmpFont("Bitstream Vera Sans",9);
QFontDatabase::addApplicationFont ("src/gui/qt/n019003l.pfb");
QFont tmpFont("Nimbus Sans L",9);
QApplication::setFont(tmpFont);