forked from szatmary/iAlert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
44 lines (36 loc) · 874 Bytes
/
mainwindow.h
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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QUrl>
#include <QVBoxLayout>
#include <QMainWindow>
#include <QListWidgetItem>
#include "camera.h"
#include "qupnp.h"
namespace Ui
{
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
public slots:
void refreshCameraList();
void upnpDiscovery(QUpnpDiscovery);
void upnpDiscoveryTimeout();
void newRecording(QString);
private slots:
void on_cameraRefresh_clicked();
void on_cameraList_currentIndexChanged(const QString &arg1);
void on_calendar_selectionChanged();
void on_eventTable_itemSelectionChanged();
private:
void closeEvent(QCloseEvent *event);
QUpnp upnp;
Ui::MainWindow *ui;
QPixmap snapshot;
CameraRoster cameras;
};
#endif // MAINWINDOW_H