author | zautrix <zautrix> | 2005-06-25 19:57:07 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-25 19:57:07 (UTC) |
commit | 6d8fdbda8cb12b768932a80ccd25d275bc4b30f9 (patch) (side-by-side diff) | |
tree | cc70ca91b59c995c07b69e1afd3c3c8082f51e95 | |
parent | 7ec11b3160c136e0a8c4efa270fac23b2edc488e (diff) | |
download | kdepimpi-6d8fdbda8cb12b768932a80ccd25d275bc4b30f9.zip kdepimpi-6d8fdbda8cb12b768932a80ccd25d275bc4b30f9.tar.gz kdepimpi-6d8fdbda8cb12b768932a80ccd25d275bc4b30f9.tar.bz2 |
fixxx
-rw-r--r-- | pwmanager/pwmanager/addentrywnd_emb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/addentrywnd_emb.cpp b/pwmanager/pwmanager/addentrywnd_emb.cpp index c2590f0..2fa9e8a 100644 --- a/pwmanager/pwmanager/addentrywnd_emb.cpp +++ b/pwmanager/pwmanager/addentrywnd_emb.cpp @@ -48,65 +48,65 @@ addEntryWnd::addEntryWnd( PwMDoc* d, QWidget* parent, const char* name) KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, parent, name, true ), doc(d) { QWidget *page = plainPage(); QVBoxLayout *pageLayout = new QVBoxLayout( page ); QTabWidget* mTabWidget = new QTabWidget( page ); pageLayout->addWidget( mTabWidget ); //////////////////////////////////////////////////////////////////// // This is the Password tab QWidget *tab1 = new QWidget( mTabWidget ); QGridLayout *layout = new QGridLayout( tab1, 3, 1 ); layout->setMargin( KDialogBase::marginHint() ); layout->setSpacing( KDialogBase::spacingHint() ); int i = 0; descLineEdit = new KLineEdit( tab1, "descLineEdit" ); descLineLabel = new QLabel( descLineEdit, i18n("Description:"), tab1 ); layout->addWidget( descLineLabel, i, 0 ); layout->addWidget( descLineEdit, i, 1 ); i++; categoryComboBox = new KComboBox( tab1 ); QLabel* label = new QLabel( categoryComboBox, i18n("Category:"), tab1 ); layout->addWidget( label, i, 0 ); layout->addWidget( categoryComboBox, i, 1 ); i++; categoryComboBox->setEditable( TRUE ); - categoryComboBox->setSizeLimit( 100 ); + categoryComboBox->setSizeLimit( 8 ); categoryComboBox->setAutoCompletion( TRUE ); categoryComboBox->setDuplicatesEnabled( FALSE ); connect(categoryComboBox,SIGNAL(activated(const QString&)), SLOT(categorySelected(const QString&))); usernameLineEdit = new KLineEdit( tab1, "usernameLineEdit" ); usernameLineLabel = new QLabel( usernameLineEdit, i18n("Username:"), tab1 ); layout->addWidget( usernameLineLabel, i, 0 ); layout->addWidget( usernameLineEdit, i, 1 ); i++; pwLineEdit = new KLineEdit( tab1, "pwLineEdit" ); pwLineEdit->setEchoMode( QLineEdit::Password ); pwLineLabel = new QLabel( pwLineEdit, i18n("Password:"), tab1 ); layout->addWidget( pwLineLabel, i, 0 ); layout->addWidget( pwLineEdit, i, 1 ); i++; revealButton = new QPushButton( i18n("&Reveal"), tab1, "revealButton" ); revealButton->setToggleButton( TRUE ); layout->addWidget( revealButton, i, 0 ); generateButton = new QPushButton( i18n("&Generate"), tab1, "generateButton" ); layout->addWidget( generateButton, i, 1 ); i++; urlLineEdit = new KLineEdit( tab1, "urlLineEdit" ); label = new QLabel( urlLineEdit, i18n("URL:"), tab1 ); layout->addWidget( label, i, 0 ); layout->addWidget( urlLineEdit, i, 1 ); i++; |