[umbrello] [Bug 447866] [class diagram] Multiple association ends are drawn on the same edge point

"Oliver Kellogg" <[email protected]>
Newsgroups gmane.linux.umbrello.devel
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=447866

--- Comment #8 from Oliver Kellogg <[email protected]> ---
Git commit dc485c16219a61d802ddf462f809e9cd7c514af3 by Oliver Kellogg.
Committed on 08/01/2022 at 08:19.
Pushed by okellogg into branch 'master'.

First stab at smoothing associationwidget endpoint update as announced
  in https://bugs.kde.org/show_bug.cgi?id=447866#c5

umbrello/umlwidgets/associationwidget.{h,cpp}
- At function calculateEndingPoints add argument UMLWidget *pWidget
  indicating the selected widget of move or resize.  If passed in as
  null then updateAssociations() will be called twice, once for the
  current associationwidget's role A widget and again for its role B
  widget.
- Add function findIntercept(const QRectF& rect, const QPointF& point,
                                                       QPointF& result)
  returning bool true if the line from the center of `rect' to `point'
  intersects with one of rect's sides, and returning the intersection
  point in `result'.
- Remove functions updateRegionLineCount and doUpdates.
- Declare function updateAssociations `static' and change arguments to
    UMLWidget *pWidget, AssociationWidgetList list.
  For details see documentation at the implementation.

M  +184  -285  umbrello/umlwidgets/associationwidget.cpp
M  +3    -12   umbrello/umlwidgets/associationwidget.h

https://invent.kde.org/sdk/umbrello/commit/dc485c16219a61d802ddf462f809e9cd7c514af3

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.