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