summaryrefslogtreecommitdiffabout
path: root/kaddressbook/addresseeeditorwidget.cpp
authorzautrix <zautrix>2004-10-12 20:20:56 (UTC)
committer zautrix <zautrix>2004-10-12 20:20:56 (UTC)
commit4a3a203c0f95f7d53a784c785004f8c4452c0154 (patch) (side-by-side diff)
treecc91865a5ef2fa010a391ab1c2dd8c9af6f5be5b /kaddressbook/addresseeeditorwidget.cpp
parent77e3a7bc670f4c9b7eb5a5d6652a7986ea196533 (diff)
downloadkdepimpi-4a3a203c0f95f7d53a784c785004f8c4452c0154.zip
kdepimpi-4a3a203c0f95f7d53a784c785004f8c4452c0154.tar.gz
kdepimpi-4a3a203c0f95f7d53a784c785004f8c4452c0154.tar.bz2
layout bugfixes
Diffstat (limited to 'kaddressbook/addresseeeditorwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/addresseeeditorwidget.cpp7
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()
layout->addMultiCellWidget( bar, 10, 10, 0, 6 );
*/
///////////////////////////////////////
- QHBox *categoryBox = new QHBox( tab1 );
+ QHBox *categoryBox = new QHBox( tab1 ,"cato");
categoryBox->setSpacing( KDialogBase::spacingHint() );
categoryBox->setMargin( KDialogBase::marginHintSmall() );
@@ -614,19 +614,16 @@ void AddresseeEditorWidget::setupTab2()
if ( QApplication::desktop()->width() == 640 ) {
QHBox * nbox = new QHBox ( tab2 );
label = new QLabel( i18n( "Nick name:" )+" ", nbox );
- layout->addWidget( label, iii, 1 );
mNicknameEdit = new KLineEdit( nbox );
connect( mNicknameEdit, SIGNAL( textChanged( const QString& ) ),
SLOT( textChanged( const QString& ) ) );
label->setBuddy( mNicknameEdit );
label = new QLabel( " "+i18n( "Spouse's name:" )+" ", nbox );
- layout->addWidget( label, iii, 1 );
mSpouseEdit = new KLineEdit( nbox );
connect( mSpouseEdit, SIGNAL( textChanged( const QString& ) ),
SLOT( textChanged( const QString& ) ) );
label->setBuddy( mSpouseEdit );
- layout->addWidget( mSpouseEdit, iii, 2 );
layout->addMultiCellWidget( nbox, iii, iii, 1, 2 );
++iii;
@@ -661,7 +658,6 @@ void AddresseeEditorWidget::setupTab2()
if ( QApplication::desktop()->width() == 640 ) {
QHBox * nbox = new QHBox ( tab2 );
label = new QLabel( i18n( "Birthday:" )+" ", nbox );
- layout->addWidget( label, iii, 1 );
mBirthdayPicker = new KDateEdit( nbox );
mBirthdayPicker->toggleDateFormat();
mBirthdayPicker->setHandleInvalid( true );
@@ -671,7 +667,6 @@ void AddresseeEditorWidget::setupTab2()
label->setBuddy( mBirthdayPicker );
label = new QLabel( " "+i18n( "Anniversary:" )+" ", nbox );
- layout->addWidget( label, iii, 1 );
mAnniversaryPicker = new KDateEdit( nbox );
mAnniversaryPicker->setHandleInvalid( true );
connect( mAnniversaryPicker, SIGNAL( dateChanged( QDate ) ),