1 /***************************************************************************
2 titlewidget.h - description
5 copyright : (C) 2008 by Marco Gittler
6 email : g.marco@freenet.de
7 ***************************************************************************/
9 /***************************************************************************
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. *
16 ***************************************************************************/
25 #include "ui_titlewidget_ui.h"
26 #include "titledocument.h"
28 #include "graphicsscenerectmove.h"
37 double scalex, scaley;
41 class TitleWidget : public QDialog , public Ui::TitleWidget_UI {
44 TitleWidget(Render *render, QWidget *parent = 0);
47 virtual void resizeEvent(QResizeEvent * event);
50 QGraphicsPolygonItem *startViewport, *endViewport;
51 GraphicsSceneRectMove *m_scene;
53 QMap<QGraphicsItem*, Transform > transformations;
54 TitleDocument m_titledocument;
55 QGraphicsRectItem *m_frameBorder;
62 void slotChangeBackground();
63 void selectionChanged();
67 void setupViewports();
68 void zIndexChanged(int);
69 void svgSelected(const KUrl&);