tools/MissionsEditor/editor.h
author smaxx
Sat, 18 Sep 2010 12:35:58 +0200
changeset 3876 3dd031a8b395
parent 2596 41b46f83d088
permissions -rw-r--r--
Frontend: * Changed team color handling to use red as first color and make it easier to add more colors in the future

#ifndef EDITOR_H
#define EDITOR_H

#include <QtGui/QMainWindow>

namespace Ui
{
    class editor;
}

class QCheckBox;

class editor : public QMainWindow
{
    Q_OBJECT

public:
    editor(QWidget *parent = 0);
    ~editor();

private:
    Ui::editor *ui;
    QList<QCheckBox  *> cbFlags;

    void load(const QString & fileName);
    void reset();

private slots:
    void on_actionLoad_triggered();
};

#endif // EDITOR_H