|
Krita Source Code Documentation
|
#include <kis_canvas_drop.h>
Inheritance diagram for KisCanvasDrop:Classes | |
| class | Private |
Public Types | |
| enum | Action { NONE = 0 , INSERT_AS_NEW_LAYER , INSERT_AS_NEW_FILE_LAYER , OPEN_IN_NEW_DOCUMENT , INSERT_AS_REFERENCE_IMAGE , INSERT_MANY_LAYERS , INSERT_MANY_FILE_LAYERS , OPEN_MANY_DOCUMENTS , INSERT_AS_REFERENCE_IMAGES } |
Public Member Functions | |
| Action | dropAs (const QMimeData &data, QPoint pos) |
| KisCanvasDrop (QWidget *parent=nullptr) | |
Private Attributes | |
| Private *const | d |
Definition at line 14 of file kis_canvas_drop.h.
| Enumerator | |
|---|---|
| NONE | |
| INSERT_AS_NEW_LAYER | |
| INSERT_AS_NEW_FILE_LAYER | |
| OPEN_IN_NEW_DOCUMENT | |
| INSERT_AS_REFERENCE_IMAGE | |
| INSERT_MANY_LAYERS | |
| INSERT_MANY_FILE_LAYERS | |
| OPEN_MANY_DOCUMENTS | |
| INSERT_AS_REFERENCE_IMAGES | |
Definition at line 19 of file kis_canvas_drop.h.
| KisCanvasDrop::KisCanvasDrop | ( | QWidget * | parent = nullptr | ) |
Definition at line 27 of file kis_canvas_drop.cpp.
References KisCanvasDrop::Private::cancel, d, KisCanvasDrop::Private::insertAsNewFileLayer, KisCanvasDrop::Private::insertAsNewLayer, KisCanvasDrop::Private::insertAsReferenceImage, KisCanvasDrop::Private::insertAsReferenceImages, KisCanvasDrop::Private::insertManyFileLayers, KisCanvasDrop::Private::insertManyLayers, KisCanvasDrop::Private::openInNewDocument, and KisCanvasDrop::Private::openManyDocuments.
| KisCanvasDrop::Action KisCanvasDrop::dropAs | ( | const QMimeData & | data, |
| QPoint | pos ) |
Definition at line 48 of file kis_canvas_drop.cpp.
References d, INSERT_AS_NEW_FILE_LAYER, INSERT_AS_NEW_LAYER, INSERT_AS_REFERENCE_IMAGE, INSERT_AS_REFERENCE_IMAGES, INSERT_MANY_FILE_LAYERS, INSERT_MANY_LAYERS, KisCanvasDrop::Private::insertAsNewFileLayer, KisCanvasDrop::Private::insertAsNewLayer, KisCanvasDrop::Private::insertAsReferenceImage, KisCanvasDrop::Private::insertAsReferenceImages, KisCanvasDrop::Private::insertManyFileLayers, KisCanvasDrop::Private::insertManyLayers, NONE, OPEN_IN_NEW_DOCUMENT, OPEN_MANY_DOCUMENTS, KisCanvasDrop::Private::openInNewDocument, and KisCanvasDrop::Private::openManyDocuments.
|
private |
Definition at line 39 of file kis_canvas_drop.h.