mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
38 lines
677 B
C++
38 lines
677 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include <qqtvideomanager.h>
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow ( QWidget* parent = 0 );
|
|
~MainWindow();
|
|
|
|
public slots:
|
|
void slotImageComing ( QImage );
|
|
void slotImageComing2 ( QImage );
|
|
void slotCapture ( QImage );
|
|
|
|
void slotTestProbe ( const QVideoFrame& frame );
|
|
private slots:
|
|
void on_pushButton_clicked();
|
|
|
|
void on_pushButton_2_clicked();
|
|
|
|
private:
|
|
Ui::MainWindow* ui;
|
|
|
|
QQtVideoInput* input;
|
|
QQtVideoInput* input2;
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|