c++ - What are the advantages of using QGraphicsWebView over QWebView? -


If this question is based on a false impression then apologies. I'm new to both WebKit and QT

I'm trying to use QGraphicsWebView instead of a simple QWebView object to justify the circumstances. I think it is more complicated to apply compared to each other What's used in the use of the QGraphicsView class uses fliexibility? And why does QT-Creator's default HTML5 application template use QGraphicsWebView instead of QWebView?

For example, if I want to implement scrolling and zooming driven by mouse gesture or implement custom scrolling implementation, then do I need QGraphicsWebView, or will a simple QWebView be enough?

with QT docs:

Graphics view to QGraphicsWebView class

, then QGraphicsWebView can be used as QGraphicsItem QGraphicsScene .


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -