Diffstat (limited to 'core/pim/addressbook/contacteditor.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index 0c90510..66e94ef 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp | |||
@@ -263,9 +263,9 @@ void ContactEditor::init() { | |||
263 | 263 | ||
264 | QWidget *container = new QWidget( svGeneral->viewport() ); | 264 | QWidget *container = new QWidget( svGeneral->viewport() ); |
265 | svGeneral->addChild( container ); | 265 | svGeneral->addChild( container ); |
266 | 266 | ||
267 | QGridLayout *gl = new QGridLayout( container ); | 267 | QGridLayout *gl = new QGridLayout( container, 1, 1, 2, 3 ); |
268 | gl->setResizeMode( QLayout::FreeResize ); | 268 | gl->setResizeMode( QLayout::FreeResize ); |
269 | 269 | ||
270 | btnFullName = new QPushButton( tr( "Full Name..." ), container ); | 270 | btnFullName = new QPushButton( tr( "Full Name..." ), container ); |
271 | gl->addWidget( btnFullName, 0, 0 ); | 271 | gl->addWidget( btnFullName, 0, 0 ); |
@@ -326,9 +326,9 @@ void ContactEditor::init() { | |||
326 | 326 | ||
327 | container = new QWidget( svAddress->viewport() ); | 327 | container = new QWidget( svAddress->viewport() ); |
328 | svAddress->addChild( container ); | 328 | svAddress->addChild( container ); |
329 | 329 | ||
330 | gl = new QGridLayout( container, 5, 3, 0, 1 ); | 330 | gl = new QGridLayout( container, 5, 3, 2, 3 ); |
331 | 331 | ||
332 | cmbAddress = new QComboBox( FALSE, container ); | 332 | cmbAddress = new QComboBox( FALSE, container ); |
333 | cmbAddress->insertItem( tr( "Business" ) ); | 333 | cmbAddress->insertItem( tr( "Business" ) ); |
334 | cmbAddress->insertItem( tr( "Home" ) ); | 334 | cmbAddress->insertItem( tr( "Home" ) ); |
@@ -391,9 +391,9 @@ void ContactEditor::init() { | |||
391 | 391 | ||
392 | container = new QWidget( svDetails->viewport() ); | 392 | container = new QWidget( svDetails->viewport() ); |
393 | svDetails->addChild( container ); | 393 | svDetails->addChild( container ); |
394 | 394 | ||
395 | gl = new QGridLayout( container, 1, 2, 0, 1 ); | 395 | gl = new QGridLayout( container, 1, 2, 2, 3 ); |
396 | 396 | ||
397 | QStringList::ConstIterator it = slDynamicEntries->begin(); | 397 | QStringList::ConstIterator it = slDynamicEntries->begin(); |
398 | for (i = 0; it != slDynamicEntries->end(); i++, ++it) { | 398 | for (i = 0; it != slDynamicEntries->end(); i++, ++it) { |
399 | l = new QLabel( *it, container ); | 399 | l = new QLabel( *it, container ); |
@@ -422,9 +422,9 @@ void ContactEditor::init() { | |||
422 | connect( btnNote, SIGNAL(clicked()), this, SLOT(slotNote()) ); | 422 | connect( btnNote, SIGNAL(clicked()), this, SLOT(slotNote()) ); |
423 | 423 | ||
424 | dlgName = new QDialog( this, "Name Dialog", TRUE ); | 424 | dlgName = new QDialog( this, "Name Dialog", TRUE ); |
425 | dlgName->setCaption( tr("Edit Name") ); | 425 | dlgName->setCaption( tr("Edit Name") ); |
426 | gl = new QGridLayout( dlgName, 4, 2, 0, 1 ); | 426 | gl = new QGridLayout( dlgName, 4, 2, 2, 3 ); |
427 | 427 | ||
428 | l = new QLabel( tr("First Name"), dlgName ); | 428 | l = new QLabel( tr("First Name"), dlgName ); |
429 | gl->addWidget( l, 0, 0 ); | 429 | gl->addWidget( l, 0, 0 ); |
430 | txtFirstName = new QLineEdit( dlgName ); | 430 | txtFirstName = new QLineEdit( dlgName ); |