4
#include "arthurwidgets.h"
5
#include <qbasictimer.h>
9
class XFormView : public ArthurFrame
14
XFormView(QWidget *parent);
15
void paint(QPainter *);
16
void drawVectorType(QPainter *painter);
17
void drawPixmapType(QPainter *painter);
18
void drawTextType(QPainter *painter);
19
QSize sizeHint() const { return QSize(500, 500); }
21
void mousePressEvent(QMouseEvent *e);
22
void resizeEvent(QResizeEvent *e);
23
HoverPoints *hoverPoints() { return pts; }
25
QLineEdit *textEditor;
28
void setAnimation(bool animate);
29
void updateCtrlPoints(const QPolygonF &);
30
void changeRotation(int rotation);
31
void changeScale(int scale);
32
void changeShear(int shear);
40
void rotationChanged(int rotation);
41
void scaleChanged(int scale);
42
void shearChanged(int shear);
45
void timerEvent(QTimerEvent *e);
46
void wheelEvent(QWheelEvent *);
49
enum XFormType { VectorType, PixmapType, TextType };
61
class XFormWidget : public QWidget
65
XFormWidget(QWidget *parent);