parent
77ea121eef
commit
cbc0a26cec
File diff suppressed because it is too large
Load Diff
@ -1,21 +0,0 @@
|
||||
#include "QMainFilter_WheelHubWF2.h"
|
||||
#include "tpMainHeader.h"
|
||||
#include "QMainFilter.h"
|
||||
QMainFilter* gz_mainFilter = NULL;
|
||||
MAIN_API IMainFilter* Main_Create(IMainCallback* pMainCb)
|
||||
{
|
||||
if (NULL == gz_mainFilter)
|
||||
{
|
||||
gz_mainFilter = new QMainFilter_WheelHubWF2(pMainCb);
|
||||
}
|
||||
return gz_mainFilter;
|
||||
}
|
||||
|
||||
MAIN_API void Main_Delete(IMainFilter* pMain)
|
||||
{
|
||||
if (NULL != gz_mainFilter && pMain == gz_mainFilter)
|
||||
{
|
||||
delete gz_mainFilter;
|
||||
gz_mainFilter = NULL;
|
||||
}
|
||||
}
|
||||
@ -1,161 +0,0 @@
|
||||
#include "QFilterImp.h"
|
||||
#include <QtCore\qcoreevent.h>
|
||||
#include "zfunctions.h"
|
||||
#include "QZkJsonParser.h"
|
||||
|
||||
QFilterImp::QFilterImp(IDetectorEngine* pDetectorEngine, INetClient* pNetClient, INetServer* pNetServer)
|
||||
:QSubFilter()
|
||||
{
|
||||
}
|
||||
|
||||
QFilterImp::~QFilterImp()
|
||||
{
|
||||
}
|
||||
|
||||
bool QFilterImp::InitSubFilter()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void QFilterImp::UnInitSubFilter()
|
||||
{
|
||||
}
|
||||
|
||||
QWidget* QFilterImp::CreateWidget(const QString & className, QWidget * parent, const QString& name)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool QFilterImp::ActionTrigger(class QAction* pAction, bool bChecked)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnPaint(QWidget* watched, QPaintEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::ButtonClicked(class QObject* pButton, bool bChecked)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnToggled(class QObject* pButton, bool bChecked)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnPolished(QWidget * watched, QEvent * event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnComboxCurrentChanged(QObject * watched, int index)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool QFilterImp::OnInitMainWindow(QObject * watched)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnProcessFinished(class QProcess* p, int exitCode, QProcess::ExitStatus exitStatus)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnProcessError(class QProcess* p, QProcess::ProcessError error)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnValueChanged(QObject* watched, int i)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnValueChanged(QObject* watched, const QString& text)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnStateChanged(QObject* watched, int state)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnCurrentChanged(QObject* watched, int index)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnDoubleClicked(QObject* watched, QMouseEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnMousePress(QObject* watched, QMouseEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnMouseRelease(QObject* watched, QMouseEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnMouseMove(QObject* watched, QMouseEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnNonClientAreaMouseMove(QObject* watched, QMouseEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnNonClientAreaMouseButtonPress(QObject* watched, QMouseEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnKeyPress(QObject* watched, QKeyEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnKeyRelease(QObject* watched, QKeyEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnResize(QWidget* watched, QResizeEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnWidgetClosed(QWidget* watched, QCloseEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnDeferredDelete(QObject* wathced, QEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnVersionUpdate(const QString& sOldVersion, const QString& sNewVersion)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnLineEditCursorPositionChanged(class QLineEdit* pObj, int nOld, int nNew)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnLineEditEditingFinished(class QLineEdit* pObj)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnLineEditSelectionChanged(class QLineEdit* pObj)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnLineEditTextChanged(class QLineEdit* pObj, const QString& text)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnLineEditTextEdited(class QLineEdit* pObj, const QString& text)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnWidgetShow(QWidget* pWidget, QShowEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnWidgetHide(QWidget* pWidget, QHideEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool QFilterImp::OnWheel(QWidget* pWidget, QWheelEvent* event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@ -1,61 +0,0 @@
|
||||
#ifndef QFILTERIMP_H
|
||||
#define QFILTERIMP_H
|
||||
|
||||
#include "zdefines.h"
|
||||
#include "tpSubFilterHeader.h"
|
||||
#include "tadpoleGuiHeader.h"
|
||||
#include "qTpFunctions.h"
|
||||
#include "tpGuiHeader.h"
|
||||
#include <QtCore\qtimer.h>
|
||||
#include "lpbengine.h"
|
||||
#include "tpNetClient.h"
|
||||
#include "tpNetServer.h"
|
||||
|
||||
class QFilterImp : public QSubFilter
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
QFilterImp(IDetectorEngine* pDetectorEngine, INetClient* pNetClient, INetServer* pNetServer);
|
||||
virtual ~QFilterImp();
|
||||
protected://IFilterInterface
|
||||
virtual bool InitSubFilter();
|
||||
virtual void UnInitSubFilter();
|
||||
virtual QWidget* CreateWidget(const QString & className, QWidget * parent, const QString& name);
|
||||
virtual bool ActionTrigger(class QAction* pAction, bool bChecked);
|
||||
virtual bool OnPaint(QWidget* watched, QPaintEvent* event);
|
||||
virtual bool ButtonClicked(class QObject* pButton, bool bChecked);
|
||||
virtual bool OnToggled(class QObject* pButton, bool bChecked);
|
||||
virtual bool OnPolished(QWidget * watched, QEvent * event);
|
||||
virtual bool OnComboxCurrentChanged(QObject * watched, int index);
|
||||
virtual bool OnInitMainWindow(QObject * watched);
|
||||
virtual bool OnProcessFinished(class QProcess* p, int exitCode, QProcess::ExitStatus exitStatus);
|
||||
virtual bool OnProcessError(class QProcess* p, QProcess::ProcessError error);
|
||||
virtual bool OnValueChanged(QObject* watched, int i);
|
||||
virtual bool OnValueChanged(QObject* watched, const QString& text);
|
||||
virtual bool OnStateChanged(QObject* watched, int state);
|
||||
virtual bool OnCurrentChanged(QObject* watched, int index);
|
||||
virtual bool OnDoubleClicked(QObject* watched, QMouseEvent* event);
|
||||
virtual bool OnMousePress(QObject* watched, QMouseEvent* event);
|
||||
virtual bool OnMouseRelease(QObject* watched, QMouseEvent* event);
|
||||
virtual bool OnMouseMove(QObject* watched, QMouseEvent* event);
|
||||
virtual bool OnNonClientAreaMouseMove(QObject* watched, QMouseEvent* event);
|
||||
virtual bool OnNonClientAreaMouseButtonPress(QObject* watched, QMouseEvent* event);
|
||||
virtual bool OnKeyPress(QObject* watched, QKeyEvent* event);
|
||||
virtual bool OnKeyRelease(QObject* watched, QKeyEvent* event);
|
||||
virtual bool OnResize(QWidget* watched, QResizeEvent* event);
|
||||
virtual bool OnWidgetClosed(QWidget* watched, QCloseEvent* event);
|
||||
virtual bool OnDeferredDelete(QObject* wathced, QEvent* event);
|
||||
virtual bool OnVersionUpdate(const QString& sOldVersion, const QString& sNewVersion);
|
||||
virtual bool OnLineEditCursorPositionChanged(class QLineEdit* pObj, int nOld, int nNew);
|
||||
virtual bool OnLineEditEditingFinished(class QLineEdit* pObj);
|
||||
virtual bool OnLineEditSelectionChanged(class QLineEdit* pObj);
|
||||
virtual bool OnLineEditTextChanged(class QLineEdit* pObj, const QString& text);
|
||||
virtual bool OnLineEditTextEdited(class QLineEdit* pObj, const QString& text);
|
||||
virtual bool OnWidgetShow(QWidget* pWidget, QShowEvent* event);
|
||||
virtual bool OnWidgetHide(QWidget* pWidget, QHideEvent* event);
|
||||
virtual bool OnWheel(QWidget* pWidget, QWheelEvent* event);
|
||||
|
||||
};
|
||||
|
||||
#endif // QFILTERIMP_H
|
||||
@ -1,21 +0,0 @@
|
||||
#include "QFilterImp.h"
|
||||
|
||||
QFilterImp* gz_FilterImp = NULL;
|
||||
SUB_FILTER_API QSubFilter* SubFilter_Create(void* param)
|
||||
{
|
||||
if (NULL == gz_FilterImp)
|
||||
{
|
||||
TP_SUB_FILTER_PARAM* p = (TP_SUB_FILTER_PARAM*)param;
|
||||
gz_FilterImp = new QFilterImp(p->pDetectorEngine, p->pNetClient, p->pNetServer);
|
||||
}
|
||||
return gz_FilterImp;
|
||||
}
|
||||
|
||||
SUB_FILTER_API void SubFilter_Delete(QSubFilter* psf)
|
||||
{
|
||||
if (NULL != gz_FilterImp)
|
||||
{
|
||||
delete gz_FilterImp;
|
||||
gz_FilterImp = NULL;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue