智能停车场

时间:2017-01-12 06:54:15
【文件属性】:

文件名称:智能停车场

文件大小:2.33MB

文件格式:7Z

更新时间:2017-01-12 06:54:15

智能停车场

#include "accesscontrolsystem.h" AccessControlSystem::AccessControlSystem(QWidget *parent, Qt::WFlags flags) : QMainWindow(parent, flags) { ui.setupUi(this); initialization(); validateUserLogin(); } AccessControlSystem::~AccessControlSystem() { } /*------------------------------------------- * * 初始化 * ---------------------------------------------*/ void AccessControlSystem::initialization() { this->showFullScreen(); this->setWindowFlags(Qt::Window | Qt::FramelessWindowHint); verifcation = new VerificationDlg(0); /*------------------------------------------- * 固定窗口大小 ---------------------------------------------*/ this->setFixedSize(this->geometry().size()); switchUser = new SwitchUserDlg(this); systemSetting = new SystemSettingDlg(this); cardIssuer = new CardIssuerDlg(this); rechargePostponed = new RechargePostponedDlg(this); cardDownload = new CardDownloadDlg(this); rateSetting = new RateSettingDlg(this); onlineMonitoring = new OnlineMonitoringDlg(this); ui.rightLogoLabel->setPixmap(QPixmap("Resources\\rightLogo.png")); } /*------------------------------------------- * * 验证用户登录 * ---------------------------------------------*/ void AccessControlSystem::validateUserLogin() { /*------------------------------------------- * 密码狗验证 ---------------------------------------------*/ //codeValidate.startValidate(); if (verifcation->exec() == QDialog::Accepted) { this->show(); this->setWindowFlags(Qt::Window | Qt::FramelessWindowHint); }else { exit(1); } } /*------------------------------------------- * * 退出系统 * ---------------------------------------------*/ void AccessControlSystem::on_close_clicked() { //写退出对话框 exit(1); } /*------------------------------------------- * * 最小化 * ---------------------------------------------*/ void AccessControlSystem::on_min_clicked() { this->showMinimized(); } /*------------------------------------------- * * 最大化 * ---------------------------------------------*/ void AccessControlSystem::on_max_clicked() { this->showNormal(); } /*------------------------------------------- * * 切换用户 * ---------------------------------------------*/ void AccessControlSystem::on_switchUserButton_clicked() { switchUser->exec(); } /*------------------------------------------- * * 系统设置 * ---------------------------------------------*/ void AccessControlSystem::on_systemSettingButton_clicked() { systemSetting->exec(); } /*------------------------------------------- * * 卡片发行 * ---------------------------------------------*/ void AccessControlSystem::on_cardIssuerButton_clicked() { cardIssuer->exec(); } /*------------------------------------------- * * 充值延期 * ---------------------------------------------*/ void AccessControlSystem::on_rechargePostponedButton_clicked() { rechargePostponed->exec(); } /*------------------------------------------- * * 卡片下载 * ---------------------------------------------*/ void AccessControlSystem::on_cardDownloadButton_clicked() { cardDownload->exec(); } /*------------------------------------------- * * 费率计算 * ---------------------------------------------*/ void AccessControlSystem::on_rateSettingButton_clicked() { rateSetting->exec(); } /*------------------------------------------- * * 在线监控 * ---------------------------------------------*/ void AccessControlSystem::on_onlineMonitoringButton_clicked() { this->hide(); onlineMonitoring->showFullScreen(); if (onlineMonitoring->exec() == QDialog::Rejected) { this->show(); } } /*------------------------------------------- * * 人事信息 * ---------------------------------------------*/ void AccessControlSystem::on_personnelQueryButton_clicked() { } /*------------------------------------------- * * 提取记录 * ---------------------------------------------*/ void AccessControlSystem::on_extractRecordButton_clicked() { }


【文件预览】:
AccessControlSystem
----CodeValidateLib()
--------codevalidatelib.h(703B)
--------Resources()
--------NTDefine.h(2KB)
--------FD181.H(13KB)
--------FD181.dll(72KB)
--------codevalidatelib_global.h(272B)
--------CodeValidateLib.vcproj(7KB)
--------CodeValidateLib.vcproj.yeguoxiong-PC.yeguoxiong.user(1KB)
--------FD181.lib(7KB)
----AccessControlSystem()
--------cardissuerdlg.cpp(1KB)
--------main.cpp(990B)
--------accesscontrolsystem.cpp(4KB)
--------accesscontrolsystem.h(2KB)
--------ratesettingdlg.h(508B)
--------systemsettingdlg.ui(17KB)
--------carddownloaddlg.h(516B)
--------carddownloaddlg.cpp(1KB)
--------onlinemonitoringdlg.ui(56KB)
--------Resources()
--------systemsettingdlg.cpp(1KB)
--------aboutdlg.cpp(141B)
--------AccessControlSystem.ico(264KB)
--------verificationdlg.h(702B)
--------AccessControlSystem.rc(58B)
--------switchuserdlg.cpp(1KB)
--------rechargepostponeddlg.cpp(1KB)
--------carddownloaddlg.ui(16KB)
--------accesscontrolsystem.qrc(2KB)
--------AccessControlSystem.vcproj(59KB)
--------cardissuerdlg.h(543B)
--------onlinemonitoringdlg.cpp(196B)
--------AccessControlSystem.vcproj.yeguoxiong-PC.yeguoxiong.user(1KB)
--------systemsettingdlg.h(524B)
--------aboutdlg.ui(689B)
--------ratesettingdlg.cpp(1KB)
--------ratesettingdlg.ui(16KB)
--------verificationdlg.ui(20KB)
--------rechargepostponeddlg.h(556B)
--------switchuserdlg.ui(20KB)
--------onlinemonitoringdlg.h(348B)
--------accesscontrolsystem.ui(32KB)
--------rechargepostponeddlg.ui(17KB)
--------cardissuerdlg.ui(17KB)
--------aboutdlg.h(260B)
--------switchuserdlg.h(502B)
--------FD181.lib(7KB)
--------verificationdlg.cpp(2KB)
----AccessControlSystem.suo(27KB)
----AccessControlSystem.ncb(3.04MB)
----AccessControlSystem.sln(2KB)

网友评论

相关文章