mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user