Summary: | Legend entries can no longer be set manually | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Nicolas Brisset <nicolas.brisset> |
Component: | general | Assignee: | kst |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | 2.0.4 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kst-plot/eeddc65e4fac824a66825349b49c66c11429e267 | Version Fixed In: | |
Sentry Crash Report: |
Description
Nicolas Brisset
2012-02-03 17:59:42 UTC
I'd add a property to the curve class (bool _manualLegend) and 2 entries in the edit curve dialog, for instance below the curve name: a checkbox "Manual legend" and when set it'd activate a QLineEdit to set the legend text. When drawing the legend, we'd just check if we should use the manual entry or the curve name. Hum, apparently there is already a _manualDescriptiveName property which is used when set. But... where can it be set??? Git commit eeddc65e4fac824a66825349b49c66c11429e267 by Barth Netterfield. Committed on 05/10/2018 at 15:28. Pushed by netterfield into branch 'master'. Curve Dialog gets a manual Legend Name entry. This overrides all automatic naming. M +31 -2 src/libkstapp/curvedialog.cpp M +6 -0 src/libkstapp/curvedialog.h M +60 -1 src/libkstapp/curvetab.ui M +13 -4 src/libkstapp/datadialog.cpp M +1 -0 src/libkstapp/datadialog.h M +22 -42 src/libkstapp/legenditem.cpp M +47 -1 src/libkstmath/relation.cpp M +8 -1 src/libkstmath/relation.h https://commits.kde.org/kst-plot/eeddc65e4fac824a66825349b49c66c11429e267 |