Logo Search packages:      
Sourcecode: ktechlab version File versions

void Item::setSelected ( bool  yes  )  [virtual, inherited]

Sets the selected flag of the item to yes. selected or unselected will be emitted as appropriate

Reimplemented in DPImage, DPLine, DPText, DPRectangle, FlowContainer, and MechanicsItem.

Definition at line 369 of file item.cpp.

References Item::selectionChanged().

Referenced by CNItemGroup::addItem(), ItemLibrary::componentImage(), CNItemGroup::removeItem(), MechanicsItem::setSelected(), FlowContainer::setSelected(), DPRectangle::setSelected(), DPText::setSelected(), DPLine::setSelected(), and DPImage::setSelected().

      if ( isSelected() == yes )
      emit selectionChanged();

Generated by  Doxygen 1.6.0   Back to index