umbrello 2.34.70-5524f40e1
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 () |
![]() | |
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 | |
![]() | |
enum | ConnectedSide { Undefined , Top , Right , Bottom , Left , TopLeft , TopRight , BottomRight , BottomLeft } |
![]() | |
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 |
![]() | |
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 |
|
virtual |
|
virtual |