umbrello: umbrello/umlwidgets/widget_factory.h Source File

umbrello 2.32.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

widget_factory.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2006-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef WIDGET_FACTORY_H
12 #define WIDGET_FACTORY_H
13
14 #include <QString>
15
16 // forward declarations
17 class UMLObject;
18 class UMLScene;
19 class UMLWidget;
20
25 namespace Widget_Factory {
26
27 UMLWidget *createWidget(UMLScene *scene, UMLObject *docObj);
28
29 UMLWidget* makeWidgetFromXMI(const QString& tag,
30 const QString& idStr, UMLScene *scene);
31
32 } // end namespace Widget_Factory
33
34 #endif
UMLObject
The base class for UML objects.
Definition: umlobject.h:75
UMLScene
Definition: umlscene.h:70
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:41
Widget_Factory
Definition: widget_factory.cpp:65
Widget_Factory::createWidget
UMLWidget * createWidget(UMLScene *scene, UMLObject *o)
Definition: widget_factory.cpp:70
Widget_Factory::makeWidgetFromXMI
UMLWidget * makeWidgetFromXMI(const QString &tag, const QString &idStr, UMLScene *scene)
Definition: widget_factory.cpp:206