新增默认密码
This commit is contained in:
parent
18ec0257d7
commit
42c5b7e4e1
@ -112,7 +112,7 @@ void MainWindow::showVersionUpdateInfo()
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
void MainWindow::setupUI() {
|
void MainWindow::setupUI() {
|
||||||
setWindowTitle("兔喜Test1.5.2 Author:Zhangzhenghao Email:zzh9953477@gmail.com");
|
setWindowTitle("兔喜Test1.5.3 Author:Zhangzhenghao Email:zzh9953477@gmail.com");
|
||||||
|
|
||||||
// 参考qt_bak的合理尺寸设置,增加竖向高度
|
// 参考qt_bak的合理尺寸设置,增加竖向高度
|
||||||
setMinimumSize(850, 720); // 增加最小高度
|
setMinimumSize(850, 720); // 增加最小高度
|
||||||
@ -184,7 +184,7 @@ void MainWindow::setupUI() {
|
|||||||
QLabel *passwordLabel = new QLabel("密码:");
|
QLabel *passwordLabel = new QLabel("密码:");
|
||||||
passwordLabel->setStyleSheet(QString("QLabel { color: %1; }").arg(textColor));
|
passwordLabel->setStyleSheet(QString("QLabel { color: %1; }").arg(textColor));
|
||||||
authLayout->addWidget(passwordLabel);
|
authLayout->addWidget(passwordLabel);
|
||||||
passwordEdit = new QLineEdit();
|
passwordEdit = new QLineEdit("6bdb82a9953a4d1a8d6608b3a452baae");
|
||||||
passwordEdit->setEchoMode(QLineEdit::Password);
|
passwordEdit->setEchoMode(QLineEdit::Password);
|
||||||
passwordEdit->setMinimumHeight(30);
|
passwordEdit->setMinimumHeight(30);
|
||||||
authLayout->addWidget(passwordEdit);
|
authLayout->addWidget(passwordEdit);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user