tools/drawMapTest/mainwindow.h
author Wuzzy <almikes@aol.com>
Tue, 04 Apr 2017 17:02:38 +0200
changeset 12156 9755922396f5
parent 4477 63a21fac8bf7
permissions -rw-r--r--
Lua callback: onUsedAmmo, after using up an ammo Useful to know when e.g. shotgun attack has finished Syntax: onUsedAmmo(ammoType) * ammoType: Ammo type of used ammo Note: Not called for ammo type amNothing Thanks to KoBeWi

#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