1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
LibQQt/test/videotest4/mainwindow.h

42 lines
734 B
C
Raw Normal View History

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <qcamera.h>
#include <qqtvideomanager.h>
namespace Ui {
class MainWindow;
}
/**
* @brief The MainWindow class
* QVideoProbe都不能从Android拿到录像
*/
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow ( QWidget* parent = 0 );
~MainWindow();
private slots:
void on_pushButton_clicked();
void on_pushButton_2_clicked();
void slotSetPicture ( QImage );
void present ( const QVideoFrame& frame );
private:
Ui::MainWindow* ui;
QCamera* camera;
QVideoProbe* probe;
};
#endif // MAINWINDOW_H