tools/drawMapTest/mainwindow.h
author Colin Rice (clr_)
Wed, 23 Mar 2011 14:15:20 +0100
changeset 5042 f26c5eb040af
parent 4477 63a21fac8bf7
permissions -rw-r--r--
Patch for issue #165: Portal: don't allow embedding Objects in ground (or porting them to impassable/invalid locations)

#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