Subversion Repositories seema-scanner

Rev

Rev 2 | Rev 99 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 28
Line 1... Line 1...
1
#ifndef SMVideoWidget_H
1
#ifndef SMVideoWidget_H
2
#define SMVideoWidget_H
2
#define SMVideoWidget_H
3
 
3
 
4
#include <QLabel>
4
#include <QLabel>
-
 
5
#include <QResizeEvent>
5
 
6
 
6
#include <opencv2/opencv.hpp>
7
#include <opencv2/opencv.hpp>
7
 
8
 
8
class SMVideoWidget : public QLabel{
9
class SMVideoWidget : public QLabel{
9
 
10
 
10
    Q_OBJECT
11
    Q_OBJECT
11
    public:
12
    public:
12
        explicit SMVideoWidget(QWidget *parent = 0);
13
        explicit SMVideoWidget(QWidget *parent = 0);
13
    public slots:
14
    public slots:
14
        void showImageCV(cv::Mat image);
15
        void showImageCV(cv::Mat image);
-
 
16
        void resizeEvent(QResizeEvent *event);
-
 
17
    private:
-
 
18
        QPixmap pixmap;
15
};
19
};
16
 
20
 
17
#endif // SMVideoWidget_H
21
#endif // SMVideoWidget_H