umbrello API Documentation

widget_utils.h

00001 /***************************************************************************
00002  *                                                                         *
00003  *   This program is free software; you can redistribute it and/or modify  *
00004  *   it under the terms of the GNU General Public License as published by  *
00005  *   the Free Software Foundation; either version 2 of the License, or     *
00006  *   (at your option) any later version.                                   *
00007  *                                                                         *
00008  *   copyright (C) 2004-2006                                               *
00009  *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
00010  ***************************************************************************/
00011 
00012 #ifndef WIDGET_UTILS_H
00013 #define WIDGET_UTILS_H
00014 
00015 #include <qiconset.h>
00016 #include <qpoint.h>
00017 #include "umlnamespace.h"
00018 #include "umlwidgetlist.h"
00019 #include "messagewidgetlist.h"
00020 
00021 // forward declarations
00022 class QCanvasRectangle;
00023 
00028 namespace Widget_Utils {
00029 
00039 UMLWidget* findWidget(Uml::IDType id,
00040                       const UMLWidgetList& widgets,
00041                       const MessageWidgetList* pMessages = NULL);
00042 
00046 QIconSet iconSet(Uml::Diagram_Type dt);
00047 
00048 QCanvasRectangle *decoratePoint(QPoint p);
00049 
00050 }
00051 
00052 #endif
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:03 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003