author | ulf69 <ulf69> | 2004-09-29 20:38:10 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-09-29 20:38:10 (UTC) |
commit | 21e794339f8988d9c370bebec45f60f2918fb671 (patch) (unidiff) | |
tree | 530ac79d2436b7b4588374cddbf95cd73ab5c1e2 | |
parent | 53c2eac6f60a37f9ac8fc10b86460eb9c7347b51 (diff) | |
download | kdepimpi-21e794339f8988d9c370bebec45f60f2918fb671.zip kdepimpi-21e794339f8988d9c370bebec45f60f2918fb671.tar.gz kdepimpi-21e794339f8988d9c370bebec45f60f2918fb671.tar.bz2 |
changed text slightly to accomodate 5500 Layout
-rw-r--r-- | pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp b/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp index 1fc7a94..8afea76 100644 --- a/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp +++ b/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp | |||
@@ -21,97 +21,97 @@ | |||
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include <qcheckbox.h> | 24 | #include <qcheckbox.h> |
25 | #include <qframe.h> | 25 | #include <qframe.h> |
26 | #include <qgroupbox.h> | 26 | #include <qgroupbox.h> |
27 | #include <qlayout.h> | 27 | #include <qlayout.h> |
28 | #include <qpushbutton.h> | 28 | #include <qpushbutton.h> |
29 | #include <qtabwidget.h> | 29 | #include <qtabwidget.h> |
30 | #include <qcombobox.h> | 30 | #include <qcombobox.h> |
31 | #include <qlineedit.h> | 31 | #include <qlineedit.h> |
32 | #include <qspinbox.h> | 32 | #include <qspinbox.h> |
33 | #include <qlabel.h> | 33 | #include <qlabel.h> |
34 | #include <qfile.h> | 34 | #include <qfile.h> |
35 | #include <qvbox.h> | 35 | #include <qvbox.h> |
36 | 36 | ||
37 | #include <kconfig.h> | 37 | #include <kconfig.h> |
38 | #include <kdebug.h> | 38 | #include <kdebug.h> |
39 | #include <kdialog.h> | 39 | #include <kdialog.h> |
40 | #include <klistview.h> | 40 | #include <klistview.h> |
41 | #include <klocale.h> | 41 | #include <klocale.h> |
42 | #include <kglobal.h> | 42 | #include <kglobal.h> |
43 | #include <kmessagebox.h> | 43 | #include <kmessagebox.h> |
44 | #include <kstandarddirs.h> | 44 | #include <kstandarddirs.h> |
45 | #include <kio/kfile/kurlrequester.h> | 45 | #include <kio/kfile/kurlrequester.h> |
46 | 46 | ||
47 | #include "pwmprefs.h" | 47 | #include "pwmprefs.h" |
48 | 48 | ||
49 | #include "pwmconfigwidget.h" | 49 | #include "pwmconfigwidget.h" |
50 | #include "pwmexception.h" | 50 | #include "pwmexception.h" |
51 | 51 | ||
52 | PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *name ) | 52 | PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *name ) |
53 | : KPrefsWidget(prefs, parent, name ) | 53 | : KPrefsWidget(prefs, parent, name ) |
54 | { | 54 | { |
55 | QVBoxLayout *topLayout = new QVBoxLayout( this, 0, | 55 | QVBoxLayout *topLayout = new QVBoxLayout( this, 0, |
56 | KDialog::spacingHint() ); | 56 | KDialog::spacingHint() ); |
57 | 57 | ||
58 | QTabWidget *tabWidget = new QTabWidget( this ); | 58 | QTabWidget *tabWidget = new QTabWidget( this ); |
59 | topLayout->addWidget( tabWidget ); | 59 | topLayout->addWidget( tabWidget ); |
60 | 60 | ||
61 | // windowsStyle page | 61 | // windowsStyle page |
62 | ////////////////////////////////////////////////////// | 62 | ////////////////////////////////////////////////////// |
63 | QWidget *windowStylePage = new QWidget( this ); | 63 | QWidget *windowStylePage = new QWidget( this ); |
64 | QGridLayout *windowStyleLayout = new QGridLayout( windowStylePage, 3, 3); | 64 | QGridLayout *windowStyleLayout = new QGridLayout( windowStylePage, 3, 3); |
65 | 65 | ||
66 | int i = 0; | 66 | int i = 0; |
67 | KPrefsWidRadios * windowStyle = addWidRadios(i18n("Window-style:") ,&(prefs->mMainViewStyle), windowStylePage); | 67 | KPrefsWidRadios * windowStyle = addWidRadios(i18n("Window-style:") ,&(prefs->mMainViewStyle), windowStylePage); |
68 | windowStyle->addRadio(i18n("Category on top")); | 68 | windowStyle->addRadio(i18n("Category on top")); |
69 | windowStyle->addRadio(i18n("Category-list left")); | 69 | windowStyle->addRadio(i18n("Category-list left/top")); |
70 | windowStyleLayout->addMultiCellWidget( (QWidget*)windowStyle->groupBox(),i,i,0,2); | 70 | windowStyleLayout->addMultiCellWidget( (QWidget*)windowStyle->groupBox(),i,i,0,2); |
71 | ++i; | 71 | ++i; |
72 | 72 | ||
73 | KPrefsWidFont *selEntrFont = | 73 | KPrefsWidFont *selEntrFont = |
74 | addWidFont(i18n("Password"),i18n("Font for Pw entries:"), | 74 | addWidFont(i18n("Password"),i18n("Font for Pw entries:"), |
75 | &(prefs->mEntryFont),windowStylePage); | 75 | &(prefs->mEntryFont),windowStylePage); |
76 | windowStyleLayout->addWidget(selEntrFont->label(),i,0); | 76 | windowStyleLayout->addWidget(selEntrFont->label(),i,0); |
77 | windowStyleLayout->addWidget(selEntrFont->preview(),i,1); | 77 | windowStyleLayout->addWidget(selEntrFont->preview(),i,1); |
78 | windowStyleLayout->addWidget(selEntrFont->button(),i,2); | 78 | windowStyleLayout->addWidget(selEntrFont->button(),i,2); |
79 | ++i; | 79 | ++i; |
80 | 80 | ||
81 | 81 | ||
82 | // File page | 82 | // File page |
83 | ////////////////////////////////////////////////////// | 83 | ////////////////////////////////////////////////////// |
84 | QWidget *filePage = new QWidget( this ); | 84 | QWidget *filePage = new QWidget( this ); |
85 | QGridLayout *fileLayout = new QGridLayout( filePage, 3, 2); | 85 | QGridLayout *fileLayout = new QGridLayout( filePage, 3, 2); |
86 | 86 | ||
87 | i = 0; | 87 | i = 0; |
88 | KPrefsWidRadios * compr = addWidRadios(i18n("Compression:") ,&(prefs->mCompression), filePage); | 88 | KPrefsWidRadios * compr = addWidRadios(i18n("Compression:") ,&(prefs->mCompression), filePage); |
89 | compr->addRadio(i18n("none")); | 89 | compr->addRadio(i18n("none")); |
90 | compr->addRadio(i18n("gzip")); | 90 | compr->addRadio(i18n("gzip")); |
91 | compr->addRadio(i18n("bzip2")); | 91 | compr->addRadio(i18n("bzip2")); |
92 | fileLayout->addMultiCellWidget( (QWidget*)compr->groupBox(),i,i,0,1); | 92 | fileLayout->addMultiCellWidget( (QWidget*)compr->groupBox(),i,i,0,1); |
93 | ++i; | 93 | ++i; |
94 | 94 | ||
95 | permissionLineEdit = new QLineEdit(filePage); | 95 | permissionLineEdit = new QLineEdit(filePage); |
96 | QLabel* permissionLineLabel = new QLabel(permissionLineEdit, i18n("Permissions:"), filePage); | 96 | QLabel* permissionLineLabel = new QLabel(permissionLineEdit, i18n("Permissions:"), filePage); |
97 | fileLayout->addWidget(permissionLineLabel,i,0); | 97 | fileLayout->addWidget(permissionLineLabel,i,0); |
98 | fileLayout->addWidget(permissionLineEdit,i,1); | 98 | fileLayout->addWidget(permissionLineEdit,i,1); |
99 | ++i; | 99 | ++i; |
100 | 100 | ||
101 | KPrefsWidBool *sb = addWidBool(i18n("Make backup before saving"), | 101 | KPrefsWidBool *sb = addWidBool(i18n("Make backup before saving"), |
102 | &(prefs->mMakeFileBackup),filePage); | 102 | &(prefs->mMakeFileBackup),filePage); |
103 | fileLayout->addMultiCellWidget(sb->checkBox(), i,i,0,1); | 103 | fileLayout->addMultiCellWidget(sb->checkBox(), i,i,0,1); |
104 | ++i; | 104 | ++i; |
105 | 105 | ||
106 | // Timeout page | 106 | // Timeout page |
107 | ////////////////////////////////////////////////////// | 107 | ////////////////////////////////////////////////////// |
108 | QWidget *timeoutPage = new QWidget( this ); | 108 | QWidget *timeoutPage = new QWidget( this ); |
109 | QGridLayout *timeoutLayout = new QGridLayout( timeoutPage, 3, 2); | 109 | QGridLayout *timeoutLayout = new QGridLayout( timeoutPage, 3, 2); |
110 | 110 | ||
111 | i = 0; | 111 | i = 0; |
112 | pwTimeoutSpinBox = new QSpinBox( timeoutPage, "pwTimeoutSpinBox" ); | 112 | pwTimeoutSpinBox = new QSpinBox( timeoutPage, "pwTimeoutSpinBox" ); |
113 | QLabel* timeoutLabel = new QLabel(pwTimeoutSpinBox, i18n("Password timeout\n(timeout to hold password in\nmemory,so you don't have to\nre-enter it,if you\nalready have entered it)\n[set to 0 to disable]:"), timeoutPage); | 113 | QLabel* timeoutLabel = new QLabel(pwTimeoutSpinBox, i18n("Password timeout\n(timeout to hold password in\nmemory,so you don't have to\nre-enter it,if you\nalready have entered it)\n[set to 0 to disable]:"), timeoutPage); |
114 | timeoutLayout->addMultiCellWidget(timeoutLabel,i, i, 0 ,0); | 114 | timeoutLayout->addMultiCellWidget(timeoutLabel,i, i, 0 ,0); |
115 | timeoutLayout->addWidget(pwTimeoutSpinBox,i,1); | 115 | timeoutLayout->addWidget(pwTimeoutSpinBox,i,1); |
116 | ++i; | 116 | ++i; |
117 | 117 | ||