| 2 | #include "ui_checkcodedialog.h" |
| 3 | |
| 4 | CheckCodeDialog::CheckCodeDialog(QWidget *parent) : |
| 5 | QDialog(parent), |
| 6 | ui(new Ui::CheckCodeDialog) |
| 7 | { |
| 8 | ui->setupUi(this); |
| 9 | setWindowTitle(tr("注册")); |
| 10 | ui->_lineEdit_1->setText(QString("%1:%2").arg(tr("软件码")).arg(PubLib::getSoftCode())); |
| 11 | ui->_lineEdit_1->setReadOnly(true); |
| 12 | ui->_lineEdit->setPlaceholderText(tr("请输入注册码")); |
| 13 | ui->_lineEdit->setFocus(); |
| 14 | } |
| 15 | |
| 16 | CheckCodeDialog::~CheckCodeDialog() |
| 17 | { |