|
|
|
@ -30,6 +30,14 @@ namespace CSVRender
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
enum dropType
|
|
|
|
|
{
|
|
|
|
|
cellsMixed,
|
|
|
|
|
cellsInterior,
|
|
|
|
|
cellsExterior,
|
|
|
|
|
notCells
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
WorldspaceWidget (const CSMDoc::Document& document, QWidget *parent = 0);
|
|
|
|
|
|
|
|
|
|
CSVWorld::SceneToolMode *makeNavigationSelector (CSVWorld::SceneToolbar *parent);
|
|
|
|
@ -38,22 +46,14 @@ namespace CSVRender
|
|
|
|
|
|
|
|
|
|
void selectDefaultNavigationMode();
|
|
|
|
|
|
|
|
|
|
static dropType getDropType(const std::vector<CSMWorld::UniversalId>& data);
|
|
|
|
|
|
|
|
|
|
virtual void useViewHint (const std::string& hint);
|
|
|
|
|
///< Default-implementation: ignored.
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
const CSMDoc::Document& mDocument; //for checking if drop comes from same document
|
|
|
|
|
|
|
|
|
|
enum dropType
|
|
|
|
|
{
|
|
|
|
|
cellsMixed,
|
|
|
|
|
cellsInterior,
|
|
|
|
|
cellsExterior,
|
|
|
|
|
notCells
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
dropType getDropType(const std::vector<CSMWorld::UniversalId>& data) const;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
void dragEnterEvent(QDragEnterEvent *event);
|
|
|
|
|