author | zautrix <zautrix> | 2004-10-12 20:20:56 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-12 20:20:56 (UTC) |
commit | 4a3a203c0f95f7d53a784c785004f8c4452c0154 (patch) (unidiff) | |
tree | cc91865a5ef2fa010a391ab1c2dd8c9af6f5be5b /kaddressbook | |
parent | 77e3a7bc670f4c9b7eb5a5d6652a7986ea196533 (diff) | |
download | kdepimpi-4a3a203c0f95f7d53a784c785004f8c4452c0154.zip kdepimpi-4a3a203c0f95f7d53a784c785004f8c4452c0154.tar.gz kdepimpi-4a3a203c0f95f7d53a784c785004f8c4452c0154.tar.bz2 |
layout bugfixes
-rw-r--r-- | kaddressbook/addresseeeditorwidget.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/kaddressbook/addresseeeditorwidget.cpp b/kaddressbook/addresseeeditorwidget.cpp index 50b6b6d..4db0a20 100644 --- a/kaddressbook/addresseeeditorwidget.cpp +++ b/kaddressbook/addresseeeditorwidget.cpp | |||
@@ -300,7 +300,7 @@ void AddresseeEditorWidget::setupTab1() | |||
300 | layout->addMultiCellWidget( bar, 10, 10, 0, 6 ); | 300 | layout->addMultiCellWidget( bar, 10, 10, 0, 6 ); |
301 | */ | 301 | */ |
302 | /////////////////////////////////////// | 302 | /////////////////////////////////////// |
303 | QHBox *categoryBox = new QHBox( tab1 ); | 303 | QHBox *categoryBox = new QHBox( tab1 ,"cato"); |
304 | categoryBox->setSpacing( KDialogBase::spacingHint() ); | 304 | categoryBox->setSpacing( KDialogBase::spacingHint() ); |
305 | categoryBox->setMargin( KDialogBase::marginHintSmall() ); | 305 | categoryBox->setMargin( KDialogBase::marginHintSmall() ); |
306 | 306 | ||
@@ -614,19 +614,16 @@ void AddresseeEditorWidget::setupTab2() | |||
614 | if ( QApplication::desktop()->width() == 640 ) { | 614 | if ( QApplication::desktop()->width() == 640 ) { |
615 | QHBox * nbox = new QHBox ( tab2 ); | 615 | QHBox * nbox = new QHBox ( tab2 ); |
616 | label = new QLabel( i18n( "Nick name:" )+" ", nbox ); | 616 | label = new QLabel( i18n( "Nick name:" )+" ", nbox ); |
617 | layout->addWidget( label, iii, 1 ); | ||
618 | mNicknameEdit = new KLineEdit( nbox ); | 617 | mNicknameEdit = new KLineEdit( nbox ); |
619 | connect( mNicknameEdit, SIGNAL( textChanged( const QString& ) ), | 618 | connect( mNicknameEdit, SIGNAL( textChanged( const QString& ) ), |
620 | SLOT( textChanged( const QString& ) ) ); | 619 | SLOT( textChanged( const QString& ) ) ); |
621 | label->setBuddy( mNicknameEdit ); | 620 | label->setBuddy( mNicknameEdit ); |
622 | 621 | ||
623 | label = new QLabel( " "+i18n( "Spouse's name:" )+" ", nbox ); | 622 | label = new QLabel( " "+i18n( "Spouse's name:" )+" ", nbox ); |
624 | layout->addWidget( label, iii, 1 ); | ||
625 | mSpouseEdit = new KLineEdit( nbox ); | 623 | mSpouseEdit = new KLineEdit( nbox ); |
626 | connect( mSpouseEdit, SIGNAL( textChanged( const QString& ) ), | 624 | connect( mSpouseEdit, SIGNAL( textChanged( const QString& ) ), |
627 | SLOT( textChanged( const QString& ) ) ); | 625 | SLOT( textChanged( const QString& ) ) ); |
628 | label->setBuddy( mSpouseEdit ); | 626 | label->setBuddy( mSpouseEdit ); |
629 | layout->addWidget( mSpouseEdit, iii, 2 ); | ||
630 | layout->addMultiCellWidget( nbox, iii, iii, 1, 2 ); | 627 | layout->addMultiCellWidget( nbox, iii, iii, 1, 2 ); |
631 | ++iii; | 628 | ++iii; |
632 | 629 | ||
@@ -661,7 +658,6 @@ void AddresseeEditorWidget::setupTab2() | |||
661 | if ( QApplication::desktop()->width() == 640 ) { | 658 | if ( QApplication::desktop()->width() == 640 ) { |
662 | QHBox * nbox = new QHBox ( tab2 ); | 659 | QHBox * nbox = new QHBox ( tab2 ); |
663 | label = new QLabel( i18n( "Birthday:" )+" ", nbox ); | 660 | label = new QLabel( i18n( "Birthday:" )+" ", nbox ); |
664 | layout->addWidget( label, iii, 1 ); | ||
665 | mBirthdayPicker = new KDateEdit( nbox ); | 661 | mBirthdayPicker = new KDateEdit( nbox ); |
666 | mBirthdayPicker->toggleDateFormat(); | 662 | mBirthdayPicker->toggleDateFormat(); |
667 | mBirthdayPicker->setHandleInvalid( true ); | 663 | mBirthdayPicker->setHandleInvalid( true ); |
@@ -671,7 +667,6 @@ void AddresseeEditorWidget::setupTab2() | |||
671 | label->setBuddy( mBirthdayPicker ); | 667 | label->setBuddy( mBirthdayPicker ); |
672 | 668 | ||
673 | label = new QLabel( " "+i18n( "Anniversary:" )+" ", nbox ); | 669 | label = new QLabel( " "+i18n( "Anniversary:" )+" ", nbox ); |
674 | layout->addWidget( label, iii, 1 ); | ||
675 | mAnniversaryPicker = new KDateEdit( nbox ); | 670 | mAnniversaryPicker = new KDateEdit( nbox ); |
676 | mAnniversaryPicker->setHandleInvalid( true ); | 671 | mAnniversaryPicker->setHandleInvalid( true ); |
677 | connect( mAnniversaryPicker, SIGNAL( dateChanged( QDate ) ), | 672 | connect( mAnniversaryPicker, SIGNAL( dateChanged( QDate ) ), |