]> git.sesse.net Git - kdenlive/blob - src/documentaudiotrack.cpp
new indentation fix script
[kdenlive] / src / documentaudiotrack.cpp
1
2 #include <QMouseEvent>
3 #include <QStylePainter>
4
5 #include <KDebug>
6 #include <QFrame>
7 #include <QWidget>
8 #include <QPainter>
9
10
11 #include "documentaudiotrack.h"
12
13 DocumentAudioTrack::DocumentAudioTrack(QDomElement xml, TrackView * view, QWidget *parent)
14     : DocumentTrack(xml, view, parent), m_trackView(view)
15 {
16   setFixedHeight(50);
17 }
18
19 // virtual
20 /*
21 void DocumentAudioTrack::paintEvent(QPaintEvent *e )
22 {
23     QRect region = e->rect();
24     QPainter painter(this);
25     painter.fillRect(region, QBrush(Qt::green));
26     painter.drawLine(region.bottomLeft (), region.bottomRight ());
27 }
28 */
29
30 #include "documentaudiotrack.moc"