tools/drawMapTest/mainwindow.h
author Medo <smaxein@googlemail.com>
Sun, 19 Aug 2012 15:05:23 +0200
changeset 7576 65d29988fd3d
parent 4477 63a21fac8bf7
permissions -rw-r--r--
Fix engine crashes on game end - frontlib now waits until the engine actually disconnects - engine does not write round-end stats to stdout anymore on mobile (caused crash) - Removed HWTerminate function binding for android (not threadsafe, better send "eforcequit" over IPC for the same effect)

#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