umbrello: Uml::CmdMoveWidget Class Reference

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

Public Member Functions | Private Attributes | List of all members
Uml::CmdMoveWidget Class Reference

`#include <cmdmovewidget.h>`

Inheritance diagram for Uml::CmdMoveWidget:

## Public Member Functions
| CmdMoveWidget (UMLWidget *widget)
| ~CmdMoveWidget ()
void | redo ()
void | undo ()
Public Member Functions inherited from Uml::CmdBaseWidgetCommand
| CmdBaseWidgetCommand (UMLWidget *widget)
| CmdBaseWidgetCommand (AssociationWidget *widget)
virtual | ~CmdBaseWidgetCommand ()

## Private Attributes
QPointF | m_pos
QPointF | m_posOld

## Additional Inherited Members
Protected Member Functions inherited from Uml::CmdBaseWidgetCommand
void | setWidget (UMLWidget *widget)
void | setWidget (AssociationWidget *widget)
void | addWidgetToScene (UMLWidget *widget)
void | addWidgetToScene (AssociationWidget *widget)
void | removeWidgetFromScene (UMLWidget *widget)
void | removeWidgetFromScene (AssociationWidget *widget)
UMLWidget * | widget ()
AssociationWidget * | assocWidget ()
UMLScene * | scene ()
Protected Attributes inherited from Uml::CmdBaseWidgetCommand
Uml::ID::Type | m_sceneId
Uml::ID::Type | m_widgetId
QPointer< UMLScene > | m_scene
QPointer< UMLWidget > | m_widget
QPointer< AssociationWidget > | m_assocWidget
bool | m_isAssoc

## Constructor & Destructor Documentation

## ◆ CmdMoveWidget()

Uml::CmdMoveWidget::CmdMoveWidget | ( | UMLWidget * | widget | ) |
| explicit

## ◆ ~CmdMoveWidget()

Uml::CmdMoveWidget::~CmdMoveWidget | ( |  | ) |

## Member Function Documentation

## ◆ redo()

void Uml::CmdMoveWidget::redo | ( |  | ) |

## ◆ undo()

void Uml::CmdMoveWidget::undo | ( |  | ) |

## Member Data Documentation

## ◆ m_pos

QPointF Uml::CmdMoveWidget::m_pos
| private

## ◆ m_posOld

QPointF Uml::CmdMoveWidget::m_posOld
| private

The documentation for this class was generated from the following files:

- umbrello/cmds/widget/cmdmovewidget.h
- umbrello/cmds/widget/cmdmovewidget.cpp