QTfrontend/ui/dialog/input_password.cpp
changeset 10537 7475f81a9b2e
parent 10108 c68cf030eded
child 11046 47a8c19ecb60
equal deleted inserted replaced
10536:1010df878643 10537:7475f81a9b2e
    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()));