summaryrefslogtreecommitdiff
path: root/opencv-qt-integration-1/ImageViewer.h
blob: e07c333affbd4ffc22c3284fdc5c4580c336422a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef IMAGEVIEWER_H
#define IMAGEVIEWER_H

#include <opencv2/core/core.hpp>
#include <QWidget>

class QLabel;
class QVBoxLayout;
class QPushButton;

class ImageViewer : public QWidget
{
public:
    ImageViewer();

private:
    cv::Mat img;
    QLabel *imageLabel;
    QVBoxLayout *mainLayout;
    QPushButton *quitButton;
};

#endif