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

void CIWidgetMgr::setDrawWidgets ( bool  draw  )  [inherited]

Sets whether or not to draw the widgets (drawing widgets mucks up SVG export). This function just calls either hide() or show() in each widget.

Definition at line 44 of file ciwidgetmgr.cpp.

{
      const WidgetMap::iterator widgetMapEnd = m_widgetMap.end();
      for ( WidgetMap::iterator it = m_widgetMap.begin(); it != widgetMapEnd; ++it )
      {
            draw ? it.data()->show() : it.data()->hide();
      }
}


Generated by  Doxygen 1.6.0   Back to index