Bug 358365

Summary: Complete refactoring of line color and line with based setting to QPen.
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In:

Description Ralf Habacker 2016-01-22 10:16:04 UTC
From the umbrello-soc branch a new QPen based design to access (an set) line color and line with for a widget (class AssociationLine and Symbol). It would be nice to use this api in the whole umbrello source code.





Reproducible: Always
Comment 1 Ralf Habacker 2016-01-22 10:33:12 UTC
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 358358
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