...
This commit is contained in:
parent
e8e2e18d0d
commit
41c802c70c
@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QLoginDialog_t {
|
||||
QByteArrayData data[6];
|
||||
char stringdata0[51];
|
||||
QByteArrayData data[8];
|
||||
char stringdata0[63];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@ -37,11 +37,13 @@ QT_MOC_LITERAL(1, 13, 4), // "init"
|
||||
QT_MOC_LITERAL(2, 18, 0), // ""
|
||||
QT_MOC_LITERAL(3, 19, 8), // "initData"
|
||||
QT_MOC_LITERAL(4, 28, 10), // "initSignal"
|
||||
QT_MOC_LITERAL(5, 39, 11) // "initWidgets"
|
||||
QT_MOC_LITERAL(5, 39, 11), // "initWidgets"
|
||||
QT_MOC_LITERAL(6, 51, 4), // "onOK"
|
||||
QT_MOC_LITERAL(7, 56, 6) // "onExit"
|
||||
|
||||
},
|
||||
"QLoginDialog\0init\0\0initData\0initSignal\0"
|
||||
"initWidgets"
|
||||
"initWidgets\0onOK\0onExit"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
@ -51,7 +53,7 @@ static const uint qt_meta_data_QLoginDialog[] = {
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
4, 14, // methods
|
||||
6, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
@ -59,15 +61,19 @@ static const uint qt_meta_data_QLoginDialog[] = {
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 34, 2, 0x09 /* Protected */,
|
||||
3, 0, 35, 2, 0x09 /* Protected */,
|
||||
4, 0, 36, 2, 0x09 /* Protected */,
|
||||
5, 0, 37, 2, 0x09 /* Protected */,
|
||||
1, 0, 44, 2, 0x09 /* Protected */,
|
||||
3, 0, 45, 2, 0x09 /* Protected */,
|
||||
4, 0, 46, 2, 0x09 /* Protected */,
|
||||
5, 0, 47, 2, 0x09 /* Protected */,
|
||||
6, 0, 48, 2, 0x09 /* Protected */,
|
||||
7, 0, 49, 2, 0x09 /* Protected */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
@ -83,6 +89,8 @@ void QLoginDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id
|
||||
case 1: _t->initData(); break;
|
||||
case 2: _t->initSignal(); break;
|
||||
case 3: _t->initWidgets(); break;
|
||||
case 4: _t->onOK(); break;
|
||||
case 5: _t->onExit(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
@ -118,13 +126,13 @@ int QLoginDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 4)
|
||||
if (_id < 6)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 4)
|
||||
if (_id < 6)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 4;
|
||||
_id -= 6;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
@ -28,18 +28,18 @@ QT_BEGIN_NAMESPACE
|
||||
class Ui_QLoginDialog
|
||||
{
|
||||
public:
|
||||
QWidget *widget;
|
||||
QWidget *layoutWidget;
|
||||
QVBoxLayout *pLayoutMain;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QLabel *label;
|
||||
QGroupBox *groupBox;
|
||||
QGridLayout *gridLayout;
|
||||
QLabel *label_2;
|
||||
QLineEdit *lineEdit;
|
||||
QLineEdit *pEditSystemUserName;
|
||||
QLabel *label_3;
|
||||
QLineEdit *lineEdit_2;
|
||||
QLineEdit *pEditUserName;
|
||||
QLabel *label_4;
|
||||
QLineEdit *lineEdit_3;
|
||||
QLineEdit *pEditStaffPost;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QSpacerItem *horizontalSpacer;
|
||||
QToolButton *pButtonExit;
|
||||
@ -52,10 +52,13 @@ public:
|
||||
QLoginDialog->resize(350, 160);
|
||||
QLoginDialog->setMinimumSize(QSize(350, 160));
|
||||
QLoginDialog->setMaximumSize(QSize(350, 160));
|
||||
widget = new QWidget(QLoginDialog);
|
||||
widget->setObjectName(QString::fromUtf8("widget"));
|
||||
widget->setGeometry(QRect(0, 0, 349, 158));
|
||||
pLayoutMain = new QVBoxLayout(widget);
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/QMainFrame/Resources/CPIC\351\200\217\346\230\216.png"), QSize(), QIcon::Normal, QIcon::On);
|
||||
QLoginDialog->setWindowIcon(icon);
|
||||
layoutWidget = new QWidget(QLoginDialog);
|
||||
layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
|
||||
layoutWidget->setGeometry(QRect(0, 0, 349, 158));
|
||||
pLayoutMain = new QVBoxLayout(layoutWidget);
|
||||
pLayoutMain->setSpacing(6);
|
||||
pLayoutMain->setContentsMargins(11, 11, 11, 11);
|
||||
pLayoutMain->setObjectName(QString::fromUtf8("pLayoutMain"));
|
||||
@ -63,13 +66,13 @@ public:
|
||||
horizontalLayout = new QHBoxLayout();
|
||||
horizontalLayout->setSpacing(6);
|
||||
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||||
label = new QLabel(widget);
|
||||
label = new QLabel(layoutWidget);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
label->setPixmap(QPixmap(QString::fromUtf8(":/QMainFrame/Resources/cat.png")));
|
||||
|
||||
horizontalLayout->addWidget(label);
|
||||
|
||||
groupBox = new QGroupBox(widget);
|
||||
groupBox = new QGroupBox(layoutWidget);
|
||||
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
||||
gridLayout = new QGridLayout(groupBox);
|
||||
gridLayout->setSpacing(6);
|
||||
@ -83,15 +86,15 @@ public:
|
||||
|
||||
gridLayout->addWidget(label_2, 0, 0, 1, 1);
|
||||
|
||||
lineEdit = new QLineEdit(groupBox);
|
||||
lineEdit->setObjectName(QString::fromUtf8("lineEdit"));
|
||||
lineEdit->setMinimumSize(QSize(120, 0));
|
||||
lineEdit->setMaximumSize(QSize(120, 16777215));
|
||||
lineEdit->setStyleSheet(QString::fromUtf8("border: 1px solid silver;"));
|
||||
lineEdit->setAlignment(Qt::AlignCenter);
|
||||
lineEdit->setReadOnly(true);
|
||||
pEditSystemUserName = new QLineEdit(groupBox);
|
||||
pEditSystemUserName->setObjectName(QString::fromUtf8("pEditSystemUserName"));
|
||||
pEditSystemUserName->setMinimumSize(QSize(120, 0));
|
||||
pEditSystemUserName->setMaximumSize(QSize(120, 16777215));
|
||||
pEditSystemUserName->setStyleSheet(QString::fromUtf8("border: 1px solid silver;"));
|
||||
pEditSystemUserName->setAlignment(Qt::AlignCenter);
|
||||
pEditSystemUserName->setReadOnly(true);
|
||||
|
||||
gridLayout->addWidget(lineEdit, 0, 1, 1, 1);
|
||||
gridLayout->addWidget(pEditSystemUserName, 0, 1, 1, 1);
|
||||
|
||||
label_3 = new QLabel(groupBox);
|
||||
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||||
@ -101,15 +104,15 @@ public:
|
||||
|
||||
gridLayout->addWidget(label_3, 1, 0, 1, 1);
|
||||
|
||||
lineEdit_2 = new QLineEdit(groupBox);
|
||||
lineEdit_2->setObjectName(QString::fromUtf8("lineEdit_2"));
|
||||
lineEdit_2->setMinimumSize(QSize(120, 0));
|
||||
lineEdit_2->setMaximumSize(QSize(120, 16777215));
|
||||
lineEdit_2->setStyleSheet(QString::fromUtf8("border: 1px solid silver;"));
|
||||
lineEdit_2->setAlignment(Qt::AlignCenter);
|
||||
lineEdit_2->setReadOnly(true);
|
||||
pEditUserName = new QLineEdit(groupBox);
|
||||
pEditUserName->setObjectName(QString::fromUtf8("pEditUserName"));
|
||||
pEditUserName->setMinimumSize(QSize(120, 0));
|
||||
pEditUserName->setMaximumSize(QSize(120, 16777215));
|
||||
pEditUserName->setStyleSheet(QString::fromUtf8("border: 1px solid silver;"));
|
||||
pEditUserName->setAlignment(Qt::AlignCenter);
|
||||
pEditUserName->setReadOnly(true);
|
||||
|
||||
gridLayout->addWidget(lineEdit_2, 1, 1, 1, 1);
|
||||
gridLayout->addWidget(pEditUserName, 1, 1, 1, 1);
|
||||
|
||||
label_4 = new QLabel(groupBox);
|
||||
label_4->setObjectName(QString::fromUtf8("label_4"));
|
||||
@ -119,15 +122,15 @@ public:
|
||||
|
||||
gridLayout->addWidget(label_4, 2, 0, 1, 1);
|
||||
|
||||
lineEdit_3 = new QLineEdit(groupBox);
|
||||
lineEdit_3->setObjectName(QString::fromUtf8("lineEdit_3"));
|
||||
lineEdit_3->setMinimumSize(QSize(120, 0));
|
||||
lineEdit_3->setMaximumSize(QSize(120, 16777215));
|
||||
lineEdit_3->setStyleSheet(QString::fromUtf8("border: 1px solid silver;"));
|
||||
lineEdit_3->setAlignment(Qt::AlignCenter);
|
||||
lineEdit_3->setReadOnly(true);
|
||||
pEditStaffPost = new QLineEdit(groupBox);
|
||||
pEditStaffPost->setObjectName(QString::fromUtf8("pEditStaffPost"));
|
||||
pEditStaffPost->setMinimumSize(QSize(120, 0));
|
||||
pEditStaffPost->setMaximumSize(QSize(120, 16777215));
|
||||
pEditStaffPost->setStyleSheet(QString::fromUtf8("border: 1px solid silver;"));
|
||||
pEditStaffPost->setAlignment(Qt::AlignCenter);
|
||||
pEditStaffPost->setReadOnly(true);
|
||||
|
||||
gridLayout->addWidget(lineEdit_3, 2, 1, 1, 1);
|
||||
gridLayout->addWidget(pEditStaffPost, 2, 1, 1, 1);
|
||||
|
||||
|
||||
horizontalLayout->addWidget(groupBox);
|
||||
@ -142,21 +145,21 @@ public:
|
||||
|
||||
horizontalLayout_2->addItem(horizontalSpacer);
|
||||
|
||||
pButtonExit = new QToolButton(widget);
|
||||
pButtonExit = new QToolButton(layoutWidget);
|
||||
pButtonExit->setObjectName(QString::fromUtf8("pButtonExit"));
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/QMainFrame/Resources/quit.png"), QSize(), QIcon::Normal, QIcon::On);
|
||||
pButtonExit->setIcon(icon);
|
||||
QIcon icon1;
|
||||
icon1.addFile(QString::fromUtf8(":/QMainFrame/Resources/quit.png"), QSize(), QIcon::Normal, QIcon::On);
|
||||
pButtonExit->setIcon(icon1);
|
||||
pButtonExit->setIconSize(QSize(32, 32));
|
||||
pButtonExit->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
||||
|
||||
horizontalLayout_2->addWidget(pButtonExit);
|
||||
|
||||
pButtonOK = new QToolButton(widget);
|
||||
pButtonOK = new QToolButton(layoutWidget);
|
||||
pButtonOK->setObjectName(QString::fromUtf8("pButtonOK"));
|
||||
QIcon icon1;
|
||||
icon1.addFile(QString::fromUtf8(":/QMainFrame/Resources/ok.png"), QSize(), QIcon::Normal, QIcon::On);
|
||||
pButtonOK->setIcon(icon1);
|
||||
QIcon icon2;
|
||||
icon2.addFile(QString::fromUtf8(":/QMainFrame/Resources/ok.png"), QSize(), QIcon::Normal, QIcon::On);
|
||||
pButtonOK->setIcon(icon2);
|
||||
pButtonOK->setIconSize(QSize(32, 32));
|
||||
pButtonOK->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
||||
|
||||
|
@ -36909,94 +36909,94 @@ static const unsigned char qt_resource_struct[] = {
|
||||
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
|
||||
// :/QMainFrame/Resources/8218_box1.png
|
||||
0x0,0x0,0x1,0x2,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x3f,0xef,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf6,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xae,
|
||||
// :/QMainFrame/Resources/find.png
|
||||
0x0,0x0,0x1,0x22,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0xaa,0x5f,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfd,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb8,
|
||||
// :/QMainFrame/Resources/print.png
|
||||
0x0,0x0,0x1,0x62,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x2,0x47,0x63,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x2,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbe,
|
||||
// :/QMainFrame/Resources/option.png
|
||||
0x0,0x0,0x2,0x94,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x7,0x6,0xb8,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x1,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbc,
|
||||
// :/QMainFrame/Resources/x.png
|
||||
0x0,0x0,0x2,0x2c,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x5,0x6a,0x2d,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x6,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xc1,
|
||||
// :/QMainFrame/Resources/telephone.png
|
||||
0x0,0x0,0x2,0xc4,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x7,0xb2,0x8,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x5,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xc0,
|
||||
// :/QMainFrame/Resources/plus.png
|
||||
0x0,0x0,0x2,0x52,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x6,0x5d,0x5f,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x2,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbd,
|
||||
// :/QMainFrame/Resources/20121016085311441_easyicon_cn_128.png
|
||||
0x0,0x0,0x0,0x82,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x77,0x17,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf5,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xae,
|
||||
// :/QMainFrame/Resources/new.png
|
||||
0x0,0x0,0x2,0xe4,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x7,0xcc,0x61,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x0,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbc,
|
||||
// :/QMainFrame/Resources/CPIC.png
|
||||
0x0,0x0,0x2,0x3c,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x5,0xc9,0x50,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf7,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb1,
|
||||
// :/QMainFrame/Resources/ok.png
|
||||
0x0,0x0,0x1,0x38,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0xe8,0x27,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x1,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbc,
|
||||
// :/QMainFrame/Resources/face.png
|
||||
0x0,0x0,0x1,0xc8,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x4,0x29,0xa6,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfd,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb8,
|
||||
// :/QMainFrame/Resources/CNY_Red.png
|
||||
0x0,0x0,0x1,0xf8,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x4,0xfc,0xe0,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf6,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb0,
|
||||
// :/QMainFrame/Resources/car2.png
|
||||
0x0,0x0,0x3,0x10,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x8,0x69,0x71,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfa,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb4,
|
||||
// :/QMainFrame/Resources/app.ico
|
||||
0x0,0x0,0x0,0x46,0x0,0x1,0x0,0x0,0x0,0x1,0x0,0x0,0x2,0x22,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf9,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb3,
|
||||
// :/QMainFrame/Resources/save.png
|
||||
0x0,0x0,0x2,0x7e,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x6,0xcf,0x1,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x4,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbf,
|
||||
// :/QMainFrame/Resources/car.png
|
||||
0x0,0x0,0x0,0x5a,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x1f,0x7e,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf9,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb4,
|
||||
// :/QMainFrame/Resources/cat.png
|
||||
0x0,0x0,0x0,0x6e,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x55,0x58,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfa,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb5,
|
||||
// :/QMainFrame/Resources/excel.png
|
||||
0x0,0x0,0x2,0x14,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x5,0x51,0x43,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfc,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb7,
|
||||
// :/QMainFrame/Resources/CPIC??.png
|
||||
0x0,0x0,0x1,0x7a,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x2,0x9e,0xab,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xf8,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb2,
|
||||
// :/QMainFrame/Resources/dec.png
|
||||
0x0,0x0,0x0,0x32,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfb,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb6,
|
||||
// :/QMainFrame/Resources/folder.png
|
||||
0x0,0x0,0x0,0xd2,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0xcc,0x2a,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfe,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb9,
|
||||
// :/QMainFrame/Resources/edit.png
|
||||
0x0,0x0,0x2,0x68,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x6,0x61,0x1b,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfc,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb6,
|
||||
// :/QMainFrame/Resources/clean.png
|
||||
0x0,0x0,0x2,0xf8,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x8,0x3a,0x47,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfb,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb6,
|
||||
// :/QMainFrame/Resources/gear.png
|
||||
0x0,0x0,0x2,0xae,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x7,0x5c,0x60,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xfe,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xb9,
|
||||
// :/QMainFrame/Resources/quit.png
|
||||
0x0,0x0,0x0,0xec,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0xe0,0xcc,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x3,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbf,
|
||||
// :/QMainFrame/Resources/save2.png
|
||||
0x0,0x0,0x1,0x4a,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x2,0x29,0x5d,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x4,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xc0,
|
||||
// :/QMainFrame/Resources/manager.png
|
||||
0x0,0x0,0x1,0x94,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x3,0x55,0x8f,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x0,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xbb,
|
||||
// :/QMainFrame/Resources/login.png
|
||||
0x0,0x0,0x1,0xb0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x3,0xb9,0xe4,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x0,0xff,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xba,
|
||||
// :/QMainFrame/Resources/tongji.png
|
||||
0x0,0x0,0x1,0xde,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x4,0x8a,0x1,
|
||||
0x0,0x0,0x1,0x68,0x54,0x2f,0x1,0x5,
|
||||
0x0,0x0,0x1,0x6f,0x14,0x6a,0x33,0xc1,
|
||||
|
||||
};
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "QLoginDialog.h"
|
||||
#include "../../system/system_util.h"
|
||||
|
||||
QLoginDialog::QLoginDialog( QWidget * parent )
|
||||
: QDialog( parent )
|
||||
@ -21,13 +22,34 @@ void QLoginDialog::init()
|
||||
|
||||
void QLoginDialog::initData()
|
||||
{
|
||||
returnCode = EXIT;
|
||||
|
||||
systemUserName = QString::fromStdWString(getUserName());
|
||||
}
|
||||
|
||||
void QLoginDialog::initSignal()
|
||||
{
|
||||
connect(ui.pButtonOK, SIGNAL(clicked()), this, SLOT(onOK()));
|
||||
connect(ui.pButtonExit, SIGNAL(clicked()), this, SLOT(onExit()));
|
||||
}
|
||||
|
||||
void QLoginDialog::initWidgets()
|
||||
{
|
||||
setLayout( ui.pLayoutMain );
|
||||
|
||||
ui.pEditSystemUserName->setText(systemUserName);
|
||||
}
|
||||
|
||||
void QLoginDialog::onOK()
|
||||
{
|
||||
returnCode = OK;
|
||||
|
||||
this->close();
|
||||
}
|
||||
|
||||
void QLoginDialog::onExit()
|
||||
{
|
||||
returnCode = EXIT;
|
||||
|
||||
this->close();
|
||||
}
|
||||
|
@ -11,12 +11,26 @@ public:
|
||||
QLoginDialog(QWidget *parent = Q_NULLPTR);
|
||||
~QLoginDialog();
|
||||
|
||||
typedef enum { OK, EXIT } ReturnCode;
|
||||
|
||||
ReturnCode getReturnCode() const
|
||||
{
|
||||
return returnCode;
|
||||
}
|
||||
|
||||
protected Q_SLOTS:
|
||||
void init();
|
||||
void initData();
|
||||
void initSignal();
|
||||
void initWidgets();
|
||||
|
||||
void onOK();
|
||||
void onExit();
|
||||
|
||||
private:
|
||||
Ui::QLoginDialog ui;
|
||||
ReturnCode returnCode;
|
||||
QString systemUserName;
|
||||
QString cpicUserName;
|
||||
QString cpicP13;
|
||||
};
|
||||
|
@ -25,7 +25,12 @@
|
||||
<property name="windowTitle">
|
||||
<string>猜猜你是谁~~~~</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="">
|
||||
<property name="windowIcon">
|
||||
<iconset>
|
||||
<normalon>:/QMainFrame/Resources/CPIC透明.png</normalon>
|
||||
</iconset>
|
||||
</property>
|
||||
<widget class="QWidget" name="layoutWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
@ -88,7 +93,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLineEdit" name="lineEdit">
|
||||
<widget class="QLineEdit" name="pEditSystemUserName">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
@ -135,7 +140,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLineEdit" name="lineEdit_2">
|
||||
<widget class="QLineEdit" name="pEditUserName">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
@ -182,7 +187,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLineEdit" name="lineEdit_3">
|
||||
<widget class="QLineEdit" name="pEditStaffPost">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
|
Loading…
x
Reference in New Issue
Block a user