umbrello: umbrello/umlwidgets/widget_factory.h Source File

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

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

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
12class UMLObject;
13class UMLScene;
14class UMLWidget;
15
20namespace 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
UMLObject
The base class for UML objects.
Definition umlobject.h:70
UMLScene
Definition umlscene.h:65
UMLWidget
The base class for graphical UML objects.
Definition umlwidget.h:36
Widget_Factory
Definition widget_factory.cpp:63
Widget_Factory::createWidget
UMLWidget * createWidget(UMLScene *scene, UMLObject *o)
Definition widget_factory.cpp:68
Widget_Factory::makeWidgetFromXMI
UMLWidget * makeWidgetFromXMI(const QString &tag, const QString &idStr, UMLScene *scene)
Definition widget_factory.cpp:204