~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qgraphicswebview.html

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<!-- qgraphicswebview.cpp -->
 
6
<head>
 
7
  <title>Qt 4.6: QGraphicsWebView Class Reference</title>
 
8
  <link href="classic.css" rel="stylesheet" type="text/css" />
 
9
</head>
 
10
<body>
 
11
<a name="//apple_ref/cpp/cl//QGraphicsWebView" />
 
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
13
<tr>
 
14
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
 
15
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
 
16
</tr></table><h1 class="title">QGraphicsWebView Class Reference<br /><span class="small-subtitle">[<a href="qtwebkit.html">QtWebKit</a> module]</span>
 
17
</h1>
 
18
<p>The QGraphicsWebView class allows web content to be added to a <a href="graphicsview.html#graphicsview">GraphicsView</a>. <a href="#details">More...</a></p>
 
19
<pre> #include &lt;QGraphicsWebView&gt;</pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p>
 
20
<p>Inherits <a href="qgraphicswidget.html">QGraphicsWidget</a>.</p>
 
21
<p>This class was introduced in Qt 4.6.</p>
 
22
<ul>
 
23
<li><a href="qgraphicswebview-members.html">List of all members, including inherited members</a></li>
 
24
</ul>
 
25
<hr />
 
26
<a name="properties"></a>
 
27
<h2>Properties</h2>
 
28
<p><table class="propsummary" width="100%" border="0" cellpadding="0" cellspacing="0">
 
29
<tr><td width="45%" valign="top"><ul>
 
30
<li><div class="fn"><b><a href="qgraphicswebview.html#html-prop">html</a></b> : QString</div></li>
 
31
<li><div class="fn"><b><a href="qgraphicswebview.html#icon-prop">icon</a></b> : const QIcon</div></li>
 
32
<li><div class="fn"><b><a href="qgraphicswebview.html#interactive-prop">interactive</a></b> : bool</div></li>
 
33
<li><div class="fn"><b><a href="qgraphicswebview.html#progress-prop">progress</a></b> : const qreal</div></li>
 
34
</ul></td><td valign="top"><ul>
 
35
<li><div class="fn"><b><a href="qgraphicswebview.html#status-prop">status</a></b> : const QString</div></li>
 
36
<li><div class="fn"><b><a href="qgraphicswebview.html#title-prop">title</a></b> : const QString</div></li>
 
37
<li><div class="fn"><b><a href="qgraphicswebview.html#url-prop">url</a></b> : QUrl</div></li>
 
38
<li><div class="fn"><b><a href="qgraphicswebview.html#zoomFactor-prop">zoomFactor</a></b> : qreal</div></li>
 
39
</ul>
 
40
</td></tr>
 
41
</table></p>
 
42
<ul>
 
43
<li><div bar="2" class="fn"></div>8 properties inherited from <a href="qgraphicswidget.html#properties">QGraphicsWidget</a></li>
 
44
<li><div bar="2" class="fn"></div>12 properties inherited from <a href="qgraphicsobject.html#properties">QGraphicsObject</a></li>
 
45
<li><div bar="2" class="fn"></div>1 property inherited from <a href="qobject.html#properties">QObject</a></li>
 
46
</ul>
 
47
<hr />
 
48
<a name="public-functions"></a>
 
49
<h2>Public Functions</h2>
 
50
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
51
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#QGraphicsWebView">QGraphicsWebView</a></b> ( QGraphicsItem * <i>parent</i> = 0 )</td></tr>
 
52
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#dtor.QGraphicsWebView">~QGraphicsWebView</a></b> ()</td></tr>
 
53
<tr><td class="memItemLeft" align="right" valign="top">QWebHistory * </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#history">history</a></b> () const</td></tr>
 
54
<tr><td class="memItemLeft" align="right" valign="top">QIcon </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#icon-prop">icon</a></b> () const</td></tr>
 
55
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#interactive-prop">isInteractive</a></b> () const</td></tr>
 
56
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#load">load</a></b> ( const QUrl &amp; <i>url</i> )</td></tr>
 
57
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#load-2">load</a></b> ( const QNetworkRequest &amp; <i>request</i>, QNetworkAccessManager::Operation <i>operation</i> = QNetworkAccessManager::GetOperation, const QByteArray &amp; <i>body</i> = QByteArray() )</td></tr>
 
58
<tr><td class="memItemLeft" align="right" valign="top">QWebPage * </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#page">page</a></b> () const</td></tr>
 
59
<tr><td class="memItemLeft" align="right" valign="top">qreal </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#progress-prop">progress</a></b> () const</td></tr>
 
60
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#setContent">setContent</a></b> ( const QByteArray &amp; <i>data</i>, const QString &amp; <i>mimeType</i> = QString(), const QUrl &amp; <i>baseUrl</i> = QUrl() )</td></tr>
 
61
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#html-prop">setHtml</a></b> ( const QString &amp; <i>html</i>, const QUrl &amp; <i>baseUrl</i> = QUrl() )</td></tr>
 
62
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#interactive-prop">setInteractive</a></b> ( bool )</td></tr>
 
63
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#setPage">setPage</a></b> ( QWebPage * <i>page</i> )</td></tr>
 
64
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#url-prop">setUrl</a></b> ( const QUrl &amp; )</td></tr>
 
65
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#zoomFactor-prop">setZoomFactor</a></b> ( qreal )</td></tr>
 
66
<tr><td class="memItemLeft" align="right" valign="top">QWebSettings * </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#settings">settings</a></b> () const</td></tr>
 
