equal
deleted
inserted
replaced
54 cbSave = new QCheckBox(this); |
54 cbSave = new QCheckBox(this); |
55 cbSave->setText(QCheckBox::tr("Save password")); |
55 cbSave->setText(QCheckBox::tr("Save password")); |
56 layout->addWidget(cbSave, 5, 0); |
56 layout->addWidget(cbSave, 5, 0); |
57 |
57 |
58 QDialogButtonBox* dbbButtons = new QDialogButtonBox(this); |
58 QDialogButtonBox* dbbButtons = new QDialogButtonBox(this); |
59 pbNewAccount = dbbButtons->addButton(QString("New Account"), QDialogButtonBox::ActionRole); |
59 pbNewAccount = dbbButtons->addButton(tr("New Account"), QDialogButtonBox::ActionRole); |
60 QPushButton * pbOK = dbbButtons->addButton(QDialogButtonBox::Ok); |
60 QPushButton * pbOK = dbbButtons->addButton(QDialogButtonBox::Ok); |
61 QPushButton * pbCancel = dbbButtons->addButton(QDialogButtonBox::Cancel); |
61 QPushButton * pbCancel = dbbButtons->addButton(QDialogButtonBox::Cancel); |
62 layout->addWidget(dbbButtons, 6, 0); |
62 layout->addWidget(dbbButtons, 6, 0); |
63 |
63 |
64 connect(pbOK, SIGNAL(clicked()), this, SLOT(accept())); |
64 connect(pbOK, SIGNAL(clicked()), this, SLOT(accept())); |