pans
2016-12-15 87e3ee273b2f84081ac45926be9d8e5be3166eaa
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
/************************************************************************
 *        Copyright 2009-2011 Hikvision Digital Technology Co., Ltd.
 *        FileName                      :   logsearch.h
 *        Description                   :   log search.
 *        Modification History          :   none
 *        Version                       :   V1.0
 *        Time                          :   2009-11,12
 *        Author                        :   wanggongpu
 *        Descrp                        :
*************************************************************************/
#ifndef LOGSEARCH_H
#define LOGSEARCH_H
 
#include <QtGui/QWidget>
#include "ui_logsearch.h"
#include "DemoPublic.h"
#include "devicedata.h"
#include <QDialog>
 
class LogSearch : public QDialog
{
    Q_OBJECT
 
public:
    LogSearch(QList<DeviceData> *devicetree, int* userid, QDialog *parent = 0);
    ~LogSearch();
    void printTable(NET_DVR_LOG_V30*    LogData);
 
private slots:
    void on_comboBox_logtype_currentIndexChanged ( int index);
    void on_comboBox_maintype_currentIndexChanged ( int index);
    void on_comboBox_subtype_currentIndexChanged ( int index);
 
    void on_dateTimeEdit_start_dateTimeChanged ( const QDateTime & datetime );
    void on_dateTimeEdit_stop_dateTimeChanged ( const QDateTime & datetime );
 
    void on_pushButton_searchlog_clicked();
    void on_pushButton_exit_clicked();
 
private:
    Ui::LogSearchClass ui;
    int *m_lsuserid;
    QList<DeviceData> *m_lsdevicetree;
 
    int m_lsmode;
    int m_lsmaintype;
    int m_lssubtype;
 
    NET_DVR_TIME m_lsstarttime;
    NET_DVR_TIME m_lsstoptime;
 
};
 
#endif // LOGSEARCH_H