tools/MissionsEditor/editor.h
author nemo
Sun, 20 Jun 2010 22:35:10 -0400
changeset 3526 a1d2180fef42
parent 2596 41b46f83d088
permissions -rw-r--r--
Replace SHA1 with adler32. For simple purposes of checking to see if players are playing the same map, this should be quite adequate and runs 15 times faster.

#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