First commit

This commit is contained in:
2026-08-25 10:37:57 +08:00
commit b3b8a40f77
1601 changed files with 275999 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(""));
}