mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-09 07:09:59 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user