umbrello  2.39.2
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  SPDX-License-Identifier: GPL-2.0-or-later
3  SPDX-FileCopyrightText: 2006-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4 */
5 
6 #ifndef WIDGET_FACTORY_H
7 #define WIDGET_FACTORY_H
8 
9 #include <QString>
10 
11 // forward declarations
12 class UMLObject;
13 class UMLScene;
14 class UMLWidget;
15 
20 namespace Widget_Factory {
21 
22  UMLWidget *createWidget(UMLScene *scene, UMLObject *docObj);
23 
24  UMLWidget* makeWidgetFromXMI(const QString& tag,
25  const QString& idStr, UMLScene *scene);
26 
27 } // end namespace Widget_Factory
28 
29 #endif
The base class for UML objects.
Definition: umlobject.h:70
Definition: umlscene.h:65
The base class for graphical UML objects.
Definition: umlwidget.h:36
Definition: widget_factory.cpp:63
UMLWidget * createWidget(UMLScene *scene, UMLObject *o)
Definition: widget_factory.cpp:68
UMLWidget * makeWidgetFromXMI(const QString &tag, const QString &idStr, UMLScene *scene)
Definition: widget_factory.cpp:204