This commit is contained in:
doitux
2007-01-16 23:08:39 +00:00
parent 58e8a92e6a
commit ba01415dcc
5 changed files with 9 additions and 29 deletions
Binary file not shown.
Binary file not shown.
-20
View File
@@ -3123,11 +3123,6 @@
<height>0</height>
</size>
</property>
<property name="font" >
<font>
<pointsize>9</pointsize>
</font>
</property>
</widget>
</item>
<item row="0" column="0" >
@@ -3215,11 +3210,6 @@
<height>0</height>
</size>
</property>
<property name="font" >
<font>
<pointsize>9</pointsize>
</font>
</property>
</widget>
</item>
</layout>
@@ -3528,11 +3518,6 @@
<height>0</height>
</size>
</property>
<property name="font" >
<font>
<pointsize>9</pointsize>
</font>
</property>
</widget>
</item>
</layout>
@@ -3841,11 +3826,6 @@
<height>0</height>
</size>
</property>
<property name="font" >
<font>
<pointsize>9</pointsize>
</font>
</property>
</widget>
</item>
</layout>
-7
View File
@@ -147,13 +147,6 @@ mainWindowImpl::mainWindowImpl(QMainWindow *parent, const char *name)
inactive.setRgb(83,141,107);
highlight.setRgb(151,214,109);
//Schriftart laden
cout << "schriftart läd: " << QFontDatabase::addApplicationFont ("src/gui/qt/font.ttf") << endl;
QFont tmpFont("Tuffy",9);
QApplication::setFont(tmpFont);
//firstCallNewGame Test init
firstCallNewGame = TRUE;
+9 -2
View File
@@ -20,8 +20,8 @@
/////// can be removed for non-qt-guis ////////////
#include <qapplication.h>
// #include <QFont>
// #include <QFontDatabase>
#include <QFont>
#include <QFontDatabase>
///////////////////////////////////////////////////
#include "session.h"
@@ -34,9 +34,16 @@ int main( int argc, char **argv )
srand( time(0) );
/////// can be removed for non-qt-guis ////////////
QApplication a( argc, argv );
//Schriftart laden
QFontDatabase::addApplicationFont ("src/gui/qt/Vera.ttf");
QFont tmpFont("Bitstream Vera Sans",9);
QApplication::setFont(tmpFont);
Q_INIT_RESOURCE(deck);
///////////////////////////////////////////////////