1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 00:23:53 +00:00
openmw/apps/opencs/view/world/previewsubview.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
723 B
C++
Raw Normal View History

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