MCPcopy Create free account
hub / github.com/KDE/labplot / childDeselected

Method childDeselected

src/backend/worksheet/Worksheet.cpp:422–426  ·  view source on GitHub ↗

! this slot is called when a worksheet element is deselected in the project explorer. emits \c itemDeselected() which forwards this event to \c WorksheetView in order to deselect the corresponding \c QGraphicsItem. */

Source from the content-addressed store, hash-verified

420 in order to deselect the corresponding \c QGraphicsItem.
421 */
422void Worksheet::childDeselected(const AbstractAspect* aspect) {
423 auto* element = qobject_cast<WorksheetElement*>(const_cast<AbstractAspect*>(aspect));
424 if (element)
425 Q_EMIT itemDeselected(element->graphicsItem());
426}
427
428/*!
429 * Emits the signal to select or to deselect the aspect corresponding to \c QGraphicsItem \c item in the project explorer,

Callers

nothing calls this directly

Calls 1

graphicsItemMethod · 0.45

Tested by

no test coverage detected