]> git.sesse.net Git - kdenlive/blob - src/titlewidget.h
colored viewports and stepsize for move/resize increased
[kdenlive] / src / titlewidget.h
1 /***************************************************************************
2                           titlewidget.h  -  description
3                              -------------------
4     begin                : Feb 28 2008
5     copyright            : (C) 2008 by Marco Gittler
6     email                : g.marco@freenet.de
7  ***************************************************************************/
8
9 /***************************************************************************
10  *                                                                         *
11  *   This program is free software; you can redistribute it and/or modify  *
12  *   it under the terms of the GNU General Public License as published by  *
13  *   the Free Software Foundation; either version 2 of the License, or     *
14  *   (at your option) any later version.                                   *
15  *                                                                         *
16  ***************************************************************************/
17
18 #ifndef TITLEWIDGET_H
19 #define TITLEWIDGET_H
20
21 #include "ui_titlewidget_ui.h"
22 #include <QDialog>
23
24 class TitleWidget : public QDialog , public Ui::TitleWidget_UI{
25         Q_OBJECT
26 public:
27         TitleWidget(QDialog *parent=0);
28 private:
29         QGraphicsPolygonItem *startViewport,*endViewport;
30         void initViewports();
31 public slots:
32         void slotNewText();
33         void slotNewRect();
34         void slotChangeBackground();
35         void selectionChanged();
36         void textChanged();
37         void rectChanged();
38         void fontBold();
39         void setupViewports();
40 };
41
42
43 #endif