1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00
OpenMW/apps/opencs/view/world/previewsubview.hpp
2022-10-31 21:04:01 +01:00

43 lines
723 B
C++

#ifndef CSV_WORLD_PREVIEWSUBVIEW_H
#define CSV_WORLD_PREVIEWSUBVIEW_H
#include "../doc/subview.hpp"
#include <string>
#include <apps/opencs/model/world/universalid.hpp>
namespace CSMDoc
{
class Document;
}
namespace CSVRender
{
class PreviewWidget;
}
namespace CSVWorld
{
class PreviewSubView : public CSVDoc::SubView
{
Q_OBJECT
CSVRender::PreviewWidget* mScene;
std::string mTitle;
public:
PreviewSubView(const CSMWorld::UniversalId& id, CSMDoc::Document& document);
void setEditLock(bool locked) override;
std::string getTitle() const override;
private slots:
void referenceableIdChanged(const std::string& id);
};
}
#endif