umbrello: umbrello/cmds/widget/cmdcreatewidget.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

cmdcreatewidget.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef CMDCREATEWIDGET_H
7#define CMDCREATEWIDGET_H
8
9#include "cmdbasewidgetcommand.h"
10
11#include <QDomElement>
12
13class AssociationWidget;
14class UMLWidget;
15
16namespace Uml
17{
18 class CmdCreateWidget : public CmdBaseWidgetCommand
19 {
20 public:
21 explicit CmdCreateWidget(UMLWidget *widget);
22 CmdCreateWidget(AssociationWidget *widget);
23 ~CmdCreateWidget();
24
25 void redo();
26 void undo();
27
28 private:
29 QDomElement m_element;
30 };
31}
32
33#endif
AssociationWidget
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition associationwidget.h:47
UMLWidget
The base class for graphical UML objects.
Definition umlwidget.h:36
Uml::CmdBaseWidgetCommand
Definition cmdbasewidgetcommand.h:21
Uml::CmdBaseWidgetCommand::widget
UMLWidget * widget()
Definition cmdbasewidgetcommand.cpp:71
Uml::CmdCreateWidget
Definition cmdcreatewidget.h:19
Uml::CmdCreateWidget::redo
void redo()
Definition cmdcreatewidget.cpp:81
Uml::CmdCreateWidget::~CmdCreateWidget
~CmdCreateWidget()
Definition cmdcreatewidget.cpp:74
Uml::CmdCreateWidget::undo
void undo()
Definition cmdcreatewidget.cpp:123
Uml::CmdCreateWidget::m_element
QDomElement m_element
Definition cmdcreatewidget.h:29
cmdbasewidgetcommand.h
Uml
Definition basictypes.cpp:18