author | zautrix <zautrix> | 2005-03-24 12:34:27 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-24 12:34:27 (UTC) |
commit | 685d04bc8f696697202f2fc0de18e61905cbb2fa (patch) (unidiff) | |
tree | 927d070c135d0025b236f6bd76143e0341ef2566 /korganizer/koprefsdialog.cpp | |
parent | a9e8535fd6960f454ab7009cfa996973291502a2 (diff) | |
download | kdepimpi-685d04bc8f696697202f2fc0de18e61905cbb2fa.zip kdepimpi-685d04bc8f696697202f2fc0de18e61905cbb2fa.tar.gz kdepimpi-685d04bc8f696697202f2fc0de18e61905cbb2fa.tar.bz2 |
layout fix
Diffstat (limited to 'korganizer/koprefsdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/koprefsdialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/korganizer/koprefsdialog.cpp b/korganizer/koprefsdialog.cpp index 40e8a99..74037e6 100644 --- a/korganizer/koprefsdialog.cpp +++ b/korganizer/koprefsdialog.cpp | |||
@@ -587,21 +587,13 @@ void KOPrefsDialog::setupViewsTab() | |||
587 | addWidBool(i18n("Edit item on doubleclick (if not, show)"), | 587 | addWidBool(i18n("Edit item on doubleclick (if not, show)"), |
588 | &(KOPrefs::instance()->mEditOnDoubleClick),topFrame); | 588 | &(KOPrefs::instance()->mEditOnDoubleClick),topFrame); |
589 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 589 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
590 | 590 | ||
591 | 591 | ||
592 | 592 | ||
593 | if ( QApplication::desktop()->width() > 640 ) { | 593 | |
594 | |||
595 | KPrefsDialogWidBool *enableToolTips = | ||
596 | addWidBool(i18n("Enable tooltips displaying summary of ev."), | ||
597 | &(KOPrefs::instance()->mEnableToolTips),topFrame); | ||
598 | topLayout->addWidget(enableToolTips->checkBox(),ii++,0); | ||
599 | |||
600 | } | ||
601 | |||
602 | 594 | ||
603 | 595 | ||
604 | // topLayout->addWidget(hourSizeGroup,ii++,0); | 596 | // topLayout->addWidget(hourSizeGroup,ii++,0); |
605 | // topLayout->addMultiCellWidget(hourSizeGroup,ii,ii,0,0); | 597 | // topLayout->addMultiCellWidget(hourSizeGroup,ii,ii,0,0); |
606 | //topLayout->setRowStretch(11,1); | 598 | //topLayout->setRowStretch(11,1); |
607 | 599 | ||
@@ -658,12 +650,20 @@ void KOPrefsDialog::setupViewsTab() | |||
658 | 650 | ||
659 | KPrefsDialogWidBool *weeklyRecur = | 651 | KPrefsDialogWidBool *weeklyRecur = |
660 | addWidBool(i18n("Show ev. that recur weekly in date nav."), | 652 | addWidBool(i18n("Show ev. that recur weekly in date nav."), |
661 | &(KOPrefs::instance()->mWeeklyRecur),topFrame); | 653 | &(KOPrefs::instance()->mWeeklyRecur),topFrame); |
662 | topLayout->addWidget(weeklyRecur->checkBox(),ii++,0); | 654 | topLayout->addWidget(weeklyRecur->checkBox(),ii++,0); |
663 | 655 | ||
656 | |||
657 | KPrefsDialogWidBool *enableToolTips = | ||
658 | addWidBool(i18n("Enable tooltips displaying summary of ev."), | ||
659 | &(KOPrefs::instance()->mEnableToolTips),topFrame); | ||
660 | topLayout->addWidget(enableToolTips->checkBox(),ii++,0); | ||
661 | |||
662 | // ********************************************************* | ||
663 | |||
664 | topFrame = addPage(i18n("Agenda View"),0,0); | 664 | topFrame = addPage(i18n("Agenda View"),0,0); |
665 | // DesktopIcon("viewmag",KIcon::SizeMedium)); | 665 | // DesktopIcon("viewmag",KIcon::SizeMedium)); |
666 | 666 | ||
667 | topLayout = new QGridLayout(topFrame,5,1); | 667 | topLayout = new QGridLayout(topFrame,5,1); |
668 | topLayout->setSpacing(spacingHint()); | 668 | topLayout->setSpacing(spacingHint()); |
669 | topLayout->setMargin(marginHint()); | 669 | topLayout->setMargin(marginHint()); |