Subversion Repositories seema-scanner

Rev

Rev 99 | Go to most recent revision | 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);
100 jakw 16
        void showImageCV(std::vector<unsigned char> compressedImage);
28 jakw 17
        void resizeEvent(QResizeEvent *event);
18
    private:
19
        QPixmap pixmap;
2 jakw 20
};
21
 
22
#endif // SMVideoWidget_H