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

Method setSelectedInView

src/backend/worksheet/Worksheet.cpp:503–508  ·  view source on GitHub ↗

! Selects or deselects the worksheet in the project explorer. This function is called in \c WorksheetView. The worksheet gets deselected if there are selected items in the view, and selected if there are no selected items in the view. */

Source from the content-addressed store, hash-verified

501 and selected if there are no selected items in the view.
502*/
503void Worksheet::setSelectedInView(const bool b) {
504 if (b)
505 Q_EMIT childAspectSelectedInView(this);
506 else
507 Q_EMIT childAspectDeselectedInView(this);
508}
509
510void Worksheet::deleteAspectFromGraphicsItem(const QGraphicsItem* item) {
511 Q_ASSERT(item);

Callers 4

mousePressEventMethod · 0.45
dropEventMethod · 0.45
selectionChangedMethod · 0.45
mousePressEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected