QTfrontend/ui/dialog/input_password.cpp
branchwebgl
changeset 8444 75db7bb8dce8
parent 8330 aaefa587e277
parent 8434 4821897a0f10
child 8833 c13ebed437cb
equal deleted inserted replaced
8340:46a9fde631f4 8444:75db7bb8dce8
    58     cbSave = new QCheckBox(this);
    58     cbSave = new QCheckBox(this);
    59     cbSave->setText(QCheckBox::tr("Save password"));
    59     cbSave->setText(QCheckBox::tr("Save password"));
    60     layout->addWidget(cbSave, 5, 0);
    60     layout->addWidget(cbSave, 5, 0);
    61 
    61 
    62     QDialogButtonBox* dbbButtons = new QDialogButtonBox(this);
    62     QDialogButtonBox* dbbButtons = new QDialogButtonBox(this);
       
    63     pbNewAccount = dbbButtons->addButton(QString("New Account"), QDialogButtonBox::ActionRole);
    63     QPushButton * pbOK = dbbButtons->addButton(QDialogButtonBox::Ok);
    64     QPushButton * pbOK = dbbButtons->addButton(QDialogButtonBox::Ok);
    64     QPushButton * pbCancel = dbbButtons->addButton(QDialogButtonBox::Cancel);
    65     QPushButton * pbCancel = dbbButtons->addButton(QDialogButtonBox::Cancel);
    65     layout->addWidget(dbbButtons, 6, 0);
    66     layout->addWidget(dbbButtons, 6, 0);
    66 
    67 
    67     connect(pbOK, SIGNAL(clicked()), this, SLOT(accept()));
    68     connect(pbOK, SIGNAL(clicked()), this, SLOT(accept()));