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

@@ -36,7 +36,6 @@ class ECHSFileToFile : public ECHStrategy
{
public:
ECHSFileToFile (ElementLocation &source, ElementLocation &destination);
ElementLocation copy();
private:
@@ -44,6 +43,13 @@ class ECHSFileToFile : public ECHStrategy
ElementLocation copyElement(ElementLocation &source, ElementLocation &destination, QString rename = QString());
};
class ECHSFileToXml : public ECHStrategy
{
public:
ECHSFileToXml (ElementLocation &source, ElementLocation &destination);
ElementLocation copy();
};
/**
* @brief The ElementCollectionHandler class
* Provide several method to copy element or directory from a collection