-
Notifications
You must be signed in to change notification settings - Fork 0
/
gstqtMedia.h
52 lines (44 loc) · 1.13 KB
/
gstqtMedia.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
45
46
47
48
49
50
51
52
#ifndef gstqtMedia_H
#define gstqtMedia_H
#include <QTimer>
#include <QWidget>
#include <QStyle>
#include <QLineEdit>
#include <QPushButton>
#include <map>
#include <yarp/os/all.h>
class gstqtwidget;
class QBoxLayout;
class QLabel;
class QSlider;
class QToolButton;
class QTimer;
class gstqtMedia : public QWidget
{
Q_OBJECT
public:
gstqtMedia(QWidget *parent = 0);
~gstqtMedia();
private Q_SLOTS:
void on_video_switch_clicked(const int& id);
void on_video_saving_clicked(const int& id);
void on_video_fps_changed(const int& id);
void on_save_menu_clicked();
void on_quit_all_button_clicked();
void onStateChanged();
protected:
private:
void createUI(QBoxLayout *appLayout);
std::map<int,QPushButton*> video_switch;
std::map<int,QPushButton*> video_saving;
std::map<int,QLineEdit*> video_timer_edit;
std::map<int,gstqtwidget*> video_display;
std::map<int,int> video_fps;
std::map<int,std::string> command_map;
std::map<int,int> video_port;
std::map<int,yarp::os::Port*> command_port;
// gstqtwidget *m_player;
// gstqtwidget *m_player1;
QTimer m_fullScreenTimer;
};
#endif