tabwidgets fontsize fix

This commit is contained in:
doitux
2007-06-24 21:44:21 +00:00
parent 084351d941
commit 787e5f2188
2 changed files with 14 additions and 13 deletions
-10
View File
@@ -825,11 +825,6 @@
</disabled>
</palette>
</property>
<property name="font" >
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="tabShape" >
<enum>QTabWidget::Rounded</enum>
</property>
@@ -2001,11 +1996,6 @@
</disabled>
</palette>
</property>
<property name="font" >
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="tabShape" >
<enum>QTabWidget::Rounded</enum>
</property>
+14 -3
View File
@@ -417,9 +417,7 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent)
#endif
QFont tmpFont2;
tmpFont2.setFamily("Bitstream Vera Sans");
tmpFont2.setPixelSize(18);
label_Pot->setFont(tmpFont2);
tmpFont2.setPixelSize(10);
for (i=0; i<MAX_NUMBER_OF_PLAYERS; i++) {
@@ -429,6 +427,16 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent)
spinBox_set->setFont(tmpFont2);
#ifdef __APPLE__
tmpFont1.setPixelSize(11);
tabWidget_Right->setFont(tmpFont1);
tabWidget_Left->setFont(tmpFont1);
#else
tmpFont1.setPixelSize(10);
tabWidget_Right->setFont(tmpFont1);
tabWidget_Left->setFont(tmpFont1);
#endif
tmpFont2.setPixelSize(12);
for (i=0; i<MAX_NUMBER_OF_PLAYERS; i++) {
@@ -455,6 +463,9 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent)
tmpFont2.setBold(TRUE);
textLabel_handLabel->setFont(tmpFont2);
tmpFont2.setPixelSize(18);
label_Pot->setFont(tmpFont2);
//Widgets Grafiken per Stylesheets setzen
//Groupbox Background
for (i=1; i<MAX_NUMBER_OF_PLAYERS; i++) {