umbrello 2.39.2 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

cmdresizewidget.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2014 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef CMDRESIZEWIDGET_H
7#define CMDRESIZEWIDGET_H
8
9#include "cmdbasewidgetcommand.h"
10
11#include <QSizeF>
12
13 class UMLWidget;
14
15 namespace Uml
16{
17 class CmdResizeWidget : public CmdBaseWidgetCommand
18 {
19 public:
20 explicit CmdResizeWidget(UMLWidget* widget);
21 ~CmdResizeWidget();
22
23 void redo();
24 void undo();
25
26 private:
27 QSizeF m_size;
28 QSizeF m_sizeOld;
29 };
30}
31
32#endif
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::CmdResizeWidget
Definition cmdresizewidget.h:18
Uml::CmdResizeWidget::m_sizeOld
QSizeF m_sizeOld
Definition cmdresizewidget.h:28
Uml::CmdResizeWidget::CmdResizeWidget
CmdResizeWidget(UMLWidget *widget)
Definition cmdresizewidget.cpp:17
Uml::CmdResizeWidget::redo
void redo()
Definition cmdresizewidget.cpp:31
Uml::CmdResizeWidget::m_size
QSizeF m_size
Definition cmdresizewidget.h:27
Uml::CmdResizeWidget::undo
void undo()
Definition cmdresizewidget.cpp:36
Uml::CmdResizeWidget::~CmdResizeWidget
~CmdResizeWidget()
Definition cmdresizewidget.cpp:27
cmdbasewidgetcommand.h
Uml
Definition basictypes.cpp:18