1 #ifndef DOCUMENTTRACK_H
2 #define DOCUMENTTRACK_H
10 #include "definitions.h"
14 class TrackPanelFunction;
18 class DocumentTrack : public QWidget {
22 DocumentTrack(QDomElement xml, TrackView * view, QWidget *parent = 0);
24 QList <TrackViewClip> clipList();
26 int documentTrackIndex();
27 TrackViewClip *getClipAt(GenTime pos);
28 void addFunctionDecorator(const QString & mode, const QString & function);
29 QStringList applicableFunctions(const QString & mode);
32 //virtual void paintEvent(QPaintEvent * /*e*/);
36 QList <TrackViewClip> m_clipList;
39 /** A map of lists of track panel functions. */
40 QMap < QString, QStringList > m_trackPanelFunctions;