67
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#status-prop">status</a></b> () const</td></tr>
 
68
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#title-prop">title</a></b> () const</td></tr>
 
69
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#html-prop">toHtml</a></b> () const</td></tr>
 
70
<tr><td class="memItemLeft" align="right" valign="top">QUrl </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#url-prop">url</a></b> () const</td></tr>
 
71
<tr><td class="memItemLeft" align="right" valign="top">qreal </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#zoomFactor-prop">zoomFactor</a></b> () const</td></tr>
 
72
</table>
 
73
<hr />
 
74
<a name="reimplemented-public-functions"></a>
 
75
<h2>Reimplemented Public Functions</h2>
 
76
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
77
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#event">event</a></b> ( QEvent * <i>event</i> )</td></tr>
 
78
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#paint">paint</a></b> ( QPainter * <i>painter</i>, const QStyleOptionGraphicsItem * <i>option</i>, QWidget * <i>widget</i> = 0 )</td></tr>
 
79
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#setGeometry">setGeometry</a></b> ( const QRectF &amp; <i>rect</i> )</td></tr>
 
80
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#updateGeometry">updateGeometry</a></b> ()</td></tr>
 
81
</table>
 
82
<ul>
 
83
<li><div bar="2" class="fn"></div>51 public functions inherited from <a href="qgraphicswidget.html#public-functions">QGraphicsWidget</a></li>
 
84
<li><div bar="2" class="fn"></div>1 public function inherited from <a href="qgraphicsobject.html#public-functions">QGraphicsObject</a></li>
 
85
<li><div bar="2" class="fn"></div>35 public functions inherited from <a href="qgraphicslayoutitem.html#public-functions">QGraphicsLayoutItem</a></li>
 
86
<li><div bar="2" class="fn"></div>29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
 
87
<li><div bar="2" class="fn"></div>177 public functions inherited from <a href="qgraphicsitem.html#public-functions">QGraphicsItem</a></li>
 
88
</ul>
 
89
<hr />
 
90
<a name="public-slots"></a>
 
91
<h2>Public Slots</h2>
 
92
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
93
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#back">back</a></b> ()</td></tr>
 
94
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#forward">forward</a></b> ()</td></tr>
 
95
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#reload">reload</a></b> ()</td></tr>
 
96
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#stop">stop</a></b> ()</td></tr>
 
97
</table>
 
98
<ul>
 
99
<li><div bar="2" class="fn"></div>1 public slot inherited from <a href="qgraphicswidget.html#public-slots">QGraphicsWidget</a></li>
 
100
<li><div bar="2" class="fn"></div>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
 
101
</ul>
 
102
<hr />
 
103
<a name="signals"></a>
 
104
<h2>Signals</h2>
 
105
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
106
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#iconChanged">iconChanged</a></b> ()</td></tr>
 
107
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#interactivityChanged">interactivityChanged</a></b> ()</td></tr>
 
108
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#loadFailed">loadFailed</a></b> ()</td></tr>
 
109
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#loadFinished">loadFinished</a></b> ()</td></tr>
 
110
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#loadStarted">loadStarted</a></b> ()</td></tr>
 
111
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#progressChanged">progressChanged</a></b> ( qreal )</td></tr>
 
112
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#statusChanged">statusChanged</a></b> ()</td></tr>
 
113
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#titleChanged">titleChanged</a></b> ( const QString &amp; )</td></tr>
 
114
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#urlChanged">urlChanged</a></b> ( const QUrl &amp; )</td></tr>
 
115
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#zoomFactorChanged">zoomFactorChanged</a></b> ()</td></tr>
 
116
</table>
 
117
<ul>
 
118
<li><div bar="2" class="fn"></div>9 signals inherited from <a href="qgraphicsobject.html#signals">QGraphicsObject</a></li>
 
119
<li><div bar="2" class="fn"></div>1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
 
120
</ul>
 
121
<hr />
 
122
<a name="reimplemented-protected-functions"></a>
 
123
<h2>Reimplemented Protected Functions</h2>
 
124
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
125
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#contextMenuEvent">contextMenuEvent</a></b> ( QGraphicsSceneContextMenuEvent * <i>ev</i> )</td></tr>
 
126
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#dragEnterEvent">dragEnterEvent</a></b> ( QGraphicsSceneDragDropEvent * <i>ev</i> )</td></tr>
 
127
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#dragLeaveEvent">dragLeaveEvent</a></b> ( QGraphicsSceneDragDropEvent * <i>ev</i> )</td></tr>
 
128
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#dragMoveEvent">dragMoveEvent</a></b> ( QGraphicsSceneDragDropEvent * <i>ev</i> )</td></tr>
 
129
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#dropEvent">dropEvent</a></b> ( QGraphicsSceneDragDropEvent * <i>ev</i> )</td></tr>
 
130
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#focusInEvent">focusInEvent</a></b> ( QFocusEvent * <i>ev</i> )</td></tr>
 
131
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#focusNextPrevChild">focusNextPrevChild</a></b> ( bool <i>next</i> )</td></tr>
 
132
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#focusOutEvent">focusOutEvent</a></b> ( QFocusEvent * <i>ev</i> )</td></tr>
 
133
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#hoverLeaveEvent">hoverLeaveEvent</a></b> ( QGraphicsSceneHoverEvent * <i>ev</i> )</td></tr>
 
134
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#hoverMoveEvent">hoverMoveEvent</a></b> ( QGraphicsSceneHoverEvent * <i>ev</i> )</td></tr>
 
