用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

53 lines
1.3 KiB

/****************************************************************************
**
** Copyright (C) 2013 Jeffrey Lee.
** All rights reserved.
** Contact: vipjeffreylee@gmail.com
** Please keep the author contact information.
** 2013-10-10
**
****************************************************************************/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include<QModelIndex>
#include<QStandardItemModel>
#include "robotinterface.h"
class QButtonGroup;
class QQmsg;
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
protected:
bool eventFilter(QObject *obj, QEvent *ev);
private:
Ui::MainWindow *ui;
protected:
void closeEvent(QCloseEvent *event);
public slots:
void msgReceived();
void selChgGetTXUIN();
void sendMsg();
void qqFriendSelected(QModelIndex mi);
void qqGroupSelected(QModelIndex mi);
void robotsSelected(int id);
void sendMsgFinished(QString txuin,QString msg,bool isok);
void sysMsg(QString msg);
private:
QButtonGroup *robotButtonGroup;
QString formatMsg(QQmsg *msg);
bool loadPlugin();
QList<RobotInterface *> robots;
QModelIndex currModelIndex;
};
#endif // MAINWINDOW_H