42 #include "ui_pindisplay.h" 49 ui->label->setText(title);
50 ui->pin->setText(pin);
52 connect(ui->buttonBox, SIGNAL(accepted()),
this, SIGNAL(accepted()));
53 connect(ui->buttonBox, SIGNAL(rejected()),
this, SIGNAL(rejected()));
61 void pinDisplay::on_buttonBox_accepted()
68 ui->buttonBox->addButton(QDialogButtonBox::Cancel);
pinDisplay(QString title, QString pin, QWidget *parent=0)