135
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#inputMethodEvent">inputMethodEvent</a></b> ( QInputMethodEvent * <i>ev</i> )</td></tr>
 
136
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#keyPressEvent">keyPressEvent</a></b> ( QKeyEvent * <i>ev</i> )</td></tr>
 
137
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#keyReleaseEvent">keyReleaseEvent</a></b> ( QKeyEvent * <i>ev</i> )</td></tr>
 
138
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#mouseDoubleClickEvent">mouseDoubleClickEvent</a></b> ( QGraphicsSceneMouseEvent * <i>ev</i> )</td></tr>
 
139
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#mouseMoveEvent">mouseMoveEvent</a></b> ( QGraphicsSceneMouseEvent * <i>ev</i> )</td></tr>
 
140
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#mousePressEvent">mousePressEvent</a></b> ( QGraphicsSceneMouseEvent * <i>ev</i> )</td></tr>
 
141
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#mouseReleaseEvent">mouseReleaseEvent</a></b> ( QGraphicsSceneMouseEvent * <i>ev</i> )</td></tr>
 
142
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#sceneEvent">sceneEvent</a></b> ( QEvent * <i>event</i> )</td></tr>
 
143
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#wheelEvent">wheelEvent</a></b> ( QGraphicsSceneWheelEvent * <i>ev</i> )</td></tr>
 
144
</table>
 
145
<ul>
 
146
<li><div bar="2" class="fn"></div>24 protected functions inherited from <a href="qgraphicswidget.html#protected-functions">QGraphicsWidget</a></li>
 
147
<li><div bar="2" class="fn"></div>3 protected functions inherited from <a href="qgraphicslayoutitem.html#protected-functions">QGraphicsLayoutItem</a></li>
 
148
<li><div bar="2" class="fn"></div>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
 
149
<li><div bar="2" class="fn"></div>23 protected functions inherited from <a href="qgraphicsitem.html#protected-functions">QGraphicsItem</a></li>
 
150
</ul>
 
151
<h3>Additional Inherited Members</h3>
 
152
<ul>
 
153
<li><div class="fn"></div>1 static public member inherited from <a href="qgraphicswidget.html#static-public-members">QGraphicsWidget</a></li>
 
154
<li><div class="fn"></div>5 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
 
155
<li><div class="fn"></div>1 static public member inherited from <a href="qgraphicsitem.html#static-public-members">QGraphicsItem</a></li>
 
156
<li><div class="fn"></div>24 protected functions inherited from <a href="qgraphicswidget.html#protected-functions">QGraphicsWidget</a></li>
 
157
<li><div class="fn"></div>3 protected functions inherited from <a href="qgraphicslayoutitem.html#protected-functions">QGraphicsLayoutItem</a></li>
 
158
<li><div class="fn"></div>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
 
159
<li><div class="fn"></div>23 protected functions inherited from <a href="qgraphicsitem.html#protected-functions">QGraphicsItem</a></li>
 
160
</ul>
 
161
<a name="details"></a>
 
162
<hr />
 
163
<h2>Detailed Description</h2>
 
164
<p>The QGraphicsWebView class allows web content to be added to a <a href="graphicsview.html#graphicsview">GraphicsView</a>.</p>
 
165
<p>A WebGraphicsItem renders web content based on a URL or set data.</p>
 
166
<p>If the width and height of the item is not set, they will dynamically adjust to a size appropriate for the content. This width may be large (eg. 980) for typical online web pages.</p>
 
167
<hr />
 
168
<h2>Property Documentation</h2>
 
169
<a name="//apple_ref/cpp/instm/QGraphicsWebView/toHtml" />
 
170
<a name="//apple_ref/cpp/instm/QGraphicsWebView/setHtml" />
 
171
<h3 class="fn"><a name="html-prop"></a>html : <a href="qstring.html">QString</a></h3>
 
172
<p>This property provides an HTML interface to the text in the webview.</p>
 
173
<p>When setting this property, external objects such as stylesheets or images referenced in the HTML document are located relative to <i>baseUrl</i>.</p>
 
174
<p>The <i>html</i> is loaded immediately; external objects are loaded asynchronously.</p>
 
175
<p>When using these methods, WebKit assumes that external resources such as JavaScript programs or style sheets are encoded in UTF-8 unless otherwise specified. For example, the encoding of an external script can be specified through the charset attribute of the HTML script tag. Alternatively, the encoding can also be specified by the web server.</p>
 
176
<p><b>Access functions:</b></p>
 
177
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
178
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b>toHtml</b> () const</td></tr>
 
179
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setHtml</b> ( const QString &amp; <i>html</i>, const QUrl &amp; <i>baseUrl</i> = QUrl() )</td></tr>
 
180
</table>
 
181
<p>See also <a href="qgraphicswebview.html#load">load</a>(), <a href="qgraphicswebview.html#setContent">setContent</a>(), and <a href="qwebframe.html#toHtml">QWebFrame::toHtml</a>().</p>
 
182
<a name="//apple_ref/cpp/instm/QGraphicsWebView/icon" />
 
183
<a name="//apple_ref/cpp/instm/QGraphicsWebView/iconChanged" />
 
184
<h3 class="fn"><a name="icon-prop"></a>icon : const <a href="qicon.html">QIcon</a></h3>
 
185
<p>This property holds the icon associated with the web page currently viewed.</p>
 
186
<p>By default, this property contains a null icon.</p>
 
187
<p><b>Access functions:</b></p>
 
