first commit

This commit is contained in:
2026-04-29 14:10:10 +08:00
commit b28556d43d
1558 changed files with 241386 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#include "DialogAuthorization.h"
#include "ui_dialogauthorization.h"
DialogAuthorization::DialogAuthorization(QWidget *parent) :
QDialog(parent),
ui(new Ui::DialogAuthorization)
{
ui->setupUi(this);
this->setWindowTitle(tr("输入密码"));
this->setFixedSize(this->geometry().width(),this->geometry().height());
ui->lineEditAuth->setEchoMode(QLineEdit::Password); // 密码不回显
}
DialogAuthorization::~DialogAuthorization()
{
delete ui;
}
QString DialogAuthorization::getAuth(){
return ui->lineEditAuth->text();
}
void DialogAuthorization::clearAuth(){
ui->lineEditAuth->setText(tr(""));
}