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
#ifndef CDLGREMOTERECORDSCHEDULE_H
#define CDLGREMOTERECORDSCHEDULE_H
 
#include <QtGui/QDialog>
#include <QtGui/QLineEdit>
#include <QtGui/QComboBox>
#include "ui_cdlgremoterecordschedule.h"
#include "DemoPublic.h"
 
/**
 * Õâ¸öÀàÖÐûÓвÙ×÷É豸£¬Ö»ÊÇÉèÖÃʱ¼ä°²ÅÅÖµ
 * **/
 
class CDlgRemoteRecordSchedule : public QDialog
{
    Q_OBJECT
 
public:
    CDlgRemoteRecordSchedule(QWidget *parent = 0);
    ~CDlgRemoteRecordSchedule();
 
    //¸ø½á¹¹Ì帳ֵ¸öµØÖ·
    int SetStruRecord(NET_DVR_RECORD_V30 *pstruRecord);
 
    //event
    void showEvent ( QShowEvent * event );
 
public slots:
    void on_btnCopyDay_clicked();
    void on_btnSave_clicked();
 
    int comboWeekDayChanged(int iWeekDay);
 
    int clickRecordAllDay();
 
 
private:
    Ui::CDlgRemoteRecordScheduleClass ui;
 
    QLineEdit m_editStartHour[MAX_TIMESEGMENT_V30];
    QLineEdit m_editStartMin[MAX_TIMESEGMENT_V30];
    QLineEdit m_editEndHour[MAX_TIMESEGMENT_V30];
    QLineEdit m_editEndMin[MAX_TIMESEGMENT_V30];
    QComboBox m_comboRecordType[MAX_TIMESEGMENT_V30]; //¼ÏñÀàÐÍ
 
    //¼Ïñ²ÎÊýÐÅÏ¢
    NET_DVR_RECORD_V30 *m_pstruRecord;
 
    //¿½±´µ±Ç°ÉèÖõ½Ä³Ò»Ìì
    int copyDaySetting(int iWeekNo);
    int setEachWidget(int iWeekDay);
 
};
 
#endif // CDLGREMOTERECORDSCHEDULE_H