-rw-r--r-- | kabc/addresseedialog.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/kabc/addresseedialog.cpp b/kabc/addresseedialog.cpp index 3e7b72c..9197850 100644 --- a/kabc/addresseedialog.cpp +++ b/kabc/addresseedialog.cpp | |||
@@ -77,3 +77,3 @@ AddresseeDialog::AddresseeDialog( QWidget *parent, bool multiple ) : | |||
77 | 77 | ||
78 | QBoxLayout *listLayout = new QVBoxLayout (listWidget) ; | 78 | QVBoxLayout *listLayout = new QVBoxLayout (listWidget) ; |
79 | //topLayout->addLayout( listLayout ); | 79 | //topLayout->addLayout( listLayout ); |
@@ -90,4 +90,4 @@ AddresseeDialog::AddresseeDialog( QWidget *parent, bool multiple ) : | |||
90 | 90 | ||
91 | QHBox* searchBox = new QHBox ( listWidget ); | 91 | //QHBox* searchBox = new QHBox ( listWidget ); |
92 | mAddresseeEdit = new QLineEdit( searchBox ); | 92 | mAddresseeEdit = new QLineEdit( listWidget ); |
93 | connect( mAddresseeEdit, SIGNAL( returnPressed() ), | 93 | connect( mAddresseeEdit, SIGNAL( returnPressed() ), |
@@ -95,6 +95,9 @@ AddresseeDialog::AddresseeDialog( QWidget *parent, bool multiple ) : | |||
95 | mAddresseeEdit->setFocus(); | 95 | mAddresseeEdit->setFocus(); |
96 | QPushButton *searchButton = new QPushButton( i18n("Search!"), searchBox ); | 96 | QPushButton *searchButton = new QPushButton( i18n("Search!"), listWidget ); |
97 | connect ( searchButton, SIGNAL( clicked() ), SLOT( loadAddressBook() ) ); | 97 | connect ( searchButton, SIGNAL( clicked() ), SLOT( loadAddressBook() ) ); |
98 | 98 | ||
99 | listLayout->addWidget( searchBox ); | 99 | QHBoxLayout *searchLayout = new QHBoxLayout (listLayout) ; |
100 | searchLayout->addWidget( mAddresseeEdit ); | ||
101 | searchLayout->addWidget( searchButton ); | ||
102 | //listLayout->addWidget( searchBox ); | ||
100 | 103 | ||
@@ -105,3 +108,3 @@ AddresseeDialog::AddresseeDialog( QWidget *parent, bool multiple ) : | |||
105 | 108 | ||
106 | QVBox *selectedGroup = new QVBox( mMiniSplitter ); | 109 | QVBox *selectedGroup = new QVBox( mMiniSplitter ); |
107 | new QLabel ( i18n("Selected:"), selectedGroup ); | 110 | new QLabel ( i18n("Selected:"), selectedGroup ); |