tools/drawMapTest/mainwindow.h
author Vittorio Giovara <vittorio.giovara@gmail.com>
Tue, 10 Nov 2015 13:53:12 +0100
branch0.9.22
changeset 11594 91d31e15f8f2
parent 4477 63a21fac8bf7
permissions -rw-r--r--
videorec: Fix flushing encoders When passing NULL frames, encoders empty their queues, but we have to stop polling from them when they don't any more data.

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
    class MainWindow;
}

class DrawMapScene;

class MainWindow : public QMainWindow {
    Q_OBJECT
public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::MainWindow *ui;
    DrawMapScene * scene;

private slots:
    void on_pbLoad_clicked();
    void on_pbSave_clicked();
    void scene_pathChanged();
};

#endif // MAINWINDOW_H