D23419: Fix problems when importing new Data
Martin Marmsoler
noreply at phabricator.kde.org
Sun Aug 25 09:04:35 BST 2019
Murmele created this revision.
Murmele added a reviewer: asemke.
Murmele added a project: LabPlot.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
Murmele requested review of this revision.
REVISION SUMMARY
When importing new data into a workboot with the "replace" option, the spreadsheeds are reused. In this case the reused columns change their names and so the curve is affected too, because the column is connected to it. When reusing the column, disconnect all signals to it first.
- [Column] Disconnect columns, when they are reused or deleted
- [Spreadsheet] if there are more spreadsheets than needed for the new import, delete the unused spreadsheets
- [XYCurve] create macro to connect new columns to curves, disconnect old column
- add comments to understand some processes better
- [Project] add column as formula variable column to column, when columnName(description) changed
- [Column] respect masked and invalid values
REPOSITORY
R262 LabPlot
REVISION DETAIL
https://phabricator.kde.org/D23419
AFFECTED FILES
src/backend/core/AbstractColumn.h
src/backend/core/Project.cpp
src/backend/core/column/Column.cpp
src/backend/core/column/ColumnPrivate.cpp
src/backend/core/column/ColumnPrivate.h
src/backend/lib/macrosXYCurve.h
src/backend/spreadsheet/Spreadsheet.cpp
src/backend/worksheet/plots/cartesian/CartesianPlot.cpp
src/backend/worksheet/plots/cartesian/XYCurve.cpp
src/backend/worksheet/plots/cartesian/XYCurve.h
src/kdefrontend/datasources/ImportFileDialog.cpp
To: Murmele, asemke
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190825/dd6d08e7/attachment.html>
More information about the kde-edu
mailing list