Cleanup: remove unused Plotting frameworks

parent a8f6fe51
......@@ -76,7 +76,7 @@ find_package(Qt5 REQUIRED COMPONENTS Core DBus Widgets Script Svg Quick )
find_package(Qt5 OPTIONAL_COMPONENTS WebKitWidgets QUIET)
find_package(KF5 REQUIRED COMPONENTS Archive Bookmarks CoreAddons Config ConfigWidgets
DBusAddons KIO WidgetsAddons Plotting NotifyConfig NewStuff XmlGui Notifications GuiAddons TextWidgets IconThemes DocTools Crash OPTIONAL_COMPONENTS FileMetaData)
DBusAddons KIO WidgetsAddons NotifyConfig NewStuff XmlGui Notifications GuiAddons TextWidgets IconThemes DocTools Crash OPTIONAL_COMPONENTS FileMetaData)
if (KF5FileMetaData_FOUND)
message(STATUS "Found KF5 FileMetadata to extract file metadata")
......
......@@ -248,7 +248,6 @@ include_directories(
target_link_libraries(kdenlive
KF5::WidgetsAddons
KF5::Plotting
KF5::Archive
KF5::CoreAddons
KF5::KIOCore
......
......@@ -4,7 +4,6 @@ set(kdenlive_SRCS
effectstack/abstractcollapsiblewidget.cpp
effectstack/collapsibleeffect.cpp
effectstack/collapsiblegroup.cpp
effectstack/complexparameter.cpp
effectstack/dragvalue.cpp
effectstack/effectstackedit.cpp
effectstack/effectstackview2.cpp
......@@ -14,7 +13,6 @@ set(kdenlive_SRCS
effectstack/keyframehelper.cpp
effectstack/animkeyframeruler.cpp
effectstack/parametercontainer.cpp
effectstack/parameterplotter.cpp
effectstack/positionedit.cpp
effectstack/widgets/animationwidget.cpp
effectstack/widgets/choosecolorwidget.cpp
......
......@@ -19,7 +19,6 @@
#include "parametercontainer.h"
#include "complexparameter.h"
#include "geometryval.h"
#include "positionedit.h"
#include "dragvalue.h"
......@@ -364,12 +363,6 @@ ParameterContainer::ParameterContainer(const QDomElement &effect, const ItemInfo
m_conditionalWidgets << m_animationWidget;
}
}
} else if (type == QLatin1String("complex")) {
ComplexParameter *pl = new ComplexParameter;
pl->setupParam(effect, pa.attribute(QStringLiteral("name")), 0, 100);
m_vbox->addWidget(pl);
m_valueItems[paramName+"complex"] = pl;
connect(pl, SIGNAL(parameterChanged()), this, SLOT(slotCollectAllParameters()));
} else if (type == QLatin1String("geometry")) {
m_acceptDrops = true;
if (true) {
......@@ -1000,9 +993,6 @@ void ParameterContainer::slotCollectAllParameters()
ChooseColorWidget *choosecolor = static_cast<ChooseColorWidget*>(m_valueItems.value(paramName));
if (choosecolor) setValue = choosecolor->getColor();
if (pa.hasAttribute(QStringLiteral("paramprefix"))) setValue.prepend(pa.attribute(QStringLiteral("paramprefix")));
} else if (type == QLatin1String("complex")) {
ComplexParameter *complex = static_cast<ComplexParameter*>(m_valueItems.value(paramName));
if (complex) namenode.item(i) = complex->getParamDesc();
} else if (type == QLatin1String("geometry")) {
if (m_geometryWidget) namenode.item(i).toElement().setAttribute(QStringLiteral("value"), m_geometryWidget->getValue());
} else if (type == QLatin1String("addedgeometry")) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment