|
mkRPG
|
00001 #ifndef CELLTYPEEDITOR_H 00002 #define CELLTYPEEDITOR_H 00003 00011 #include "gameobjecteditor.h" 00012 #include "ui_celltypeeditor.h" 00013 #include "Game/ItemModels/itemmodels.h" 00014 00015 00020 class CellTypeEditor : public GameObjectEditor, private Ui::CellTypeEditor 00021 { 00022 Q_OBJECT 00023 00024 public: 00025 explicit CellTypeEditor(QWidget *parent = 0); 00026 explicit CellTypeEditor(CellType &t, QWidget *parent = 0); 00027 00028 void setCellType(CellType &t); 00029 00030 private slots: 00031 void on_bg_currentIndexChanged(int i); 00032 00033 private: 00034 CellType *ct; 00035 ImageListModel *imModel; 00036 }; 00037 00038 #endif // CELLTYPEEDITOR_H
1.7.6.1