mainwindow.h 562 Bytes
Newer Older
1 2
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
3
#include "localserver.h"
4 5 6 7 8 9 10 11 12 13 14 15

#include <QMainWindow>
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
16
    ~MainWindow() override;
17 18 19 20 21 22 23 24 25 26 27 28 29

private slots:

    void on_btnExit_clicked();

    void on_btnCamera_clicked();

    void on_btnStart_clicked();

    void setUiImage();

private:
    Ui::MainWindow *ui;
30
    LocalServer *mLocalServer;
31 32 33 34 35 36

protected:
    void closeEvent(QCloseEvent *event) override;
};

#endif // MAINWINDOW_H