压力算法移植前

This commit is contained in:
2026-06-29 14:54:30 +08:00
parent 507781d127
commit ef2eecf972
1652 changed files with 312373 additions and 29 deletions
+28
View File
@@ -0,0 +1,28 @@
#include "DialogAuthorizationPrint.h"
#include "ui_dialogAuthorizationPrint.h"
DialogAuthorizationPrint::DialogAuthorizationPrint(QWidget *parent) :
QDialog(parent),
ui(new Ui::DialogAuthorizationPrint)
{
ui->setupUi(this);
this->setWindowTitle(tr("请输入打印密码"));
this->setFixedSize(this->geometry().width(),this->geometry().height());
ui->lineEditAuth->setEchoMode(QLineEdit::Password); // 密码不回显
}
DialogAuthorizationPrint::~DialogAuthorizationPrint()
{
delete ui;
}
QString DialogAuthorizationPrint::getAuth(){
return ui->lineEditAuth->text();
}
void DialogAuthorizationPrint::clearAuth(){
ui->lineEditAuth->setText(tr(""));
}