diff edtimeline.h @ 398:8660c6005032

More work.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 19 Oct 2012 09:46:05 +0300
parents 9993873ff655
children 0f290af63fc1
line wrap: on
line diff
--- a/edtimeline.h	Fri Oct 19 07:22:09 2012 +0300
+++ b/edtimeline.h	Fri Oct 19 09:46:05 2012 +0300
@@ -5,6 +5,7 @@
 #include <QCheckBox>
 #include <QVBoxLayout>
 #include <QLabel>
+#include <QLineEdit>
 #include "edtlobj.h"
 #include "dmengine.h"
 
@@ -50,7 +51,8 @@
     Q_OBJECT
 
 private:
-    QLabel *infoName, *infoData;
+    QLineEdit *infoName;
+    QLabel *infoData;
     QCheckBox *enabledCheck;
 
 public:
@@ -58,12 +60,14 @@
 
     QTimelineTrackView(QWidget *parent = 0);
     void setTrack(DMTimelineTrack *mtrack);
+    void update();
 
 private slots:
-    void slotTrackChanged(bool);
+    void slotTrackEnabledChanged(bool);
+    void slotTrackNameChanged(const QString & text);
 
 signals:
-    void trackChanged(bool);
+    void trackChanged();
 };
 
 
@@ -73,6 +77,7 @@
 
 private:
     QVBoxLayout *layout;
+
     TimelineObject *tl;
     QList<QTimelineTrackView *> tracks;