tools/MissionsEditor/editor.h
author smxx
Wed, 03 Feb 2010 13:02:28 +0000
changeset 2742 21c0d2e69753
parent 2596 41b46f83d088
permissions -rw-r--r--
Frontend: + Changed save and demo file extensions to ".<protocol>.hwd" and ".<protocol>.hws" to make file associations easier/constant + Added icons to savegame and demo file list (might require some redrawing/updating)

#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