tools/drawMapTest/mainwindow.h
author Wuzzy <Wuzzy2@mail.ru>
Wed, 24 Oct 2018 21:07:26 +0200
changeset 13956 2568fa516733
parent 4477 63a21fac8bf7
permissions -rw-r--r--
Fix hog can drop more than 2 s. mines if first one was dropped from utility, then stop using that utility Fixes bug #701.

#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