mkRPG
src/editor/GUI/Tabs/ObjectEditors/entitytypeeditor.h
Go to the documentation of this file.
00001 #ifndef ENTITYTYPEEDITOR_H
00002 #define ENTITYTYPEEDITOR_H
00003 
00004 #include "ui_entitytypeeditor.h"
00005 #include "Game/ItemModels/itemmodels.h"
00006 #include "gameobjecteditor.h"
00007 
00019 class EntityTypeEditor : public GameObjectEditor, private Ui::EntityTypeEditor
00020 {
00021     Q_OBJECT
00022 
00023 public:
00024     explicit EntityTypeEditor(QWidget *parent = 0);
00025     explicit EntityTypeEditor(EntityType &t, QWidget *parent = 0);
00026 
00027     void setEntityType(EntityType &o);
00028 
00029 private slots:
00030     void on_im_currentIndexChanged(int i);
00031 
00032 private:
00033     EntityType *entityType;
00034     ImageListModel *imModel;
00035 };
00036 
00037 #endif // ENTITYTYPEEDITOR_H
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines