tools/drawMapTest/mainwindow.h
author Wuzzy <almikes@aol.com>
Thu, 05 Oct 2017 01:37:49 +0200
changeset 12649 2837dee472cc
parent 4477 63a21fac8bf7
permissions -rw-r--r--
Show selected weapon again when using it in inf attack mode This is useful if you have e.g. lots of (finite) bazookas; it's easy to lose track of the amount of remaining bazookas. Not displayed for weapons which always end your turn.

#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