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