tools/drawMapTest/mainwindow.h
author sheepluva
Fri, 23 Sep 2011 22:42:30 +0200
changeset 5998 e8f44e9433f0
parent 4477 63a21fac8bf7
permissions -rw-r--r--
many many netclient/frondent changes (just the beginning though): * better separation of concerns * trying to reduce segfaulst due to netclient being deconstructed while still in use * no extra popup for quit reason anymore * errors/warnings will be displayed in chat instead of popups in most cases * NOTE: auto-kick for ignored players is currently _disabled_ will fix that soon

#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