mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-13 10:20:01 +01:00
27 lines
528 B
C++
Executable File
27 lines
528 B
C++
Executable File
/*
|
|
* Acid Cam v2 - Qt/OpenCV Edition
|
|
* written by Jared Bruni ( http://lostsidedead.com )
|
|
* (C) 2017 GPL
|
|
*/
|
|
|
|
|
|
#ifndef __DISPLAY_WINDOW_H__
|
|
#define __DISPLAY_WINDOW_H__
|
|
|
|
#include"qtheaders.h"
|
|
|
|
class DisplayWindow : public QDialog {
|
|
Q_OBJECT
|
|
public:
|
|
DisplayWindow(QWidget *parent = 0);
|
|
void createControls();
|
|
void displayImage(const QImage &img);
|
|
void paintEvent(QPaintEvent *paint);
|
|
void keyPressEvent(QKeyEvent *ke);
|
|
void keyReleaseEvent(QKeyEvent *ke);
|
|
private:
|
|
QLabel *img_label;
|
|
};
|
|
|
|
#endif
|