mkRPG
src/editor/GUI/Tabs/MapTab/celldock.h
Go to the documentation of this file.
00001 #ifndef CELLDOCK_H
00002 #define CELLDOCK_H
00003 
00004 #include "ui_celldock.h"
00005 #include "../Docks/bdockwidget.h"
00006 #include "Game/ItemModels/mapslistmodel.h"
00007 #include "Game/ItemModels/attrtreeitemmodel.h"
00008 
00009 
00021 class CellDock : public BDockWidget, private Ui::CellDock
00022 {
00023     Q_OBJECT
00024 
00025 public:
00026     explicit CellDock(QWidget *parent = nullptr);
00027 
00028 public slots:
00029     void updateGame();
00030     void selectionChanged();
00031 
00032 private slots:
00033     void on_cellTypes_userChangedCurrentIndex(int k);
00034 
00035 private:
00036     Map *map;
00037     CellTypeListModel *typesModel;
00038     ParamTreeItemModel *paramModel;
00039     FlagTreeItemModel *flagsModel;
00040 };
00041 
00042 #endif // CELLDOCK_H
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines