-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathfrmsearchsystemlog.h
More file actions
55 lines (50 loc) · 1.26 KB
/
frmsearchsystemlog.h
File metadata and controls
55 lines (50 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef FRMSEARCHSYSTEMLOG_H
#define FRMSEARCHSYSTEMLOG_H
#include <QDialog>
#include <QTcpSocket>
#include "../iconhelper.h"
#include "../myhelper.h"
#include "../TCPIP/myudpsocket.h"
#include "QsLog/QsLog.h"
#include "QsLog/QsLogDest.h"
#include "QsLog/QsLogLevel.h"
#include "../datastruct.h"
#include <QtSql>
namespace Ui {
class frmSearchSystemLog;
}
class frmSearchSystemLog : public QDialog
{
Q_OBJECT
public:
explicit frmSearchSystemLog(QWidget *parent = 0);
~frmSearchSystemLog();
void setDateTime(QDateTime datetime);
void setDatebaseQuery(QSqlQuery *tempquery );
void setTitle(const QString &title);
protected:
bool eventFilter(QObject *obj, QEvent *event);
void mouseMoveEvent(QMouseEvent *e);
void mousePressEvent(QMouseEvent *e);
void mouseReleaseEvent(QMouseEvent *);
private:
Ui::frmSearchSystemLog *ui;
QPoint mousePoint;
bool mousePressed;
bool max;
QRect location;
QSqlQuery *query;
private:
void InitStyle();
void clearTablewidgetItem();
private slots:
void on_btnMenu_Close_clicked();
void on_btnMenu_Max_clicked();
void on_btnMenu_Min_clicked();
void btnSearch();
void btnExportExcel();
void btnDeleteLog();
public slots:
signals:
};
#endif // FRMSEARCHSYSTEMLOG_H