tools/MissionsEditor/editor.h
branch0.9.14
changeset 4271 3fa9eb4d25b9
parent 4268 cc20f79361d8
child 4273 4035d5b78eeb
child 4274 8292066cb45c
equal deleted inserted replaced
4268:cc20f79361d8 4271:3fa9eb4d25b9
     1 #ifndef EDITOR_H
       
     2 #define EDITOR_H
       
     3 
       
     4 #include <QtGui/QMainWindow>
       
     5 
       
     6 namespace Ui
       
     7 {
       
     8     class editor;
       
     9 }
       
    10 
       
    11 class QCheckBox;
       
    12 
       
    13 class editor : public QMainWindow
       
    14 {
       
    15     Q_OBJECT
       
    16 
       
    17 public:
       
    18     editor(QWidget *parent = 0);
       
    19     ~editor();
       
    20 
       
    21 private:
       
    22     Ui::editor *ui;
       
    23     QList<QCheckBox  *> cbFlags;
       
    24 
       
    25     void load(const QString & fileName);
       
    26     void reset();
       
    27 
       
    28 private slots:
       
    29     void on_actionLoad_triggered();
       
    30 };
       
    31 
       
    32 #endif // EDITOR_H