mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-13 06:37:57 +00:00
52 lines
1008 B
C++
52 lines
1008 B
C++
#ifndef CSV_WORLD_SCENESUBVIEW_H
|
|
#define CSV_WORLD_SCENESUBVIEW_H
|
|
|
|
#include "../doc/subview.hpp"
|
|
|
|
class QModelIndex;
|
|
|
|
namespace CSMDoc
|
|
{
|
|
class Document;
|
|
}
|
|
|
|
namespace CSVRender
|
|
{
|
|
class WorldspaceWidget;
|
|
}
|
|
|
|
namespace CSVWorld
|
|
{
|
|
class Table;
|
|
class TableBottomBox;
|
|
class CreatorFactoryBase;
|
|
|
|
class SceneSubView : public CSVDoc::SubView
|
|
{
|
|
Q_OBJECT
|
|
|
|
TableBottomBox *mBottom;
|
|
CSVRender::WorldspaceWidget *mScene;
|
|
|
|
public:
|
|
|
|
SceneSubView (const CSMWorld::UniversalId& id, CSMDoc::Document& document);
|
|
|
|
virtual void setEditLock (bool locked);
|
|
|
|
virtual void updateEditorSetting (const QString& key, const QString& value);
|
|
|
|
virtual void setStatusBar (bool show);
|
|
|
|
virtual void useHint (const std::string& hint);
|
|
|
|
private slots:
|
|
|
|
void closeRequest();
|
|
|
|
void cellIndexChanged (const std::pair<int, int>& min, const std::pair<int, int>& max);
|
|
};
|
|
}
|
|
|
|
#endif
|