tools/drawMapTest/mainwindow.h
author nemo
Sun, 26 Feb 2012 13:37:17 -0500
changeset 6745 9dce541ca16f
parent 4477 63a21fac8bf7
permissions -rw-r--r--
right-click colour selection to scroll backwards through colours (bit hackish, subclassing + right click handling would be better than custom menu item signal)

#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