mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
41 lines
706 B
C++
41 lines
706 B
C++
|
#ifndef CSV_DOC_SUBVIEW_H
|
||
|
#define CSV_DOC_SUBVIEW_H
|
||
|
|
||
|
#include "../../model/doc/document.hpp"
|
||
|
|
||
|
#include "../../model/world/universalid.hpp"
|
||
|
|
||
|
#include "subviewfactory.hpp"
|
||
|
|
||
|
#include <QDockWidget>
|
||
|
|
||
|
class QUndoStack;
|
||
|
|
||
|
namespace CSMWorld
|
||
|
{
|
||
|
class Data;
|
||
|
}
|
||
|
|
||
|
namespace CSVDoc
|
||
|
{
|
||
|
class SubView : public QDockWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
CSMWorld::UniversalId mUniversalId;
|
||
|
|
||
|
// not implemented
|
||
|
SubView (const SubView&);
|
||
|
SubView& operator= (SubView&);
|
||
|
|
||
|
public:
|
||
|
|
||
|
SubView (const CSMWorld::UniversalId& id);
|
||
|
|
||
|
CSMWorld::UniversalId getUniversalId() const;
|
||
|
|
||
|
virtual void setEditLock (bool locked) = 0;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|