hlp:桂林国际齿轮泵代码
This commit is contained in:
@@ -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(""));
|
||||
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,20 @@
|
||||
#ifndef VERBVERSION_H
|
||||
#define VERBVERSION_H
|
||||
/*
|
||||
Major.Minor.Rivison.yyyy-MM-DD_Beta
|
||||
*/
|
||||
#define UP_PRINTER_MAJOR_VER 5
|
||||
#define UP_PRINTER_MINOR_VER 12
|
||||
#define UP_PRINTER_RIVISION_VER 1
|
||||
#define UP_PRINTER_STAGE_VER "Std"
|
||||
#define SUB_VERSION "GuiL"
|
||||
//#define UP_PRINTER_STAGE_VER "Beta"
|
||||
//#define UP_PRINTER_STAGE_VER "RC"
|
||||
//#define UP_PRINTER_STAGE_VER "Release"
|
||||
|
||||
|
||||
#define VERNONBACH_VERSION(a,b,c) (((a)<<16) + ((b)<<8) + (c))
|
||||
|
||||
#define VERNONBACH_VERSION_CODE VERNONBACH_VERSION(UP_PRINTER_MAJOR_VER, UP_PRINTER_MINOR_VER, UP_PRINTER_RIVISION_VER)
|
||||
|
||||
#endif // VERBVERSION_H
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
Reference in New Issue
Block a user