|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef ELEMENTSTREEVIEW_H
19 #define ELEMENTSTREEVIEW_H
37 void startDrag(Qt::DropActions supportedActions)
override;
41 #endif // ELEMENTSTREEVIEW_H
bool exist() const
ElementsLocation::exist.
Definition: elementslocation.cpp:472
The ElementsTreeView class This class just reimplement startDrag from QTreeView, for set a custom pix...
Definition: elementstreeview.h:32
QPoint hotspot() const
Definition: element.cpp:272
QPixmap pixmap()
Element::pixmap.
Definition: element.cpp:280
The ElementCollectionItem class This class represent a item (a directory or an element) in a element ...
Definition: elementcollectionitem.h:30
bool isElement() const
ElementsLocation::isElement.
Definition: elementslocation.cpp:412
ElementsTreeView(QWidget *parent=nullptr)
ElementsTreeView::ElementsTreeView.
Definition: elementstreeview.cpp:35
bool isDirectory() const
ElementsLocation::isDirectory.
Definition: elementslocation.cpp:420
Element * createElement(const ElementsLocation &, QGraphicsItem *=nullptr, int *=nullptr)
ElementFactory::createElement.
Definition: elementfactory.cpp:34
QIcon Folder
Definition: qeticons.cpp:94
static ElementFactory * Instance()
Definition: elementfactory.h:38
The ElementsLocation class This class represents the location, the location of an element or of a cat...
Definition: elementslocation.h:46
void startDrag(Qt::DropActions supportedActions) override
ElementsTreeView::startDrag Reimplemented from QTreeView.
Definition: elementstreeview.cpp:44
QString toString() const
ElementsLocation::toString.
Definition: elementslocation.cpp:396
virtual void startElementDrag(const ElementsLocation &location)
ElementsTreeView::startElementDrag Build a QDrag according to the content of location.
Definition: elementstreeview.cpp:70