Summary: | No change of association symbol line colour and width possible | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Ralf Habacker <ralf.habacker> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.18.0 (KDE Applications 15.12.0) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/umbrello/c14b580a5f42358d9dfbd916b3afc315e12ffd51 | Version Fixed In: | 2.18.2 (KDE Applications 15.12.2) |
Sentry Crash Report: |
Description
Ralf Habacker
2016-01-22 08:54:24 UTC
Symbol line width could also no be changed. Git commit c14b580a5f42358d9dfbd916b3afc315e12ffd51 by Ralf Habacker. Committed on 22/01/2016 at 10:32. Pushed by habacker into branch 'Applications/15.12'. Fix 'No change of association symbol line colour and width possible'. The bug is caused by two issues: 1. line color changes are not routed through the virtual method setLineColor() 2. class AssociationLine did not propagate line color changes to the related symbols. This patch includes a minor refactoring in class AssociationLine to provide the standard pen based api, which is required to set symbol pen. Related: bug 358365 FIXED-IN:2.18.2 (KDE Applications 15.12.2) M +23 -8 umbrello/umlwidgets/associationline.cpp M +2 -0 umbrello/umlwidgets/associationline.h M +16 -0 umbrello/umlwidgets/associationwidget.cpp M +2 -0 umbrello/umlwidgets/associationwidget.h M +1 -1 umbrello/umlwidgets/boxwidget.cpp M +8 -8 umbrello/umlwidgets/widgetbase.cpp http://commits.kde.org/umbrello/c14b580a5f42358d9dfbd916b3afc315e12ffd51 Git commit 8909fe46197efb45fd0a9263bf6afdf7b4a5fd34 by Ralf Habacker. Committed on 05/02/2016 at 08:35. Pushed by habacker into branch 'Applications/15.12'. Fix initial setting of line color of an association widget. Because assocation line color is now setable an additional bug has been raised on initialisation. The initial setting of association line colors needs to be finished in the derived constructors because virtual methods of a derived class are not possible in WidgetBase constructor. M +3 -0 umbrello/umlwidgets/associationwidget.cpp M +4 -0 umbrello/umlwidgets/umlwidget.cpp M +2 -0 umbrello/umlwidgets/widgetbase.cpp http://commits.kde.org/umbrello/8909fe46197efb45fd0a9263bf6afdf7b4a5fd34 |