MCPcopy Create free account
hub / github.com/KDE/gwenview / setDragPixmap

Method setDragPixmap

lib/documentview/documentview.cpp:375–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373 }
374
375 void setDragPixmap(const QPixmap &pix)
376 {
377 if (mDrag) {
378 DragPixmapGenerator::DragPixmap dragPixmap = DragPixmapGenerator::generate({pix}, 1);
379 mDrag->setPixmap(dragPixmap.pix);
380 mDrag->setHotSpot(dragPixmap.hotSpot);
381 }
382 }
383
384 void executeDrag()
385 {

Callers 1

dragThumbnailLoadedMethod · 0.80

Calls 2

generateFunction · 0.85
setPixmapMethod · 0.80

Tested by

no test coverage detected