Compare commits
1 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
7a69ffcd1b | 2 years ago |
@ -1,42 +0,0 @@
|
||||
#include "add_administration.h"
|
||||
#include "ui_add_administration.h"
|
||||
#include "administration.h"
|
||||
|
||||
add_administration::add_administration(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::add_administration)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
QIcon logo(":/image/icon/logo.png");
|
||||
this->setWindowIcon(logo);
|
||||
this->setWindowTitle("提示");
|
||||
this->setFixedSize(400,300);
|
||||
bg = new QLabel(this);
|
||||
bg->setScaledContents(true);
|
||||
bg->setPixmap(QPixmap(":/image/bg/add.jpg"));
|
||||
bg->lower();
|
||||
|
||||
}
|
||||
|
||||
add_administration::~add_administration()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void add_administration::paintEvent(QPaintEvent*)
|
||||
{
|
||||
bg->resize(ui->widget->size());
|
||||
}
|
||||
|
||||
void add_administration::on_pushButton_clicked()
|
||||
{
|
||||
//administration *ad = new administration;
|
||||
QSqlQuery query((db));
|
||||
query.prepare("INSERT into room VALUES(:n,1,1,1,1,NULL,NULL);");
|
||||
query.bindValue(":n",ui->lineEdit->text());
|
||||
query.exec();
|
||||
QMessageBox::information(this,tr("提示"),("添加成功,请刷新"));
|
||||
this->hide();
|
||||
|
||||
}
|
||||
|
||||
@ -1,33 +0,0 @@
|
||||
#ifndef ADD_ADMINISTRATION_H
|
||||
#define ADD_ADMINISTRATION_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <qsqldatabase.h>
|
||||
#include <administration.h>
|
||||
#include <QLabel>
|
||||
|
||||
namespace Ui {
|
||||
class add_administration;
|
||||
}
|
||||
|
||||
class add_administration : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit add_administration(QWidget *parent = nullptr);
|
||||
~add_administration();
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent*);
|
||||
|
||||
private slots:
|
||||
void on_pushButton_clicked();
|
||||
|
||||
private:
|
||||
Ui::add_administration *ui;
|
||||
QSqlDatabase db;
|
||||
QLabel *bg;
|
||||
};
|
||||
|
||||
#endif // ADD_ADMINISTRATION_H
|
||||
@ -1,76 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>add_administration</class>
|
||||
<widget class="QDialog" name="add_administration">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="widget" native="true">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QWidget" name="layoutWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>50</x>
|
||||
<y>90</y>
|
||||
<width>301</width>
|
||||
<height>81</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>房间号:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="lineEdit">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>150</x>
|
||||
<y>230</y>
|
||||
<width>100</width>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>确定</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@ -1,35 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>cellstatus</class>
|
||||
<widget class="QWidget" name="cellstatus">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="text">
|
||||
<string>订</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<property name="text">
|
||||
<string>退</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@ -1,40 +0,0 @@
|
||||
#include "checkbtn.h"
|
||||
#include "ui_checkbtn.h"
|
||||
#include "customerinfo.h"
|
||||
#include <QDebug>
|
||||
|
||||
checkbtn::checkbtn(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::checkbtn)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
checkbtn::~checkbtn()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void checkbtn::setroomNum(int roomNum){
|
||||
this->roomNum = roomNum;
|
||||
}
|
||||
|
||||
void checkbtn::setDB(QSqlDatabase db){
|
||||
this->db = db;
|
||||
}
|
||||
|
||||
void checkbtn::on_pushButton_clicked()
|
||||
{
|
||||
customerinfo *info = new customerinfo;
|
||||
info->setDB(db);
|
||||
info->setroomNum(roomNum);
|
||||
info->show();
|
||||
}
|
||||
|
||||
void checkbtn::setisused(bool i){
|
||||
isused = i;
|
||||
}
|
||||
|
||||
void checkbtn::setbtn(){
|
||||
ui->pushButton->setEnabled(isused);
|
||||
}
|
||||
@ -1,33 +0,0 @@
|
||||
#ifndef CHECKBTN_H
|
||||
#define CHECKBTN_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QSqlDatabase>
|
||||
|
||||
namespace Ui {
|
||||
class checkbtn;
|
||||
}
|
||||
|
||||
class checkbtn : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit checkbtn(QWidget *parent = nullptr);
|
||||
~checkbtn();
|
||||
void setroomNum(int roomNum);
|
||||
void setDB(QSqlDatabase db);
|
||||
void setisused(bool i);
|
||||
void setbtn();
|
||||
|
||||
private slots:
|
||||
void on_pushButton_clicked();
|
||||
|
||||
private:
|
||||
Ui::checkbtn *ui;
|
||||
int roomNum;
|
||||
QSqlDatabase db;
|
||||
bool isused;
|
||||
};
|
||||
|
||||
#endif // CHECKBTN_H
|
||||
@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>checkbtn</class>
|
||||
<widget class="QWidget" name="checkbtn">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>查看</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@ -1,57 +0,0 @@
|
||||
#include "customerinfo.h"
|
||||
#include "ui_customerinfo.h"
|
||||
#include <QDebug>
|
||||
|
||||
customerinfo::customerinfo(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
ui(new Ui::customerinfo)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
QIcon logo(":/image/icon/logo.png");
|
||||
this->setWindowIcon(logo);
|
||||
this->setWindowTitle("客户信息");
|
||||
this->setFixedSize(800,600);
|
||||
bg = new QLabel(this);
|
||||
bg->setScaledContents(true);
|
||||
bg->setPixmap(QPixmap(":/image/bg/register.jpg"));
|
||||
bg->lower();
|
||||
|
||||
ui->lineEdit->setEnabled(false);
|
||||
ui->lineEdit_2->setEnabled(false);
|
||||
ui->lineEdit_3->setEnabled(false);
|
||||
ui->lineEdit_4->setEnabled(false);
|
||||
}
|
||||
|
||||
customerinfo::~customerinfo()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void customerinfo::paintEvent(QPaintEvent*)
|
||||
{
|
||||
bg->resize(ui->widget->size());
|
||||
QSqlQuery query;
|
||||
query.prepare("select * from customer where room_num like :roomNum;");
|
||||
query.bindValue(":roomNum",roomNum);
|
||||
query.exec();
|
||||
if(query.next()){
|
||||
ui->lineEdit->setText(query.value(0).toString());
|
||||
ui->lineEdit_2->setText(query.value(2).toString());
|
||||
ui->lineEdit_3->setText(query.value(3).toString());
|
||||
ui->lineEdit_4->setText(query.value(4).toString());
|
||||
}
|
||||
}
|
||||
|
||||
void customerinfo::setroomNum(int roomNum){
|
||||
this->roomNum = roomNum;
|
||||
}
|
||||
|
||||
void customerinfo::setDB(QSqlDatabase db){
|
||||
this->db = db;
|
||||
}
|
||||
|
||||
void customerinfo::on_pushButton_clicked()
|
||||
{
|
||||
this->hide();
|
||||
}
|
||||
|
||||
@ -1,36 +0,0 @@
|
||||
#ifndef CUSTOMERINFO_H
|
||||
#define CUSTOMERINFO_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QSqlDatabase>
|
||||
#include <QSqlQuery>
|
||||
#include <QLabel>
|
||||
|
||||
namespace Ui {
|
||||
class customerinfo;
|
||||
}
|
||||
|
||||
class customerinfo : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit customerinfo(QWidget *parent = nullptr);
|
||||
~customerinfo();
|
||||
void setDB(QSqlDatabase db);
|
||||
void setroomNum(int roomNum);
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent*);
|
||||
|
||||
private slots:
|
||||
void on_pushButton_clicked();
|
||||
|
||||
private:
|
||||
Ui::customerinfo *ui;
|
||||
QSqlDatabase db;
|
||||
int roomNum;
|
||||
QLabel *bg;
|
||||
};
|
||||
|
||||
#endif // CUSTOMERINFO_H
|
||||
@ -1,178 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>orderoom</class>
|
||||
<widget class="QWidget" name="orderoom">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>800</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="widget" native="true">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>800</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QLineEdit" name="lineEdit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>200</x>
|
||||
<y>60</y>
|
||||
<width>461</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border-radius:15px;</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="btn_search">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>670</x>
|
||||
<y>60</y>
|
||||
<width>121</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>检索</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>10</y>
|
||||
<width>341</width>
|
||||
<height>131</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>15</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>检索客户信息:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QWidget" name="horizontalLayoutWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>-1</x>
|
||||
<y>489</y>
|
||||
<width>801</width>
|
||||
<height>111</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="btn_registers">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>新建客户</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="btn_order">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="focusPolicy">
|
||||
<enum>Qt::NoFocus</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>订房</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_3">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QTableWidget" name="tableWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>130</y>
|
||||
<width>781</width>
|
||||
<height>341</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(0, 0, 0,50);
|
||||
color: rgb(255, 255, 255);</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
Before Width: | Height: | Size: 167 KiB |
@ -1,40 +0,0 @@
|
||||
#ifndef REGISTERS_H
|
||||
#define REGISTERS_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QLabel>
|
||||
#include <QDebug>
|
||||
#include <QString>
|
||||
#include <QMessageBox>
|
||||
#include <QSqlDatabase>
|
||||
#include <QSqlQuery>
|
||||
|
||||
namespace Ui {
|
||||
class registers;
|
||||
}
|
||||
|
||||
class registers : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit registers(QWidget *parent = nullptr);
|
||||
~registers();
|
||||
void settype(int i);
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent*);
|
||||
|
||||
private slots:
|
||||
void on_pushButton_clicked();
|
||||
|
||||
private:
|
||||
bool verify(int x);
|
||||
void sign_in();
|
||||
Ui::registers *ui;
|
||||
QLabel *bg;
|
||||
QSqlDatabase db;
|
||||
int type;
|
||||
};
|
||||
|
||||
#endif // REGISTERS_H
|
||||
@ -1,14 +1,9 @@
|
||||
<RCC>
|
||||
<qresource prefix="/image/bg">
|
||||
<file>login.png</file>
|
||||
<file>sea.jpg</file>
|
||||
<file>register.jpg</file>
|
||||
<file>order.png</file>
|
||||
<file>add.jpg</file>
|
||||
</qresource>
|
||||
<qresource prefix="/image/icon">
|
||||
<file>info.png</file>
|
||||
<file>logo.png</file>
|
||||
<file>resetcode.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
|
Before Width: | Height: | Size: 5.2 KiB |
@ -1,39 +0,0 @@
|
||||
#ifndef RESETMESSAGE_H
|
||||
#define RESETMESSAGE_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QLabel>
|
||||
#include <QDebug>
|
||||
#include <QString>
|
||||
#include <QMessageBox>
|
||||
#include <QSqlDatabase>
|
||||
#include <QSqlQuery>
|
||||
|
||||
namespace Ui {
|
||||
class ResetMessage;
|
||||
}
|
||||
|
||||
class ResetMessage : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ResetMessage(QWidget *parent = nullptr);
|
||||
~ResetMessage();
|
||||
void getid(QString str);
|
||||
protected:
|
||||
|
||||
|
||||
private:
|
||||
Ui::ResetMessage *ui;
|
||||
bool verify(int x);
|
||||
void sign_in();
|
||||
QLabel *bg;
|
||||
QSqlDatabase db;
|
||||
QString id;
|
||||
|
||||
private slots:
|
||||
void on_pushButton_clicked();
|
||||
};
|
||||
|
||||
#endif // RESETMESSAGE_H
|
||||
@ -1,266 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>ResetMessage</class>
|
||||
<widget class="QDialog" name="ResetMessage">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>800</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<widget class="QLabel" name="label_code">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>150</x>
|
||||
<y>70</y>
|
||||
<width>71</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(255, 255, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>新密码</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_confirm">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>150</x>
|
||||
<y>160</y>
|
||||
<width>111</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(255, 255, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>确认密码</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_name">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>150</x>
|
||||
<y>270</y>
|
||||
<width>101</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(255, 255, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>姓名</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_id">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>150</x>
|
||||
<y>370</y>
|
||||
<width>91</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(255, 255, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>身份证</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="ID_card">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>300</x>
|
||||
<y>370</y>
|
||||
<width>400</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="code">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>300</x>
|
||||
<y>70</y>
|
||||
<width>400</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="confirm_code">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>300</x>
|
||||
<y>170</y>
|
||||
<width>400</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="name">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>300</x>
|
||||
<y>270</y>
|
||||
<width>400</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_gender">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>150</x>
|
||||
<y>444</y>
|
||||
<width>61</width>
|
||||
<height>21</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(255, 255, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>性别</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QRadioButton" name="radioButton_man">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>300</x>
|
||||
<y>444</y>
|
||||
<width>79</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(255, 255, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>男</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QRadioButton" name="radioButton_woman">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>500</x>
|
||||
<y>444</y>
|
||||
<width>79</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: rgb(255, 255, 127);</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>女</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>350</x>
|
||||
<y>520</y>
|
||||
<width>100</width>
|
||||
<height>50</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>15</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>更新</string>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>800</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/image/bg/sea.jpg"/></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
<zorder>label</zorder>
|
||||
<zorder>label_code</zorder>
|
||||
<zorder>label_confirm</zorder>
|
||||
<zorder>label_name</zorder>
|
||||
<zorder>label_id</zorder>
|
||||
<zorder>ID_card</zorder>
|
||||
<zorder>code</zorder>
|
||||
<zorder>confirm_code</zorder>
|
||||
<zorder>name</zorder>
|
||||
<zorder>label_gender</zorder>
|
||||
<zorder>radioButton_man</zorder>
|
||||
<zorder>radioButton_woman</zorder>
|
||||
<zorder>pushButton</zorder>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
Before Width: | Height: | Size: 2.3 KiB |
Loading…
Reference in new issue