summaryrefslogtreecommitdiffabout
path: root/kaddressbook/xxportselectdialog.cpp
Unidiff
Diffstat (limited to 'kaddressbook/xxportselectdialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/xxportselectdialog.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/kaddressbook/xxportselectdialog.cpp b/kaddressbook/xxportselectdialog.cpp
index e7bc8c0..0127fc0 100644
--- a/kaddressbook/xxportselectdialog.cpp
+++ b/kaddressbook/xxportselectdialog.cpp
@@ -241,10 +241,10 @@ void XXPortSelectDialog::slotHelp()
241void XXPortSelectDialog::initGUI() 241void XXPortSelectDialog::initGUI()
242{ 242{
243 QFrame *page = plainPage(); 243 QFrame *page = plainPage();
244 244
245 QVBoxLayout *topLayout = new QVBoxLayout( page, KDialog::marginHint(), 245 QVBoxLayout *topLayout = new QVBoxLayout( page, KDialog::marginHintSmall(),
246 KDialog::spacingHint() ); 246 KDialog::spacingHintSmall() );
247 247
248 QLabel *label = new QLabel( i18n( "Which contacts do you want to select?" ), page ); 248 QLabel *label = new QLabel( i18n( "Which contacts do you want to select?" ), page );
249 topLayout->addWidget( label ); 249 topLayout->addWidget( label );
250 250
@@ -276,19 +276,20 @@ void XXPortSelectDialog::initGUI()
276 "This option is disabled if you have no categories." ) ); 276 "This option is disabled if you have no categories." ) );
277 groupLayout->addWidget( mUseCategories, 3, 0 ); 277 groupLayout->addWidget( mUseCategories, 3, 0 );
278 278
279 mFiltersCombo = new QComboBox( false, mButtonGroup ); 279 mFiltersCombo = new QComboBox( false, mButtonGroup );
280 mFiltersCombo->setSizePolicy(QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) );
280 QWhatsThis::add( mFiltersCombo, i18n( "Select a filter to decide which contacts to select." ) ); 281 QWhatsThis::add( mFiltersCombo, i18n( "Select a filter to decide which contacts to select." ) );
281 groupLayout->addWidget( mFiltersCombo, 2, 1 ); 282 groupLayout->addWidget( mFiltersCombo, 2, 1 );
282 283
283 mCategoriesView = new QListView( mButtonGroup ); 284 mCategoriesView = new QListView( mButtonGroup );
284 mCategoriesView->addColumn( "" ); 285 mCategoriesView->addColumn( "" );
285 mCategoriesView->header()->hide(); 286 mCategoriesView->header()->hide();
286 QWhatsThis::add( mCategoriesView, i18n( "Check the categories whose members you want to select." ) ); 287 QWhatsThis::add( mCategoriesView, i18n( "Check the categories whose members you want to select." ) );
287 groupLayout->addWidget( mCategoriesView, 3, 1 ); 288 groupLayout->addWidget( mCategoriesView, 3, 1 );
288 289 mCategoriesView->setSizePolicy(QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) );
289 if (QApplication::desktop()->height() == 480 ) 290 //if (QApplication::desktop()->height() == 480 )
290 mCategoriesView->setMaximumHeight( 240 ); 291 // mCategoriesView->setMaximumHeight( 240 );
291 topLayout->addWidget( mButtonGroup ); 292 topLayout->addWidget( mButtonGroup );
292 293
293 QButtonGroup *sortingGroup = new QButtonGroup( i18n( "Sorting" ), page ); 294 QButtonGroup *sortingGroup = new QButtonGroup( i18n( "Sorting" ), page );
294 sortingGroup->setColumnLayout( 0, Qt::Vertical ); 295 sortingGroup->setColumnLayout( 0, Qt::Vertical );