author | zautrix <zautrix> | 2005-02-08 18:29:59 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-08 18:29:59 (UTC) |
commit | 2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6 (patch) (unidiff) | |
tree | 733f50ad5513065fe407fa341948172aae893b52 | |
parent | 126b79abd88bb13ab41c4d987ee759eb9ba7d483 (diff) | |
download | kdepimpi-2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6.zip kdepimpi-2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6.tar.gz kdepimpi-2124ce7f8c6edbd0e3ec32b1d1e6a625ef9450d6.tar.bz2 |
font fix
-rw-r--r-- | kaddressbook/kabprefs.cpp | 4 | ||||
-rw-r--r-- | kalarmd/alarmdialog.cpp | 9 | ||||
-rw-r--r-- | kmicromail/koprefs.cpp | 11 | ||||
-rw-r--r-- | korganizer/koprefs.cpp | 12 | ||||
-rw-r--r-- | microkde/kdatetbl.cpp | 2 |
5 files changed, 15 insertions, 23 deletions
diff --git a/kaddressbook/kabprefs.cpp b/kaddressbook/kabprefs.cpp index a2095d4..01e84d0 100644 --- a/kaddressbook/kabprefs.cpp +++ b/kaddressbook/kabprefs.cpp | |||
@@ -36,2 +36,3 @@ | |||
36 | #include <kstaticdeleter.h> | 36 | #include <kstaticdeleter.h> |
37 | #include <kglobalsettings.h> | ||
37 | //US#include <kdebug.h> // defines kdDebug() | 38 | //US#include <kdebug.h> // defines kdDebug() |
@@ -50,3 +51,2 @@ KABPrefs::KABPrefs() | |||
50 | { | 51 | { |
51 | mDetailsFont = QFont("helvetica",12); | ||
52 | KPrefs::setCurrentGroup( "Views" ); | 52 | KPrefs::setCurrentGroup( "Views" ); |
@@ -63,3 +63,3 @@ KABPrefs::KABPrefs() | |||
63 | addItemBool("SearchWithReturn",&mSearchWithReturn, false ); | 63 | addItemBool("SearchWithReturn",&mSearchWithReturn, false ); |
64 | addItemFont("DetailsFont",&mDetailsFont); | 64 | addItemFont("DetailsFont",&mDetailsFont,KGlobalSettings::generalFont()); |
65 | 65 | ||
diff --git a/kalarmd/alarmdialog.cpp b/kalarmd/alarmdialog.cpp index 521781e..751ba57 100644 --- a/kalarmd/alarmdialog.cpp +++ b/kalarmd/alarmdialog.cpp | |||
@@ -72,5 +72,8 @@ AlarmDialog::AlarmDialog(QWidget *parent,const char *name) | |||
72 | layout->setMargin( 3 ); | 72 | layout->setMargin( 3 ); |
73 | 73 | QFont fo = QApplication::font(); | |
74 | l->setFont( QFont("helvetica",fs2, QFont::Bold) ); | 74 | fo.setBold( true ); |
75 | mMessage->setFont( QFont("helvetica",fs, QFont::Bold) ); | 75 | fo.setPointSize( fs2 ); |
76 | l->setFont( fo ); | ||
77 | fo.setPointSize( fs ); | ||
78 | mMessage->setFont(fo ); | ||
76 | mMessage->setAlignment( AlignCenter); | 79 | mMessage->setAlignment( AlignCenter); |
diff --git a/kmicromail/koprefs.cpp b/kmicromail/koprefs.cpp index 7b1e169..e4b61dc 100644 --- a/kmicromail/koprefs.cpp +++ b/kmicromail/koprefs.cpp | |||
@@ -43,2 +43,3 @@ | |||
43 | #include <kstaticdeleter.h> | 43 | #include <kstaticdeleter.h> |
44 | #include <kglobalsettings.h> | ||
44 | 45 | ||
@@ -54,6 +55,2 @@ KOPrefs::KOPrefs() : | |||
54 | { | 55 | { |
55 | mAppFont = QFont("helvetica",12); | ||
56 | mComposeFont = QFont("helvetica",12); | ||
57 | mReadFont = QFont("helvetica",12); | ||
58 | |||
59 | KPrefs::setCurrentGroup("General"); | 56 | KPrefs::setCurrentGroup("General"); |
@@ -72,5 +69,5 @@ KOPrefs::KOPrefs() : | |||
72 | KPrefs::setCurrentGroup("Fonts"); | 69 | KPrefs::setCurrentGroup("Fonts"); |
73 | addItemFont("Application Font",&mAppFont); | 70 | addItemFont("Application Font",&mAppFont,KGlobalSettings::generalFont()); |
74 | addItemFont("Compose Font",&mComposeFont); | 71 | addItemFont("Compose Font",&mComposeFont,KGlobalSettings::generalFont()); |
75 | addItemFont("Read Font",&mReadFont); | 72 | addItemFont("Read Font",&mReadFont,KGlobalSettings::generalFont()); |
76 | fillMailDefaults(); | 73 | fillMailDefaults(); |
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index 5bfe2a1..7efb6a6 100644 --- a/korganizer/koprefs.cpp +++ b/korganizer/koprefs.cpp | |||
@@ -65,13 +65,3 @@ KOPrefs::KOPrefs() : | |||
65 | 65 | ||
66 | /* | 66 | |
67 | mTimeBarFont = QFont("helvetica",10);//,QFont::Bold); | ||
68 | mDefaultViewFont = QFont("helvetica",10); | ||
69 | mDefaultMonthViewFont = QFont("helvetica",8); | ||
70 | mMarcusBainsFont= QFont("helvetica",10); | ||
71 | mDateNavigatorFont= QFont("helvetica",10, QFont::Bold); | ||
72 | mEditBoxFont = QFont("helvetica",12); | ||
73 | mJornalViewFont = QFont("helvetica",12); | ||
74 | */ | ||
75 | |||
76 | |||
77 | KPrefs::setCurrentGroup("General"); | 67 | KPrefs::setCurrentGroup("General"); |
diff --git a/microkde/kdatetbl.cpp b/microkde/kdatetbl.cpp index a9924ba..1024796 100644 --- a/microkde/kdatetbl.cpp +++ b/microkde/kdatetbl.cpp | |||
@@ -459,2 +459,4 @@ KDateInternalMonthPicker::KDateInternalMonthPicker | |||
459 | add += 8; | 459 | add += 8; |
460 | if ( QApplication::desktop()->width() > 640 ) | ||
461 | add += 4; | ||
460 | font.setPointSize(fontsize+add); | 462 | font.setPointSize(fontsize+add); |