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"
15 #include "ui_levels_ui.h"
17 class LevelsGenerator;
19 class Levels : public AbstractScopeWidget {
23 Levels(Monitor *projMonitor, Monitor *clipMonitor, QWidget *parent = 0);
25 QString widgetName() const;
29 LevelsGenerator *m_levelsGenerator;
33 bool isHUDDependingOnInput() const;
34 bool isScopeDependingOnInput() const;
35 bool isBackgroundDependingOnInput() const;
36 QImage renderHUD(uint accelerationFactor);
37 QImage renderScope(uint accelerationFactor);
38 QImage renderBackground(uint accelerationFactor);