tools/drawMapTest/mainwindow.h
author unc0rr
Wed, 01 Dec 2010 22:06:23 +0300
changeset 4442 f8424e1bc936
parent 4434 34c305fbc63c
child 4477 63a21fac8bf7
permissions -rw-r--r--
- Implement decode() function. - Implement saving and loading to/from file

#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;

    virtual void resizeEvent(QResizeEvent * event);

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

#endif // MAINWINDOW_H