29 explicit QVSvgWidget(QString file, QWidget *parent = 0);
31 QSize defaultSize()
const;
32 float aspectRatio()
const;
34 void mousePressEvent(QMouseEvent*);
35 void mouseMoveEvent(QMouseEvent*);
36 void resizeEvent(QResizeEvent*);
37 void mouseReleaseEvent(QMouseEvent*);
40 void clicked(
double xrel,
double yrel);
41 void dragged(
double xrel,
double yrel);
42 void released(
double xrel,
double yrel);
45 void load(
const QByteArray&);
46 void setPathStyle(QString property, QString value, QString
id =
"",
bool force_insert =
false);
47 void preserveAspectRatio(
bool);
51 void updateSubPath(QDomElement &elem, QString property, QString value, QString
id,
bool force_insert);
54 bool preserve_aspect_ratio;
57 #endif // QVSVGWIDGET_H