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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
 * Copyright(C) 2010,Hikvision Digital Technology Co., Ltd 
 * 
 * ÎļþÃû³Æ£ºcconfigureparams.h
 * Ãè    Êö£º
 * µ±Ç°°æ±¾£º1.0
 * ×÷    ÕߣºÅËÑǶ«
 * ´´½¨ÈÕÆÚ£º2010Äê2ÔÂ1ÈÕ
 * Ð޸ļǼ£º
 */
 
 
#ifndef CCONFIGUREPARAMS_H
#define CCONFIGUREPARAMS_H
 
#include <QtGui/QWidget>
#include <QMessageBox>
#include "cremoteparams.h"
#include "cipparams.h"
#include "charddiskparams.h"
#include "DemoPublic.h"
 
 
#ifndef HPR_OK
#define HPR_OK 0
#endif
 
#ifndef HPR_ERROR
#define HPR_ERROR 1
#endif
 
namespace Ui
{
    class CConfigureParams;
}
 
class CConfigureParams : public QWidget
{
    Q_OBJECT
 
public:
    CConfigureParams(QWidget *parent = 0);
    ~CConfigureParams();
 
    //event
    void showEvent ( QShowEvent * event );
 
public slots:
    void loadRemoteParams();          //Ô¶³Ì²ÎÊý
    void on_btnIPParams_clicked();             //IP½ÓÈëÅäÖÃ
    void on_btnHardDiskParams_clicked(); //Ó²ÅÌÅäÖÃ
    void GetDVRUserID();
    void SetDVRUserID(long lUserID);
 
    void showLoginBtn();
 
private:
    Ui::CConfigureParams *ui;
    QMessageBox m_MessageBox;
 
    QWidget *m_pCurrentWidget;
    CRemoteParams *m_pRemoteparams;
    CIPParams *m_pIPParams;
    CHardDiskParams *m_pHardDiskParams;
 
    long m_lUserID;  //user ID
};
 
#endif // CCONFIGUREPARAMS_H