umbrello API Documentation

Widget_Utils Namespace Reference

General purpose widget utilities. More...


Functions

UMLWidgetfindWidget (Uml::IDType id, const UMLWidgetList &widgets, const MessageWidgetList *pMessages)
 Find the widget identified by the given ID in the given widget or message list.
QIconSet iconSet (Uml::Diagram_Type dt)
 Return the icon corresponding to the given Diagram_Type.
QCanvasRectangle * decoratePoint (QPoint p)


Detailed Description

General purpose widget utilities.

Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org


Function Documentation

UMLWidget * Widget_Utils::findWidget Uml::IDType  id,
const UMLWidgetList &  widgets,
const MessageWidgetList *  pMessages = NULL
 

Find the widget identified by the given ID in the given widget or message list.

Parameters:
id The unique ID to find.
widgets The UMLWidgetList to search in.
pMessages Optional pointer to a MessageWidgetList to search in.

Definition at line 30 of file widget_utils.cpp.

References WidgetBase::getBaseType(), and WidgetBase::getID().

Referenced by AssociationWidget::loadFromXMI().

QIconSet Widget_Utils::iconSet Uml::Diagram_Type  dt  ) 
 

Return the icon corresponding to the given Diagram_Type.

Definition at line 58 of file widget_utils.cpp.

KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:09 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003