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

void CIWidgetMgr::drawWidgets ( QPainter &  p  )  [inherited]

Draw the widgets using the given painter. This function isn't actually used to draw the widgets on the canvas, as they are QCanvasItems themselves, but allows other classes (e.g. ItemLibrary) to draw them using a special painter.

Definition at line 91 of file ciwidgetmgr.cpp.

Referenced by ItemLibrary::itemImage().

{
      const WidgetMap::iterator widgetMapEnd = m_widgetMap.end();
      for ( WidgetMap::iterator it = m_widgetMap.begin(); it != widgetMapEnd; ++it )
      {
            it.data()->drawShape(p);
      }
}


Generated by  Doxygen 1.6.0   Back to index