43 lines
783 B
C++
43 lines
783 B
C++
#ifndef CFESEVENT_H
|
|
#define CFESEVENT_H
|
|
|
|
#include <QWidget>
|
|
#include "chaneventdlg.h"
|
|
#include "soeeventdlg.h"
|
|
#include "soememorydlg.h"
|
|
|
|
namespace Ui {
|
|
class CFesEvent;
|
|
}
|
|
|
|
class CFesEvent : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit CFesEvent(QWidget *parent = 0);
|
|
~CFesEvent();
|
|
void Init(bool isConnected);
|
|
|
|
public slots:
|
|
void slotActiveWindow();
|
|
private:
|
|
void initVariable();
|
|
void initSignalAndSlot();
|
|
void initView();
|
|
|
|
private slots:
|
|
void setActiveWindow(int current);
|
|
void OnNetConnect();
|
|
void OnNetDisConnect();
|
|
public:
|
|
ChanEventDlg * ptrChanEventDlg;
|
|
SoeEventDlg * ptrSoeEventDlg;
|
|
SoeMemorydlg * ptrSoeMemoryDlg;
|
|
private:
|
|
Ui::CFesEvent *ui;
|
|
int m_ConnectFlag; //连接成功标志
|
|
};
|
|
|
|
#endif // CFESEVENT_H
|