Enable the drag and drop inside the new element panel

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4284 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-12-09 20:27:31 +00:00
parent 827fba8ce4
commit 6bf52bb525
10 changed files with 324 additions and 154 deletions

View File

@@ -21,6 +21,7 @@
#include "elementcollectionitem.h"
#include "elementlocation.h"
#include <QString>
#include <QDir>
/**
* @brief The FileElementCollectionItem class
@@ -58,6 +59,9 @@ class FileElementCollectionItem : public ElementCollectionItem
private:
void setPathName(QString path_name);
void populate();
bool handleElementDrop (const QMimeData *data);
bool handleDirectoryDrop (const QMimeData *data);
bool createSubDir (QDir dir_to_copy, QDir destination);
private:
QString m_path;