188
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
189
<tr><td class="memItemLeft" align="right" valign="top">QIcon </td><td class="memItemRight" valign="bottom"><b>icon</b> () const</td></tr>
 
190
</table>
 
191
<p><b>Notifier signal:</b></p>
 
192
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
193
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#iconChanged">iconChanged</a></b> ()</td></tr>
 
194
</table>
 
195
<p>See also <a href="qgraphicswebview.html#iconChanged">iconChanged</a>() and <a href="qwebsettings.html#iconForUrl">QWebSettings::iconForUrl</a>().</p>
 
196
<a name="//apple_ref/cpp/instm/QGraphicsWebView/isInteractive" />
 
197
<a name="//apple_ref/cpp/instm/QGraphicsWebView/setInteractive" />
 
198
<a name="//apple_ref/cpp/instm/QGraphicsWebView/interactivityChanged" />
 
199
<h3 class="fn"><a name="interactive-prop"></a>interactive : bool</h3>
 
200
<p>This property holds controls whether the item responds to mouse and key events.</p>
 
201
<p><b>Access functions:</b></p>
 
202
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
203
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b>isInteractive</b> () const</td></tr>
 
204
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setInteractive</b> ( bool )</td></tr>
 
205
</table>
 
206
<p><b>Notifier signal:</b></p>
 
207
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
208
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#interactivityChanged">interactivityChanged</a></b> ()</td></tr>
 
209
</table>
 
210
<a name="//apple_ref/cpp/instm/QGraphicsWebView/progress" />
 
211
<a name="//apple_ref/cpp/instm/QGraphicsWebView/progressChanged" />
 
212
<h3 class="fn"><a name="progress-prop"></a>progress : const <a href="qtglobal.html#qreal-typedef">qreal</a></h3>
 
213
<p>This property holds the progress of loading the current URL, from 0 to 1.</p>
 
214
<p><b>Access functions:</b></p>
 
215
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
216
<tr><td class="memItemLeft" align="right" valign="top">qreal </td><td class="memItemRight" valign="bottom"><b>progress</b> () const</td></tr>
 
217
</table>
 
218
<p><b>Notifier signal:</b></p>
 
219
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
220
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#progressChanged">progressChanged</a></b> ( qreal )</td></tr>
 
221
</table>
 
222
<a name="//apple_ref/cpp/instm/QGraphicsWebView/status" />
 
223
<a name="//apple_ref/cpp/instm/QGraphicsWebView/statusChanged" />
 
224
<h3 class="fn"><a name="status-prop"></a>status : const <a href="qstring.html">QString</a></h3>
 
225
<p>This property holds the load status message.</p>
 
226
<p>Provides the latest status message set during the load of a URL. Commonly shown by Status Bar widgets.</p>
 
227
<p><b>Access functions:</b></p>
 
228
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
229
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b>status</b> () const</td></tr>
 
230
</table>
 
231
<p><b>Notifier signal:</b></p>
 
232
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
233
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#statusChanged">statusChanged</a></b> ()</td></tr>
 
234
</table>
 
235
<p>See also <a href="qgraphicswebview.html#statusChanged">statusChanged</a>().</p>
 
236
<a name="//apple_ref/cpp/instm/QGraphicsWebView/title" />
 
237
<a name="//apple_ref/cpp/instm/QGraphicsWebView/titleChanged" />
 
238
<h3 class="fn"><a name="title-prop"></a>title : const <a href="qstring.html">QString</a></h3>
 
239
<p>This property holds the title of the web page currently viewed.</p>
 
240
<p>By default, this property contains an empty string.</p>
 
241
<p><b>Access functions:</b></p>
 
242
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
243
<tr><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><b>title</b> () const</td></tr>
 
244
</table>
 
245
<p><b>Notifier signal:</b></p>
 
246
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
247
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#titleChanged">titleChanged</a></b> ( const QString &amp; )</td></tr>
 
248
</table>
 
249
<p>See also <a href="qgraphicswebview.html#titleChanged">titleChanged</a>().</p>
 
250
<a name="//apple_ref/cpp/instm/QGraphicsWebView/url" />
 
251
<a name="//apple_ref/cpp/instm/QGraphicsWebView/setUrl" />
 
252
<a name="//apple_ref/cpp/instm/QGraphicsWebView/urlChanged" />
 
253
<h3 class="fn"><a name="url-prop"></a>url : <a href="qurl.html">QUrl</a></h3>
 
254
<p>This property holds the url of the web page currently viewed.</p>
 
255
<p>Setting this property clears the view and loads the URL.</p>
 
256
<p>By default, this property contains an empty, invalid URL.</p>
 
257
<p><b>Access functions:</b></p>
 
258
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
259
<tr><td class="memItemLeft" align="right" valign="top">QUrl </td><td class="memItemRight" valign="bottom"><b>url</b> () const</td></tr>
 
260
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setUrl</b> ( const QUrl &amp; )</td></tr>
 
261
</table>
 
262
<p><b>Notifier signal:</b></p>
 
263
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
264
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#urlChanged">urlChanged</a></b> ( const QUrl &amp; )</td></tr>
 
265
</table>
 
266
<p>See also <a href="qgraphicswebview.html#load">load</a>() and <a href="qgraphicswebview.html#urlChanged">urlChanged</a>().</p>
 
267
<a name="//apple_ref/cpp/instm/QGraphicsWebView/zoomFactor" />
 
268
<a name="//apple_ref/cpp/instm/QGraphicsWebView/setZoomFactor" />
 
