Skip to content
Commit d0bafb53 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

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
parent 09fb20a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment