]> git.sesse.net Git - kdenlive/blob - src/testwidget.h
Abstract scope class AbstractScopeWidget added.
[kdenlive] / src / testwidget.h
1 /***************************************************************************
2  *   Copyright (C) 2010 by Simon Andreas Eugster (simon.eu@gmail.com)      *
3  *   This file is part of kdenlive. See www.kdenlive.org.                  *
4  *                                                                         *
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  ***************************************************************************/
10
11 #ifndef TESTWIDGET_H
12 #define TESTWIDGET_H
13
14 #include <QWidget>
15 #include "abstractscopewidget.h"
16 #include "ui_testwidget_ui.h"
17
18 class AbstractScopeWidget;
19 class TestWidget_UI;
20
21 class TestWidget : public AbstractScopeWidget {
22     Q_OBJECT
23 public:
24     TestWidget(Monitor *projMonitor, Monitor *clipMonitor, QWidget *parent = 0);
25     virtual ~TestWidget();
26
27     QString widgetName() const;
28
29     /// Implemented methods ///
30     QImage renderHUD();
31     QImage renderScope();
32     QImage renderBackground();
33
34 protected:
35     QRect scopeRect();
36
37 private:
38     Ui::TestWidget_UI *ui;
39
40     QAction *m_aTest;
41
42 };
43
44 #endif // TESTWIDGET_H