|
umbrello 25.04.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
Child widget placement attached to parent. More...
#include <childwidgetplacementpin.h>
Public Member Functions | |
| ChildWidgetPlacementPin (PinPortBase *widget) | |
| virtual | ~ChildWidgetPlacementPin () |
| virtual void | detectConnectedSide () |
| virtual void | setInitialPosition (const QPointF &scenePos=QPointF()) |
| virtual void | setNewPositionWhenMoved (qreal diffX, qreal diffY) |
| virtual void | setNewPositionOnParentResize () |
Public Member Functions inherited from ChildWidgetPlacement | |
| ChildWidgetPlacement (PinPortBase *widget) | |
| virtual | ~ChildWidgetPlacement () |
Private Member Functions | |
| bool | isAboveParent () const |
| bool | isBelowParent () const |
| bool | isLeftOfParent () const |
| bool | isRightOfParent () const |
| qreal | getNewXOnJumpToTopOrBottom () const |
| void | jumpToTopOfParent () |
| void | jumpToBottomOfParent () |
| qreal | getNewYOnJumpToSide () const |
| void | jumpToLeftOfParent () |
| void | jumpToRightOfParent () |
Additional Inherited Members | |
Protected Types inherited from ChildWidgetPlacement | |
| enum | ConnectedSide { Undefined , Top , Right , Bottom , Left , TopLeft , TopRight , BottomRight , BottomLeft } |
Protected Member Functions inherited from ChildWidgetPlacement | |
| void | setPos (const QPointF &pos) |
| void | setPos (qreal x, qreal y) |
| void | setX (qreal x) |
| void | setY (qreal y) |
| qreal | x () const |
| qreal | y () const |
| qreal | width () const |
| qreal | height () const |
| UMLWidget * | ownerWidget () const |
Protected Attributes inherited from ChildWidgetPlacement | |
| PinPortBase *const | m_widget |
| ConnectedSide | m_connectedSide |
Child widget placement attached to parent.
Implementation of child widget placement where parent and child widget borders are always connected.
| ChildWidgetPlacementPin::ChildWidgetPlacementPin | ( | PinPortBase * | widget | ) |
|
virtual |
|
virtual |
Implements ChildWidgetPlacement.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
virtual |
Implements ChildWidgetPlacement.
|
virtual |
Implements ChildWidgetPlacement.
|
virtual |
Implements ChildWidgetPlacement.