代码拉取完成,页面将自动刷新
#pragma once
#include <QThread>
#include <QSystemTrayIcon>
#include <QWidget>
#include "ui_mainWindow.h"
#include "HttpListener.h"
#include "LockWidget_ICDLL.h"
#include "LockWidget_V9RFDLL.h"
#include "LockWidget_TPDLL.h"
#include "LockWidget_RFV42.h"
#include "CardWidget_CVR100UD.h"
#include "LockWidget_proUsb.h"
#include "Setting.h"
class QMainWindow: public QWidget
{
Q_OBJECT
public:
QMainWindow();
~QMainWindow();
void startServer();
protected slots:
void paintEvent(QPaintEvent *event);
void trayiconActivated(QSystemTrayIcon::ActivationReason reason);
void onDealCommand(int type,QString cmd,Json::Value *param,Json::Value *ret);
void onLabelSetting();
void onCompanyChanged();
void onLockTypeChanged(int type);
void onBtnBack();
void onBtnMin();
void onBtnClose();
protected:
virtual void closeEvent(QCloseEvent *event);
private:
bool winEvent ( MSG * message, long * result );
void initTrayIcon();
void hideWindow();
void setBackImage(QWidget *widget,QString backImage);
void setButtonImage(QWidget *widget,QString backImage);
void gotoView(int index);
void createDllWidget();
void createCardWidget();
int m_stackBase;
QStringList m_lockCompany;
QStringList m_cardCompany;
QString m_widgetQss;
/* http */
stefanfrings::HttpListener *mHttpListener;
/* */
QAction *minimizeAction;
QAction *restoreAction;
QAction *quitAction;
QMenu *trayIconMenu;
QSystemTrayIcon *trayIcon;
Ui::Form ui;
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。