|
|
@ -66,6 +66,7 @@ class UBGraphicsWidgetItem : public UBGraphicsProxyWidget |
|
|
|
|
|
|
|
|
|
|
|
virtual void remove(); |
|
|
|
virtual void remove(); |
|
|
|
void removeScript(); |
|
|
|
void removeScript(); |
|
|
|
|
|
|
|
|
|
|
|
QString downloadUrl(const QString &fileUrl, const QString &extention); |
|
|
|
QString downloadUrl(const QString &fileUrl, const QString &extention); |
|
|
|
QString downloadWeb(const QString &fileUrl); |
|
|
|
QString downloadWeb(const QString &fileUrl); |
|
|
|
void processDropEvent(QDropEvent *event); |
|
|
|
void processDropEvent(QDropEvent *event); |
|
|
@ -77,13 +78,20 @@ class UBGraphicsWidgetItem : public UBGraphicsProxyWidget |
|
|
|
|
|
|
|
|
|
|
|
virtual void clearSource(); |
|
|
|
virtual void clearSource(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
protected: |
|
|
|
|
|
|
|
|
|
|
|
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event); |
|
|
|
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event); |
|
|
|
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); |
|
|
|
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *event); |
|
|
|
|
|
|
|
virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event); |
|
|
|
|
|
|
|
|
|
|
|
virtual bool eventFilter(QObject *obj, QEvent *event); |
|
|
|
virtual bool eventFilter(QObject *obj, QEvent *event); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
virtual void sendJSEnterEvent(); |
|
|
|
|
|
|
|
virtual void sendJSLeaveEvent(); |
|
|
|
|
|
|
|
|
|
|
|
UBAbstractWidget* mWebKitWidget; |
|
|
|
UBAbstractWidget* mWebKitWidget; |
|
|
|
|
|
|
|
|
|
|
|
QMap<QString, QString> mPreferences; |
|
|
|
QMap<QString, QString> mPreferences; |
|
|
|