tools/MissionsEditor/editor.h
author nemo
Fri, 02 Apr 2010 15:58:45 +0000
changeset 3259 a29ccf4aed82
parent 2596 41b46f83d088
permissions -rw-r--r--
This attempts to distribute crates based on their probabilities, while preserving 35% for health crates since that has no probability GUI yet

#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