tools/drawMapTest/mainwindow.h
author koda
Thu, 21 Apr 2016 00:10:23 -0400
changeset 11657 ae6706411b24
parent 4477 63a21fac8bf7
permissions -rw-r--r--
Hijack SDL2 and GLEW include and library when compiling to javascript emscripten already provides the SDL2 suite and will simply ignore missing libraries.

#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