2014-03-16 11:44:01 +00:00
|
|
|
#ifndef CSV_WORLD_PREVIEWSUBVIEW_H
|
|
|
|
#define CSV_WORLD_PREVIEWSUBVIEW_H
|
|
|
|
|
|
|
|
#include "../doc/subview.hpp"
|
|
|
|
|
|
|
|
namespace CSMDoc
|
|
|
|
{
|
|
|
|
class Document;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace CSVRender
|
|
|
|
{
|
|
|
|
class PreviewWidget;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace CSVWorld
|
|
|
|
{
|
|
|
|
class PreviewSubView : public CSVDoc::SubView
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
CSVRender::PreviewWidget *mScene;
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
PreviewSubView (const CSMWorld::UniversalId& id, CSMDoc::Document& document);
|
|
|
|
|
|
|
|
virtual void setEditLock (bool locked);
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
|
|
|
void closeRequest();
|
2014-03-21 11:52:46 +00:00
|
|
|
|
|
|
|
void referenceableIdChanged (const std::string& id);
|
2014-03-16 11:44:01 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|