You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
682 B

#ifndef DIALOG_H
#define DIALOG_H
#include <QDialog>
#include <QPointer>
#include "videoform.h"
#include "adbprocess.h"
namespace Ui {
class Dialog;
}
class QYUVOpenGLWidget;
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = 0);
~Dialog();
private slots:
void on_updateDevice_clicked();
void on_startServerBtn_clicked();
void on_stopServerBtn_clicked();
void on_wirelessConnectBtn_clicked();
void on_startAdbdBtn_clicked();
private:
void outLog(const QString& log);
bool checkAdbRun();
private:
Ui::Dialog *ui;
AdbProcess m_adb;
QPointer<VideoForm> m_videoForm;
};
#endif // DIALOG_H