Address known issue of commit 900fd73f,
> On moving a ComponentWidget, its attached PortWidgets should move along. umbrello/widgets/componentwidget.{h,cpp} - Add signal sigCompMoved(qreal diffX, qreal diffY) - Reimplement UMLWidget::moveWidgetBy() for emitting sigCompMoved() umbrello/widgets/portwidget.{h,cpp} - Add slot slotCompMoved(qreal diffX, qreal diffY) - In constructor, connect signal sigCompMoved() of the owning component's widget with own slot slotCompMoved() CCBUG:115269
Showing
- umbrello/widgets/componentwidget.cpp 12 additions, 0 deletionsumbrello/widgets/componentwidget.cpp
- umbrello/widgets/componentwidget.h 11 additions, 0 deletionsumbrello/widgets/componentwidget.h
- umbrello/widgets/portwidget.cpp 37 additions, 18 deletionsumbrello/widgets/portwidget.cpp
- umbrello/widgets/portwidget.h 2 additions, 1 deletionumbrello/widgets/portwidget.h
Loading
Please register or sign in to comment