15 #include "qmainwindow.h" 21 #include <QMainWindow> 37 explicit Editor(QObject *parent =
nullptr);
55 void setTileMap(
TileMap *tileMap);
58 QMainWindow *mMainWindow;
65 QUndoGroup *mUndoGroup;
71 QUndoStack *mTileMapUndoStack;
79 QRegion mTileMapSelectedRegion;
93 QVector<QAction*> mMapDependantActions;
94 void setMapDependantActionsEnabled(
bool enabled)
96 for (QAction *a : mMapDependantActions)
97 a->setEnabled(enabled);
101 QString mSavePath =
"/home/";
102 QString mExportPath =
"/home/";
Definition: mapviewcontainer.h:10
The TileTemplateSetsView class Stores and displays all open TileTemplateSets. Has a tool bar for savi...
Definition: tiletemplatesetsview.h:20
Definition: tilematerialview.h:12
The PropertyBrowser class.
Definition: propertybrowser.h:17
An object that keeps track of map-to-mesh conversion.
Definition: map2mesh.h:22
void saveMap()
Definition: editor.cpp:161
void loadMap()
Definition: editor.cpp:212
void closeMap()
Definition: editor.cpp:231
void saveMapAs()
Definition: editor.cpp:187
The TileTemplateSetsManager class Handles the active tileTemplateSets of the application. Can create dialogs to interact with the user. May modify the attached TileMap when removing templateSets.
Definition: tiletemplatesetsmanager.h:16
~Editor()
Definition: editor.cpp:142
void newMap()
Definition: editor.cpp:149
void exportMapMesh()
Definition: editor.cpp:236
Editor(QObject *parent=nullptr)
Definition: editor.cpp:30
Definition: meshviewcontainer.h:12
The Editor class This is responsible for creating and managing all windows of the editor...
Definition: editor.h:32
void viewMapProperties()
Definition: editor.cpp:264