Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

void CNItem::initPainter ( QPainter &  p  )  [protected, virtual, inherited]

Sets the right colour if selected, transforms the matrix of the painter

Reimplemented in Component.

Definition at line 432 of file cnitem.cpp.

Referenced by FlowPart::drawShape(), and Component::initPainter().

{
      if ( isSelected() )
            p.setPen(m_selectedCol);
}


Generated by  Doxygen 1.6.0   Back to index