author | zautrix <zautrix> | 2005-06-24 23:30:30 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-24 23:30:30 (UTC) |
commit | 184833db0d1bcb63e7d4bd5945ccdc0e6b92f7b8 (patch) (unidiff) | |
tree | 96074dff5dddd80afa2773f0bf573e0155f73293 /pwmanager | |
parent | 3dbc82b2711811450b77b85a5fd85744a61d0a2c (diff) | |
download | kdepimpi-184833db0d1bcb63e7d4bd5945ccdc0e6b92f7b8.zip kdepimpi-184833db0d1bcb63e7d4bd5945ccdc0e6b92f7b8.tar.gz kdepimpi-184833db0d1bcb63e7d4bd5945ccdc0e6b92f7b8.tar.bz2 |
sec fix
-rw-r--r-- | pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp b/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp index c1ca536..2c5189c 100644 --- a/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp +++ b/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp | |||
@@ -160,11 +160,14 @@ PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *n | |||
160 | pwTimeoutSpinBox = new QSpinBox( 0,600,10,timeoutPage, "pwTimeoutSpinBox" ); | 160 | pwTimeoutSpinBox = new QSpinBox( 0,600,10,timeoutPage, "pwTimeoutSpinBox" ); |
161 | 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); | 161 | QLabel* timeoutLabel = new QLabel(pwTimeoutSpinBox, i18n("<b>Password timeout</b> (timeout to hold password in memory,so you don't have to re-enter it,if you already have entered it) [set to 0 to disable]:"), timeoutPage); |
162 | timeoutLayout->addMultiCellWidget(timeoutLabel,i, i, 0 ,0); | 162 | timeoutLayout->addMultiCellWidget(timeoutLabel, i, i, 0 ,1); |
163 | timeoutLayout->addWidget(pwTimeoutSpinBox,i,1); | ||
164 | ++i; | 163 | ++i; |
165 | 164 | timeoutLayout->addMultiCellWidget(pwTimeoutSpinBox,i,i,0,1); | |
165 | ++i; | ||
166 | pwTimeoutSpinBox->setSuffix ( i18n(" sec") ); | ||
166 | lockTimeoutSpinBox = new QSpinBox( 0,600,10,timeoutPage, "lockTimeoutSpinBox" ); | 167 | lockTimeoutSpinBox = new QSpinBox( 0,600,10,timeoutPage, "lockTimeoutSpinBox" ); |
167 | QLabel* lockTimeoutLabel = new QLabel(lockTimeoutSpinBox, i18n("Auto-lock timeout\n(auto lock document after this\namount of seconds)\n[set to 0 to disable]:"), timeoutPage); | 168 | QLabel* lockTimeoutLabel = new QLabel(lockTimeoutSpinBox, i18n("<b>Auto-lock timeout</b> (auto lock document after this\namount of seconds) [set to 0 to disable]:"), timeoutPage); |
168 | timeoutLayout->addMultiCellWidget(lockTimeoutLabel,i, i, 0 ,0); | 169 | timeoutLayout->addMultiCellWidget(lockTimeoutLabel,i, i, 0 ,1); |
169 | timeoutLayout->addWidget(lockTimeoutSpinBox,i,1); | 170 | ++i; |
171 | timeoutLayout->addMultiCellWidget(lockTimeoutSpinBox,i,i,0,1); | ||
172 | lockTimeoutSpinBox->setSuffix ( i18n(" sec") ); | ||
170 | ++i; | 173 | ++i; |
@@ -175,3 +178,5 @@ PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *n | |||
175 | ++i; | 178 | ++i; |
176 | 179 | sb = addWidBool(i18n("Open document with passwords unlocked"),&(prefs->mUnlockOnOpen),timeoutPage); | |
180 | timeoutLayout->addMultiCellWidget(sb->checkBox(), i,i,0,1); | ||
181 | ++i; | ||
177 | 182 | ||
@@ -216,3 +221,3 @@ PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *n | |||
216 | 221 | ||
217 | 222 | #if 0 | |
218 | // miscelaneous page | 223 | // miscelaneous page |
@@ -254,3 +259,3 @@ PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *n | |||
254 | */ | 259 | */ |
255 | 260 | #endif | |
256 | 261 | ||
@@ -261,3 +266,3 @@ PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *n | |||
261 | tabWidget->addTab( externalappPage, i18n( "External apps" ) ); | 266 | tabWidget->addTab( externalappPage, i18n( "External apps" ) ); |
262 | tabWidget->addTab( miscPage, i18n( "Miscellaneous" ) ); | 267 | //tabWidget->addTab( miscPage, i18n( "Miscellaneous" ) ); |
263 | 268 | ||