269
<a name="//apple_ref/cpp/instm/QGraphicsWebView/zoomFactorChanged" />
 
270
<h3 class="fn"><a name="zoomFactor-prop"></a>zoomFactor : <a href="qtglobal.html#qreal-typedef">qreal</a></h3>
 
271
<p>This property holds the zoom factor for the view.</p>
 
272
<p>This property was introduced in Qt 4.5.</p>
 
273
<p><b>Access functions:</b></p>
 
274
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
275
<tr><td class="memItemLeft" align="right" valign="top">qreal </td><td class="memItemRight" valign="bottom"><b>zoomFactor</b> () const</td></tr>
 
276
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setZoomFactor</b> ( qreal )</td></tr>
 
277
</table>
 
278
<p><b>Notifier signal:</b></p>
 
279
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
280
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qgraphicswebview.html#zoomFactorChanged">zoomFactorChanged</a></b> ()</td></tr>
 
281
</table>
 
282
<hr />
 
283
<h2>Member Function Documentation</h2>
 
284
<a name="//apple_ref/cpp/instm/QGraphicsWebView/QGraphicsWebView" />
 
285
<h3 class="fn"><a name="QGraphicsWebView"></a>QGraphicsWebView::QGraphicsWebView ( <a href="qgraphicsitem.html">QGraphicsItem</a> * <i>parent</i> = 0 )</h3>
 
286
<p>Constructs an empty <a href="qgraphicswebview.html">QGraphicsWebView</a> with parent <i>parent</i>.</p>
 
287
<p>See also <a href="qgraphicswebview.html#load">load</a>().</p>
 
288
<a name="//apple_ref/cpp/instm/QGraphicsWebView/~QGraphicsWebView" />
 
289
<h3 class="fn"><a name="dtor.QGraphicsWebView"></a>QGraphicsWebView::~QGraphicsWebView ()</h3>
 
290
<p>Destroys the web graphicsitem.</p>
 
291
<a name="//apple_ref/cpp/instm/QGraphicsWebView/back" />
 
292
<h3 class="fn"><a name="back"></a>void QGraphicsWebView::back ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
 
293
<p>Convenience slot that loads the previous document in the list of documents built by navigating links. Does nothing if there is no previous document.</p>
 
294
<p>See also <a href="qgraphicswebview.html#forward">forward</a>().</p>
 
295
<a name="//apple_ref/cpp/instm/QGraphicsWebView/contextMenuEvent" />
 
