mkRPG
src/editor/GUI/Tabs/worldtab.h
Go to the documentation of this file.
00001 #ifndef WORLDTAB_H
00002 #define WORLDTAB_H
00003 
00004 #include "ui_worldtab.h"
00005 #include "tabwidget.h"
00006 #include "Game/ItemModels/mapslistmodel.h"
00007 
00008 
00020 class WorldTab : public TabWidget, private Ui::WorldTab
00021 {
00022     Q_OBJECT
00023 
00024 public:
00025     explicit WorldTab(QWidget *parent = 0);
00026     ~WorldTab();
00027 
00028     void setGame(Game* g);
00029     void updateGame();
00030 
00031 signals:
00032     void editMap();
00033 
00034 private slots:
00035     void on_mapsView_doubleClicked(const QModelIndex &index);
00036 
00037 private:
00038     Game* game;
00039     MapsListModel *maps;
00040 };
00041 
00042 
00043 #endif // WORLDTAB_H
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines