]> git.sesse.net Git - kdenlive/blobdiff - src/parameterplotter.h
effectstack can setup the parameter now
[kdenlive] / src / parameterplotter.h
index ae0e694f47c27c8dd12e5df746d1ca50690d1e01..058286f0fa076cfad4434d6f2a6697b0490d8768 100644 (file)
@@ -16,6 +16,7 @@
  ***************************************************************************/
 
 #include <KPlotWidget>
+#include <QDomElement>
 
 class ParameterPlotter : public KPlotWidget {
        Q_OBJECT
@@ -30,8 +31,10 @@ class ParameterPlotter : public KPlotWidget {
                bool isMoveY();
                bool isMoveTimeline();
                bool isNewPoints();
+               void replot(const QString& name="");
        private:
                KPlotPoint* movepoint;
+               int activeIndexPlot;
                bool m_moveX,m_moveY,m_moveTimeline,m_newPoints;
                QPoint oldmousepoint;
                int maxx,maxy;
@@ -39,12 +42,14 @@ class ParameterPlotter : public KPlotWidget {
                void createParametersNew();
                QList<KPlotObject*> plotobjects;
                QList<QColor> colors;
+               QDomElement itemParameter;
        protected:
                void mouseMoveEvent ( QMouseEvent * event );
                void mousePressEvent ( QMouseEvent * event );
        public slots:
-               void setPointLists(const QList< QPair<QString, QMap<int,QVariant> > >&,int,int);
+               void setPointLists(const QDomElement&,int ,int);
        signals:
-               void parameterChanged(QList< QPair<QString, QMap<int,QVariant> > > );
+               void parameterChanged(QDomElement );
+               void updateFrame(int);
        
 };