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.
Conception/mjpg_streamer/mainwindow.h

45 lines
720 B

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QPixmap>
#include "getpixmap.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
QString main_ipAddr;
QString main_port;
void init();
private slots:
void on_btn_start_clicked();
void on_btn_screenshot_clicked();
void on_btn_quit_clicked();
void main_getOnePixmap(QPixmap);
private:
Ui::MainWindow *ui;
bool main_state = false;
bool main_btnStartSta = false;
GetPixmap *getPixmap;
QThread *thread;
QPixmap show_pix;
QPixmap save_pix;
};
#endif // MAINWINDOW_H