Subversion Repositories seema-scanner

Rev

Rev 100 | Details | Compare with Previous | Last modification | View Log | RSS feed

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