4 #include <QSvgRenderer>
5 #include <QGraphicsView>
6 #include <QGraphicsSvgItem>
10 class SVGViewer
: public QGraphicsView
15 SVGViewer(QWidget
*parent
= 0);
16 void openFile(QString fileName
);
23 void paintEvent(QPaintEvent
* event
);
24 void wheelEvent(QWheelEvent
* event
);
27 void zoomChange(qreal factor
);
30 QGraphicsSvgItem
* svgItem
;