New element panel: User can now drop an item from custom or common collection, inside an item of embedded collection of a project

(drag an item from an embedded collection to another embedded collection don't work yet)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4352 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-02-21 18:53:40 +00:00
parent 90c769c013
commit 014f3c8f13
10 changed files with 360 additions and 32 deletions

View File

@@ -18,6 +18,7 @@
#ifndef ELEMENTLOCATION_H
#define ELEMENTLOCATION_H
#include "nameslist.h"
#include <QString>
#include <QDomElement>
#include <QUuid>
@@ -25,6 +26,7 @@
class QETProject;
class QMimeData;
class XmlElementCollection;
/**
* @brief The ElementLocation class
@@ -49,8 +51,11 @@ class ElementLocation
bool isFileSystem() const;
bool isProject() const;
bool exist() const;
XmlElementCollection *projectCollection() const;
NamesList nameList();
QString collectionPath(bool protocol = true) const;
QString projectCollectionPath() const;
QString fileSystemPath() const;
QETProject *project() const;