author | zautrix <zautrix> | 2004-07-03 22:32:36 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-03 22:32:36 (UTC) |
commit | 00fe3539778c859d22f595e516733b3cc792e167 (patch) (unidiff) | |
tree | 0970b0a64c63395a0d66f1debe8226501b08e7ea /kaddressbook/kcmconfigs | |
parent | 5e59162e6eb6603610d1ca4c96d5d97acae0f60b (diff) | |
download | kdepimpi-00fe3539778c859d22f595e516733b3cc792e167.zip kdepimpi-00fe3539778c859d22f595e516733b3cc792e167.tar.gz kdepimpi-00fe3539778c859d22f595e516733b3cc792e167.tar.bz2 |
Made configure kaddressbook dialog fitting on 5500 display
-rw-r--r-- | kaddressbook/kcmconfigs/addresseewidget.cpp | 14 | ||||
-rw-r--r-- | kaddressbook/kcmconfigs/kabconfigwidget.cpp | 14 | ||||
-rw-r--r-- | kaddressbook/kcmconfigs/kcmkabconfig.cpp | 6 |
3 files changed, 25 insertions, 9 deletions
diff --git a/kaddressbook/kcmconfigs/addresseewidget.cpp b/kaddressbook/kcmconfigs/addresseewidget.cpp index 0f3c353..f84b2ba 100644 --- a/kaddressbook/kcmconfigs/addresseewidget.cpp +++ b/kaddressbook/kcmconfigs/addresseewidget.cpp | |||
@@ -60,3 +60,3 @@ NamePartWidget::NamePartWidget( const QString &title, QWidget *parent, | |||
60 | bbox->layout(); | 60 | bbox->layout(); |
61 | layout->addMultiCellWidget( bbox, 0, 2, 2,2); | 61 | layout->addMultiCellWidget( bbox, 0, 1, 2,2); |
62 | 62 | ||
@@ -163,3 +163,9 @@ AddresseeWidget::AddresseeWidget( QWidget *parent, const char *name ) | |||
163 | mSuffix = new NamePartWidget( i18n( "Suffixes" ), this ); | 163 | mSuffix = new NamePartWidget( i18n( "Suffixes" ), this ); |
164 | QLabel *label = new QLabel( i18n( "Default formatted name:" ), this ); | 164 | QString dfn; |
165 | if (QApplication::desktop()->width() > 320 ) | ||
166 | dfn = i18n( "Default formatted name:" ); | ||
167 | else | ||
168 | dfn = i18n( "Def. formatted name:" ); | ||
169 | |||
170 | QLabel *label = new QLabel( dfn, this ); | ||
165 | 171 | ||
@@ -173,4 +179,4 @@ AddresseeWidget::AddresseeWidget( QWidget *parent, const char *name ) | |||
173 | { | 179 | { |
174 | layout = new QGridLayout( this, 4, 2, KDialog::marginHint(), | 180 | layout = new QGridLayout( this, 4, 2, KDialog::marginHintSmall(), |
175 | KDialog::spacingHint() ); | 181 | KDialog::spacingHintSmall() ); |
176 | 182 | ||
diff --git a/kaddressbook/kcmconfigs/kabconfigwidget.cpp b/kaddressbook/kcmconfigs/kabconfigwidget.cpp index 7b3e5c6..38c7946 100644 --- a/kaddressbook/kcmconfigs/kabconfigwidget.cpp +++ b/kaddressbook/kcmconfigs/kabconfigwidget.cpp | |||
@@ -93,4 +93,4 @@ KABConfigWidget::KABConfigWidget( QWidget *parent, const char *name ) | |||
93 | QWidget *generalPage = new QWidget( this ); | 93 | QWidget *generalPage = new QWidget( this ); |
94 | QVBoxLayout *layout = new QVBoxLayout( generalPage, KDialog::marginHint(), | 94 | QVBoxLayout *layout = new QVBoxLayout( generalPage, KDialog::marginHintSmall(), |
95 | KDialog::spacingHint() ); | 95 | KDialog::spacingHintSmall() ); |
96 | 96 | ||
@@ -99,3 +99,6 @@ KABConfigWidget::KABConfigWidget( QWidget *parent, const char *name ) | |||
99 | boxLayout->setAlignment( Qt::AlignTop ); | 99 | boxLayout->setAlignment( Qt::AlignTop ); |
100 | 100 | boxLayout->setMargin(KDialog::marginHintSmall() ); | |
101 | groupBox->layout()->setMargin(KDialog::marginHintSmall()) ; | ||
102 | groupBox->layout()->setSpacing(KDialog::spacingHintSmall()); | ||
103 | boxLayout->setSpacing( KDialog::spacingHintSmall() ); | ||
101 | mViewsSingleClickBox = new QCheckBox( i18n( "Honor KDE single click" ), groupBox, "msingle" ); | 104 | mViewsSingleClickBox = new QCheckBox( i18n( "Honor KDE single click" ), groupBox, "msingle" ); |
@@ -111,3 +114,6 @@ KABConfigWidget::KABConfigWidget( QWidget *parent, const char *name ) | |||
111 | boxLayout->setAlignment( Qt::AlignTop ); | 114 | boxLayout->setAlignment( Qt::AlignTop ); |
112 | 115 | boxLayout->setMargin(KDialog::marginHintSmall()); | |
116 | boxLayout->setSpacing(KDialog::spacingHintSmall()); | ||
117 | groupBox->layout()->setMargin(1) ; | ||
118 | groupBox->layout()->setSpacing(0); | ||
113 | mExtensionView = new KListView( groupBox ); | 119 | mExtensionView = new KListView( groupBox ); |
diff --git a/kaddressbook/kcmconfigs/kcmkabconfig.cpp b/kaddressbook/kcmconfigs/kcmkabconfig.cpp index 791a940..a278042 100644 --- a/kaddressbook/kcmconfigs/kcmkabconfig.cpp +++ b/kaddressbook/kcmconfigs/kcmkabconfig.cpp | |||
@@ -30,2 +30,3 @@ | |||
30 | #include <klocale.h> | 30 | #include <klocale.h> |
31 | #include <stdlib.h> | ||
31 | 32 | ||
@@ -45,2 +46,3 @@ KCMKabConfig::KCMKabConfig( QWidget *parent, const char *name ) | |||
45 | { | 46 | { |
47 | //abort(); | ||
46 | QVBoxLayout *layout = new QVBoxLayout( this ); | 48 | QVBoxLayout *layout = new QVBoxLayout( this ); |
@@ -48,3 +50,5 @@ KCMKabConfig::KCMKabConfig( QWidget *parent, const char *name ) | |||
48 | layout->addWidget( mConfigWidget ); | 50 | layout->addWidget( mConfigWidget ); |
49 | 51 | layout->setSpacing( 0 ); | |
52 | layout->setMargin( 0 ); | ||
53 | |||
50 | connect( mConfigWidget, SIGNAL( changed( bool ) ), SIGNAL( changed( bool ) ) ); | 54 | connect( mConfigWidget, SIGNAL( changed( bool ) ), SIGNAL( changed( bool ) ) ); |