hlp:桂林国际齿轮泵代码
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#include "dialogmodifypasswd.h"
|
||||
#include "ui_dialogmodifypasswd.h"
|
||||
|
||||
Dialogmodifypasswd::Dialogmodifypasswd(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::Dialogmodifypasswd)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
this->setWindowTitle(tr("密码授权"));
|
||||
this->setFixedSize(this->geometry().width(),this->geometry().height());
|
||||
ui->lineEdit->setEchoMode(QLineEdit::Password); // 密码不回显
|
||||
}
|
||||
|
||||
Dialogmodifypasswd::~Dialogmodifypasswd()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
QString Dialogmodifypasswd::getModPasswd(){
|
||||
return ui->lineEdit->text();
|
||||
}
|
||||
|
||||
void Dialogmodifypasswd::clearAuth(){
|
||||
ui->lineEdit->setText(tr(""));
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user