1 /***************************************************************************
2 * Copyright (C) 2010 by Simon Andreas Eugster (simon.eu@gmail.com) *
3 * This file is part of kdenlive. See www.kdenlive.org. *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
14 #include "abstractscopewidget.h"
16 #include "ui_waveform_ui.h"
19 class WaveformGenerator;
21 class Waveform : public AbstractScopeWidget {
25 Waveform(Monitor *projMonitor, Monitor *clipMonitor, QWidget *parent = 0);
28 virtual QString widgetName() const;
33 WaveformGenerator *m_waveformGenerator;
35 bool initialDimensionUpdateDone;
39 /// Implemented methods ///
41 QImage renderHUD(uint);
42 QImage renderScope(uint, QImage);
43 QImage renderBackground(uint);
44 bool isHUDDependingOnInput() const;
45 bool isScopeDependingOnInput() const;
46 bool isBackgroundDependingOnInput() const;