author | zautrix <zautrix> | 2004-12-13 13:00:08 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-12-13 13:00:08 (UTC) |
commit | b8410daa179dbff2ebb833071ba50b9da36e6330 (patch) (side-by-side diff) | |
tree | 9ae559c8ecc68a78e52003daa2240c8861a0fa34 /libkdepim | |
parent | 7ac6c21e832b7d16bd0888d0b66252b6e152005a (diff) | |
download | kdepimpi-b8410daa179dbff2ebb833071ba50b9da36e6330.zip kdepimpi-b8410daa179dbff2ebb833071ba50b9da36e6330.tar.gz kdepimpi-b8410daa179dbff2ebb833071ba50b9da36e6330.tar.bz2 |
fixed height of global confog dialog
-rw-r--r-- | libkdepim/kcmconfigs/kdepimconfigwidget.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp index 4817a3f..20594c6 100644 --- a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp +++ b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp @@ -104,13 +104,13 @@ KDEPIMConfigWidget::KDEPIMConfigWidget(KPimGlobalPrefs *prefs, QWidget *parent, setupTimeZoneTab(); setupExternalAppTab(); } void KDEPIMConfigWidget::showTimeZoneTab() { - tabWidget->setCurrentPage ( 2 ) ; + tabWidget->setCurrentPage ( 3 ) ; } void KDEPIMConfigWidget::setupExternalAppTab() { QWidget *externalAppsPage = new QWidget( this ); QVBoxLayout* layout = new QVBoxLayout( externalAppsPage, KDialog::marginHintSmall(), KDialog::spacingHintSmall() ); @@ -272,12 +272,20 @@ void KDEPIMConfigWidget::setupLocaleTab() syncPrefsGroup->groupBox()->layout()->setMargin( 5 ); syncPrefsGroup->groupBox()->layout()->setSpacing( 0 ); } topLayout->addMultiCellWidget( (QWidget*)syncPrefsGroup->groupBox(),iii,iii,0,1); ++iii; + + tabWidget->addTab( topFrame, i18n( "Language" ) ); + topFrame = new QWidget( this ); + topLayout = new QGridLayout(topFrame,4,2); + + topLayout->setSpacing(KDialog::spacingHint()); + topLayout->setMargin(KDialog::marginHint()); + iii = 0; syncPrefsGroup = addWidRadios(i18n("Time Format(nr):"),&(KPimGlobalPrefs::instance()->mPreferredTime),topFrame); if ( QApplication::desktop()->width() > 300 ) syncPrefsGroup->groupBox()->setOrientation (Qt::Vertical); syncPrefsGroup->addRadio(i18n("24:00")); syncPrefsGroup->addRadio(i18n("12:00am")); @@ -288,13 +296,13 @@ void KDEPIMConfigWidget::setupLocaleTab() KPrefsWidBool *sb = addWidBool(i18n("Week starts on Sunday"), &(KPimGlobalPrefs::instance()->mWeekStartsOnSunday),topFrame); topLayout->addMultiCellWidget((QWidget*)sb->checkBox(), iii,iii,0,1); ++iii; - tabWidget->addTab( topFrame, i18n( "Locale" ) ); + tabWidget->addTab( topFrame, i18n( "Time Format" ) ); } void KDEPIMConfigWidget::setupTimeZoneTab() { |