[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/certmanager/lib/ui
From: Nadeem Hasan <nhasan () nadmm ! com>
Date: 2004-10-27 3:35:03
Message-ID: 20041027033503.6B28E16C98 () office ! kde ! org
[Download RAW message or body]
CVS commit by nhasan:
* Add a label for the passphrase lineedit
* Use a bigger icon size
* Fix margin
M +3 -2 passphrasedialog.cpp 1.4
--- kdepim/certmanager/lib/ui/passphrasedialog.cpp #1.3:1.4
@@ -75,8 +75,8 @@ Kleo::PassphraseDialog::PassphraseDialog
setMainWidget( w );
- QHBoxLayout * hlay = new QHBoxLayout( w, marginHint(), spacingHint() );
+ QHBoxLayout * hlay = new QHBoxLayout( w, 0, spacingHint() );
QLabel * label = new QLabel( w );
- label->setPixmap( BarIcon( "pgp-keys" ) );
+ label->setPixmap( DesktopIcon( "pgp-keys", KIcon::SizeMedium ) );
hlay->addWidget( label, 0, AlignTop );
@@ -85,4 +85,5 @@ Kleo::PassphraseDialog::PassphraseDialog
vlay->addWidget( new QLabel( msg.isEmpty() ? i18n("Please enter your passphrase:") : msg, w ) );
+ vlay->addWidget( new QLabel( i18n( "Enter passphrase:" ), w ) );
d->lineedit = new KPasswordEdit( KPasswordEdit::OneStar, w, "d->lineedit" );
d->lineedit->setMinimumWidth( fontMetrics().width("*") * 20 );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic