tools/drawMapTest/mainwindow.h
author unc0rr
Mon, 29 Nov 2010 22:23:56 +0300
changeset 4434 34c305fbc63c
parent 4427 c5193713055f
child 4442 f8424e1bc936
permissions -rw-r--r--
Simple simplify() function

#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_pbSimplify_clicked();
    void scene_pathChanged();
};

#endif // MAINWINDOW_H