tools/drawMapTest/mainwindow.h
author nemo
Sat, 17 Mar 2012 16:14:08 -0400
changeset 6791 6907194f2c57
parent 4477 63a21fac8bf7
permissions -rw-r--r--
I imagine this should use the game window width, but I'll let someone else figure it out. I'm just sick of frames being half-visible in navigation.

#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