Logo Search packages:      
Sourcecode: ktechlab version File versions

void MechanicsItem::setSelectionMode ( SelectionMode  sm  ) 

Sets the selection mode (sm_resize or sm_rotate). Note that setSelected also needs to be called to select the item.

Definition at line 67 of file mechanicsitem.cpp.

Referenced by CMMechItemMove::mousePressedInitial(), CMMechItemMove::mouseReleased(), and MechanicsGroup::setSelectionMode().

      if ( sm == m_selectionMode )
      m_selectionMode = sm;

Generated by  Doxygen 1.6.0   Back to index