296
<h3 class="fn"><a name="contextMenuEvent"></a>void QGraphicsWebView::contextMenuEvent ( <a href="qgraphicsscenecontextmenuevent.html">QGraphicsSceneContextMenuEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
297
<p>Reimplemented from <a href="qgraphicsitem.html#contextMenuEvent">QGraphicsItem::contextMenuEvent</a>().</p>
 
298
<a name="//apple_ref/cpp/instm/QGraphicsWebView/dragEnterEvent" />
 
299
<h3 class="fn"><a name="dragEnterEvent"></a>void QGraphicsWebView::dragEnterEvent ( <a href="qgraphicsscenedragdropevent.html">QGraphicsSceneDragDropEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
300
<p>Reimplemented from <a href="qgraphicsitem.html#dragEnterEvent">QGraphicsItem::dragEnterEvent</a>().</p>
 
301
<a name="//apple_ref/cpp/instm/QGraphicsWebView/dragLeaveEvent" />
 
302
<h3 class="fn"><a name="dragLeaveEvent"></a>void QGraphicsWebView::dragLeaveEvent ( <a href="qgraphicsscenedragdropevent.html">QGraphicsSceneDragDropEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
303
<p>Reimplemented from <a href="qgraphicsitem.html#dragLeaveEvent">QGraphicsItem::dragLeaveEvent</a>().</p>
 
304
<a name="//apple_ref/cpp/instm/QGraphicsWebView/dragMoveEvent" />
 
305
<h3 class="fn"><a name="dragMoveEvent"></a>void QGraphicsWebView::dragMoveEvent ( <a href="qgraphicsscenedragdropevent.html">QGraphicsSceneDragDropEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
306
<p>Reimplemented from <a href="qgraphicsitem.html#dragMoveEvent">QGraphicsItem::dragMoveEvent</a>().</p>
 
307
<a name="//apple_ref/cpp/instm/QGraphicsWebView/dropEvent" />
 
308
<h3 class="fn"><a name="dropEvent"></a>void QGraphicsWebView::dropEvent ( <a href="qgraphicsscenedragdropevent.html">QGraphicsSceneDragDropEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
309
<p>Reimplemented from <a href="qgraphicsitem.html#dropEvent">QGraphicsItem::dropEvent</a>().</p>
 
310
<a name="//apple_ref/cpp/instm/QGraphicsWebView/event" />
 
311
<h3 class="fn"><a name="event"></a>bool QGraphicsWebView::event ( <a href="qevent.html">QEvent</a> * <i>event</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
312
<p>Reimplemented from <a href="qobject.html#event">QObject::event</a>().</p>
 
313
<a name="//apple_ref/cpp/instm/QGraphicsWebView/focusInEvent" />
 
314
<h3 class="fn"><a name="focusInEvent"></a>void QGraphicsWebView::focusInEvent ( <a href="qfocusevent.html">QFocusEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
315
<p>Reimplemented from <a href="qgraphicsitem.html#focusInEvent">QGraphicsItem::focusInEvent</a>().</p>
 
316
<a name="//apple_ref/cpp/instm/QGraphicsWebView/focusNextPrevChild" />
 
317
<h3 class="fn"><a name="focusNextPrevChild"></a>bool QGraphicsWebView::focusNextPrevChild ( bool <i>next</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
318
<p>Reimplemented from <a href="qgraphicswidget.html#focusNextPrevChild">QGraphicsWidget::focusNextPrevChild</a>().</p>
 
319
<a name="//apple_ref/cpp/instm/QGraphicsWebView/focusOutEvent" />
 
320
<h3 class="fn"><a name="focusOutEvent"></a>void QGraphicsWebView::focusOutEvent ( <a href="qfocusevent.html">QFocusEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
321
<p>Reimplemented from <a href="qgraphicsitem.html#focusOutEvent">QGraphicsItem::focusOutEvent</a>().</p>
 
322
<a name="//apple_ref/cpp/instm/QGraphicsWebView/forward" />
 
323
<h3 class="fn"><a name="forward"></a>void QGraphicsWebView::forward ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
 
324
<p>Convenience slot that loads the next document in the list of documents built by navigating links. Does nothing if there is no next document.</p>
 
325
<p>See also <a href="qgraphicswebview.html#back">back</a>().</p>
 
326
<a name="//apple_ref/cpp/instm/QGraphicsWebView/history" />
 
327
<h3 class="fn"><a name="history"></a><a href="qwebhistory.html">QWebHistory</a> * QGraphicsWebView::history () const</h3>
 
328
<p>Returns a pointer to the view's history of navigated web pages.</p>
 
329
<p>It is equivalent to</p>
 
330
<pre>     view-&gt;page()-&gt;history();</pre>
 
331
<a name="//apple_ref/cpp/instm/QGraphicsWebView/hoverLeaveEvent" />
 
332
<h3 class="fn"><a name="hoverLeaveEvent"></a>void QGraphicsWebView::hoverLeaveEvent ( <a href="qgraphicsscenehoverevent.html">QGraphicsSceneHoverEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
333
<p>Reimplemented from <a href="qgraphicsitem.html#hoverLeaveEvent">QGraphicsItem::hoverLeaveEvent</a>().</p>
 
334
<a name="//apple_ref/cpp/instm/QGraphicsWebView/hoverMoveEvent" />
 
335
<h3 class="fn"><a name="hoverMoveEvent"></a>void QGraphicsWebView::hoverMoveEvent ( <a href="qgraphicsscenehoverevent.html">QGraphicsSceneHoverEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
336
<p>Reimplemented from <a href="qgraphicsitem.html#hoverMoveEvent">QGraphicsItem::hoverMoveEvent</a>().</p>
 
337
<a name="//apple_ref/cpp/instm/QGraphicsWebView/iconChanged" />
 
338
<h3 class="fn"><a name="iconChanged"></a>void QGraphicsWebView::iconChanged ()&nbsp;&nbsp;<tt> [signal]</tt></h3>
 
339
<a name="//apple_ref/cpp/instm/QGraphicsWebView/inputMethodEvent" />
 
340
<h3 class="fn"><a name="inputMethodEvent"></a>void QGraphicsWebView::inputMethodEvent ( <a href="qinputmethodevent.html">QInputMethodEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
341
<p>Reimplemented from <a href="qgraphicsitem.html#inputMethodEvent">QGraphicsItem::inputMethodEvent</a>().</p>
 
342
<a name="//apple_ref/cpp/instm/QGraphicsWebView/interactivityChanged" />
 
343
<h3 class="fn"><a name="interactivityChanged"></a>void QGraphicsWebView::interactivityChanged ()&nbsp;&nbsp;<tt> [signal]</tt></h3>
 
344
<a name="//apple_ref/cpp/instm/QGraphicsWebView/keyPressEvent" />
 
345
<h3 class="fn"><a name="keyPressEvent"></a>void QGraphicsWebView::keyPressEvent ( <a href="qkeyevent.html">QKeyEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
346
<p>Reimplemented from <a href="qgraphicsitem.html#keyPressEvent">QGraphicsItem::keyPressEvent</a>().</p>
 
347
<a name="//apple_ref/cpp/instm/QGraphicsWebView/keyReleaseEvent" />
 
348
<h3 class="fn"><a name="keyReleaseEvent"></a>void QGraphicsWebView::keyReleaseEvent ( <a href="qkeyevent.html">QKeyEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
349
<p>Reimplemented from <a href="qgraphicsitem.html#keyReleaseEvent">QGraphicsItem::keyReleaseEvent</a>().</p>
 
350
<a name="//apple_ref/cpp/instm/QGraphicsWebView/load" />
 
351
<h3 class="fn"><a name="load"></a>void QGraphicsWebView::load ( const <a href="qurl.html">QUrl</a> &amp; <i>url</i> )</h3>
 
352
<p>Loads the specified <i>url</i> and displays it.</p>
 
353
<p><b>Note:</b> The view remains the same until enough data has arrived to display the new <i>url</i>.</p>
 
354
<p>See also <a href="qgraphicswebview.html#url-prop">setUrl</a>(), <a href="qgraphicswebview.html#url-prop">url</a>(), and <a href="qgraphicswebview.html#urlChanged">urlChanged</a>().</p>
 
355
<h3 class="fn"><a name="load-2"></a>void QGraphicsWebView::load ( const <a href="qnetworkrequest.html">QNetworkRequest</a> &amp; <i>request</i>, <a href="qnetworkaccessmanager.html#Operation-enum">QNetworkAccessManager::Operation</a> <i>operation</i> = QNetworkAccessManager::GetOperation, const <a href="qbytearray.html">QByteArray</a> &amp; <i>body</i> = QByteArray() )</h3>
 
356
<p>Loads a network request, <i>request</i>, using the method specified in <i>operation</i>.</p>
 
357
<p><i>body</i> is optional and is only used for POST operations.</p>
 
358
<p><b>Note:</b> The view remains the same until enough data has arrived to display the new url.</p>
 
359
<p>See also <a href="qgraphicswebview.html#url-prop">url</a>() and <a href="qgraphicswebview.html#urlChanged">urlChanged</a>().</p>
 
360
<a name="//apple_ref/cpp/instm/QGraphicsWebView/loadFailed" />
 
361
<h3 class="fn"><a name="loadFailed"></a>void QGraphicsWebView::loadFailed ()&nbsp;&nbsp;<tt> [signal]</tt></h3>
 
362
<a name="//apple_ref/cpp/instm/QGraphicsWebView/loadFinished" />
 
363
<h3 class="fn"><a name="loadFinished"></a>void QGraphicsWebView::loadFinished ()&nbsp;&nbsp;<tt> [signal]</tt></h3>
 
364
<a name="//apple_ref/cpp/instm/QGraphicsWebView/loadStarted" />
 
365
<h3 class="fn"><a name="loadStarted"></a>void QGraphicsWebView::loadStarted ()&nbsp;&nbsp;<tt> [signal]</tt></h3>
 
366
<a name="//apple_ref/cpp/instm/QGraphicsWebView/mouseDoubleClickEvent" />
 
367
<h3 class="fn"><a name="mouseDoubleClickEvent"></a>void QGraphicsWebView::mouseDoubleClickEvent ( <a href="qgraphicsscenemouseevent.html">QGraphicsSceneMouseEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
368
<p>Reimplemented from <a href="qgraphicsitem.html#mouseDoubleClickEvent">QGraphicsItem::mouseDoubleClickEvent</a>().</p>
 
369
<a name="//apple_ref/cpp/instm/QGraphicsWebView/mouseMoveEvent" />
 
370
<h3 class="fn"><a name="mouseMoveEvent"></a>void QGraphicsWebView::mouseMoveEvent ( <a href="qgraphicsscenemouseevent.html">QGraphicsSceneMouseEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
371
<p>Reimplemented from <a href="qgraphicsitem.html#mouseMoveEvent">QGraphicsItem::mouseMoveEvent</a>().</p>
 
372
<a name="//apple_ref/cpp/instm/QGraphicsWebView/mousePressEvent" />
 
373
<h3 class="fn"><a name="mousePressEvent"></a>void QGraphicsWebView::mousePressEvent ( <a href="qgraphicsscenemouseevent.html">QGraphicsSceneMouseEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
374
<p>Reimplemented from <a href="qgraphicsitem.html#mousePressEvent">QGraphicsItem::mousePressEvent</a>().</p>
 
375
<a name="//apple_ref/cpp/instm/QGraphicsWebView/mouseReleaseEvent" />
 
376
<h3 class="fn"><a name="mouseReleaseEvent"></a>void QGraphicsWebView::mouseReleaseEvent ( <a href="qgraphicsscenemouseevent.html">QGraphicsSceneMouseEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
377
<p>Reimplemented from <a href="qgraphicsitem.html#mouseReleaseEvent">QGraphicsItem::mouseReleaseEvent</a>().</p>
 
378
<a name="//apple_ref/cpp/instm/QGraphicsWebView/page" />
 
379
<h3 class="fn"><a name="page"></a><a href="qwebpage.html">QWebPage</a> * QGraphicsWebView::page () const</h3>
 
380
<p>Returns a pointer to the underlying web page.</p>
 
381
<p>See also <a href="qgraphicswebview.html#setPage">setPage</a>().</p>
 
382
<a name="//apple_ref/cpp/instm/QGraphicsWebView/paint" />
 
383
<h3 class="fn"><a name="paint"></a>void QGraphicsWebView::paint ( <a href="qpainter.html">QPainter</a> * <i>painter</i>, const <a href="qstyleoptiongraphicsitem.html">QStyleOptionGraphicsItem</a> * <i>option</i>, <a href="qwidget.html">QWidget</a> * <i>widget</i> = 0 )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
384
<p>Reimplemented from <a href="qgraphicsitem.html#paint">QGraphicsItem::paint</a>().</p>
 
385
<a name="//apple_ref/cpp/instm/QGraphicsWebView/progressChanged" />
 
386
<h3 class="fn"><a name="progressChanged"></a>void QGraphicsWebView::progressChanged ( <a href="qtglobal.html#qreal-typedef">qreal</a> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
 
387
<a name="//apple_ref/cpp/instm/QGraphicsWebView/reload" />
 
388
<h3 class="fn"><a name="reload"></a>void QGraphicsWebView::reload ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
 
389
<p>Reloads the current document.</p>
 
390
<p>See also <a href="qgraphicswebview.html#stop">stop</a>() and <a href="qgraphicswebview.html#loadStarted">loadStarted</a>().</p>
 
391
<a name="//apple_ref/cpp/instm/QGraphicsWebView/sceneEvent" />
 
392
<h3 class="fn"><a name="sceneEvent"></a>bool QGraphicsWebView::sceneEvent ( <a href="qevent.html">QEvent</a> * <i>event</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
393
<p>Reimplemented from <a href="qgraphicsitem.html#sceneEvent">QGraphicsItem::sceneEvent</a>().</p>
 
394
<a name="//apple_ref/cpp/instm/QGraphicsWebView/setContent" />
 
395
<h3 class="fn"><a name="setContent"></a>void QGraphicsWebView::setContent ( const <a href="qbytearray.html">QByteArray</a> &amp; <i>data</i>, const <a href="qstring.html">QString</a> &amp; <i>mimeType</i> = QString(), const <a href="qurl.html">QUrl</a> &amp; <i>baseUrl</i> = QUrl() )</h3>
 
396
<p>Sets the content of the web graphicsitem to the specified content <i>data</i>. If the <i>mimeType</i> argument is empty it is currently assumed that the content is HTML but in future versions we may introduce auto-detection.</p>
 
397
<p>External objects referenced in the content are located relative to <i>baseUrl</i>.</p>
 
398
<p>The <i>data</i> is loaded immediately; external objects are loaded asynchronously.</p>
 
399
<p>See also <a href="qgraphicswebview.html#load">load</a>(), <a href="qgraphicswebview.html#html-prop">setHtml</a>(), and <a href="qwebframe.html#toHtml">QWebFrame::toHtml</a>().</p>
 
400
<a name="//apple_ref/cpp/instm/QGraphicsWebView/setGeometry" />
 
401
<h3 class="fn"><a name="setGeometry"></a>void QGraphicsWebView::setGeometry ( const <a href="qrectf.html">QRectF</a> &amp; <i>rect</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
402
<p>Reimplemented from <a href="qgraphicslayoutitem.html#setGeometry">QGraphicsLayoutItem::setGeometry</a>().</p>
 
403
<a name="//apple_ref/cpp/instm/QGraphicsWebView/setPage" />
 
404
<h3 class="fn"><a name="setPage"></a>void QGraphicsWebView::setPage ( <a href="qwebpage.html">QWebPage</a> * <i>page</i> )</h3>
 
405
<p>Makes <i>page</i> the new web page of the web graphicsitem.</p>
 
406
<p>The parent <a href="qobject.html">QObject</a> of the provided page remains the owner of the object. If the current document is a child of the web view, it will be deleted.</p>
 
407
<p>See also <a href="qgraphicswebview.html#page">page</a>().</p>
 
408
<a name="//apple_ref/cpp/instm/QGraphicsWebView/settings" />
 
409
<h3 class="fn"><a name="settings"></a><a href="qwebsettings.html">QWebSettings</a> * QGraphicsWebView::settings () const</h3>
 
410
<p>Returns a pointer to the view/page specific settings object.</p>
 
411
<p>It is equivalent to</p>
 
412
<pre>     view-&gt;page()-&gt;settings();</pre>
 
413
<p>See also <a href="qwebsettings.html#globalSettings">QWebSettings::globalSettings</a>().</p>
 
414
<a name="//apple_ref/cpp/instm/QGraphicsWebView/statusChanged" />
 
415
<h3 class="fn"><a name="statusChanged"></a>void QGraphicsWebView::statusChanged ()&nbsp;&nbsp;<tt> [signal]</tt></h3>
 
416
<a name="//apple_ref/cpp/instm/QGraphicsWebView/stop" />
 
417
<h3 class="fn"><a name="stop"></a>void QGraphicsWebView::stop ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
 
418
<p>Convenience slot that stops loading the document.</p>
 
419
<p>See also <a href="qgraphicswebview.html#reload">reload</a>() and <a href="qgraphicswebview.html#loadFinished">loadFinished</a>().</p>
 
420
<a name="//apple_ref/cpp/instm/QGraphicsWebView/titleChanged" />
 
421
<h3 class="fn"><a name="titleChanged"></a>void QGraphicsWebView::titleChanged ( const <a href="qstring.html">QString</a> &amp; )&nbsp;&nbsp;<tt> [signal]</tt></h3>
 
422
<a name="//apple_ref/cpp/instm/QGraphicsWebView/updateGeometry" />
 
423
<h3 class="fn"><a name="updateGeometry"></a>void QGraphicsWebView::updateGeometry ()&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
424
<p>Reimplemented from <a href="qgraphicslayoutitem.html#updateGeometry">QGraphicsLayoutItem::updateGeometry</a>().</p>
 
425
<a name="//apple_ref/cpp/instm/QGraphicsWebView/urlChanged" />
 
426
<h3 class="fn"><a name="urlChanged"></a>void QGraphicsWebView::urlChanged ( const <a href="qurl.html">QUrl</a> &amp; )&nbsp;&nbsp;<tt> [signal]</tt></h3>
 
427
<a name="//apple_ref/cpp/instm/QGraphicsWebView/wheelEvent" />
 
428
<h3 class="fn"><a name="wheelEvent"></a>void QGraphicsWebView::wheelEvent ( <a href="qgraphicsscenewheelevent.html">QGraphicsSceneWheelEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
429
<p>Reimplemented from <a href="qgraphicsitem.html#wheelEvent">QGraphicsItem::wheelEvent</a>().</p>
 
430
<a name="//apple_ref/cpp/instm/QGraphicsWebView/zoomFactorChanged" />
 
431
<h3 class="fn"><a name="zoomFactorChanged"></a>void QGraphicsWebView::zoomFactorChanged ()&nbsp;&nbsp;<tt> [signal]</tt></h3>
 
432
<p /><address><hr /><div align="center">
 
433
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
434
<td width="40%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
 
435
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
436
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
 
437
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>
 
438
</html>