! * Selects the QGraphicsItem \c item in \c WorksheetView. * The selection in \c ProjectExplorer is forwarded to \c Worksheet * and is finally handled here. */
| 1574 | * and is finally handled here. |
| 1575 | */ |
| 1576 | void WorksheetView::selectItem(QGraphicsItem* item) { |
| 1577 | m_suppressSelectionChangedEvent = true; |
| 1578 | item->setSelected(true); |
| 1579 | m_selectedItems << item; |
| 1580 | handleCartesianPlotActions(); |
| 1581 | m_suppressSelectionChangedEvent = false; |
| 1582 | } |
| 1583 | |
| 1584 | /*! |
| 1585 | * Deselects the \c QGraphicsItem \c item in \c WorksheetView. |