Bug 405408 - Line type preset
Summary: Line type preset
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.27.2 (KDE Applications 18.12.2)
Platform: Other Linux
: NOR wishlist
Target Milestone: 2.29 (KDE Applications 19.08)
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-12 21:54 UTC by Alexander Wilms
Modified: 2019-11-23 13:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.28.80 (KDE Applications 19.07.80)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Wilms 2019-03-12 21:54:42 UTC
SUMMARY
In some diagrams, spline lines look a lot better than direct connections. Instead of having to change each new line by hand, it would be nice to be able to choose a preset, which will be used for all new lines.

STEPS TO REPRODUCE
1. Create a little crowded diagram with many connections
2. Change all direct lines into splines manually

OBSERVED RESULT
This is a bit of work

EXPECTED RESULT
It should be easier

SOFTWARE/OS VERSIONS
Windows: -
MacOS: -
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.55.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
Comment 1 Alexander Wilms 2019-03-16 14:31:49 UTC
I've implemented this here: https://github.com/Alexander-Wilms/umbrello
I'll clean it up and submit a patch.
Comment 2 Ralf Habacker 2019-06-02 08:27:09 UTC
Git commit af9a334e544322b7f4c0ba042aa1a1ce1f182b1d by Ralf Habacker.
Committed on 02/06/2019 at 08:26.
Pushed by habacker into branch 'master'.

Cleanup
- remove debug message to stdout
- fix variable layoutType name case
- fix namespace in umbrello.kcfg
- readd required const modifier to AssociationLine::shape() and path()

Fixup of commit d814a68f6c5a3400c96a93c4ff9ca0ca48d50f58

FIXED-IN:19.07.80

M  +2    -4    umbrello/dialogs/pages/generaloptionpage.cpp
M  +1    -1    umbrello/optionstate.cpp
M  +1    -1    umbrello/optionstate.h
M  +0    -3    umbrello/toolbarstateassociation.cpp
M  +3    -3    umbrello/umbrello.kcfg
M  +3    -16   umbrello/umlwidgets/associationline.cpp
M  +2    -2    umbrello/umlwidgets/associationline.h
M  +0    -2    umbrello/umlwidgets/associationwidget.cpp

https://commits.kde.org/umbrello/af9a334e544322b7f4c0ba042aa1a1ce1f182b1d