QWebPagePrivate Class Reference

#include <qwebpage_p.h>

Collaboration diagram for QWebPagePrivate:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { PageNone, PageScrollZoom }

Public Member Functions

 QWebPagePrivate (QWebPage *)
 ~QWebPagePrivate ()
void createMainFrame ()
QMenu * createContextMenu (const WebCore::ContextMenu *webcoreMenu, const QList< WebCore::ContextMenuItem > *items, QBitArray *visitedWebActions)
void _q_onLoadProgressChanged (int)
void _q_webActionTriggered (bool checked)
void _q_cleanupLeakMessages ()
void updateAction (QWebPage::WebAction action)
void updateNavigationActions ()
void updateEditorActions ()
void timerEvent (QTimerEvent *)
void mouseMoveEvent (QMouseEvent *)
void mouseMoveEvent (QGraphicsSceneMouseEvent *)
void mousePressEvent (QMouseEvent *)
void mousePressEvent (QGraphicsSceneMouseEvent *)
void mouseDoubleClickEvent (QMouseEvent *)
void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *)
void mouseTripleClickEvent (QMouseEvent *)
void mouseTripleClickEvent (QGraphicsSceneMouseEvent *)
void mouseReleaseEvent (QMouseEvent *)
void mouseReleaseEvent (QGraphicsSceneMouseEvent *)
void contextMenuEvent (const QPoint &globalPos)
void wheelEvent (QWheelEvent *)
void wheelEvent (QGraphicsSceneWheelEvent *)
void keyPressEvent (QKeyEvent *)
void keyReleaseEvent (QKeyEvent *)
void focusInEvent (QFocusEvent *)
void focusOutEvent (QFocusEvent *)
void dragEnterEvent (QDragEnterEvent *)
void dragEnterEvent (QGraphicsSceneDragDropEvent *)
void dragLeaveEvent (QDragLeaveEvent *)
void dragLeaveEvent (QGraphicsSceneDragDropEvent *)
void dragMoveEvent (QDragMoveEvent *)
void dragMoveEvent (QGraphicsSceneDragDropEvent *)
void dropEvent (QDropEvent *)
void dropEvent (QGraphicsSceneDragDropEvent *)
void inputMethodEvent (QInputMethodEvent *)
void shortcutOverrideEvent (QKeyEvent *)
void leaveEvent (QEvent *)
void handleClipboard (QEvent *, Qt::MouseButton)
void handleSoftwareInputPanel (Qt::MouseButton)
bool handleScrolling (QKeyEvent *, WebCore::Frame *)
void touchEvent (QTouchEvent *)
void _q_kineticScroll ()
 Timer slot for kinetic scroll.
void setInspector (QWebInspector *)
QWebInspector * getOrCreateInspector ()
WebCore::InspectorController * inspectorController ()
bool acceptNavigationRequest (QWebFrame *frame, const QNetworkRequest &request, QWebPage::NavigationType type)

Static Public Member Functions

static WebCore::Page * core (QWebPage *)
static QWebPage::WebAction editorActionForKeyEvent (QKeyEvent *event)
static const char * editorCommandForWebActions (QWebPage::WebAction action)

Public Attributes

WebCore::ChromeClientQt * chromeClient
WebCore::ContextMenuClientQt * contextMenuClient
WebCore::EditorClientQt * editorClient
WebCore::Page * page
QPointer< QWebFramemainFrame
QWebPageq
QWebPageClient * client
QUndoStack * undoStack
QWidget * view
bool insideOpenCall
quint64 m_totalBytes
quint64 m_bytesReceived
QPoint tripleClick
QBasicTimer tripleClickTimer
bool clickCausedFocus
QNetworkAccessManager * networkManager
bool forwardUnsupportedContent
QWebPage::LinkDelegationPolicy linkPolicy
QSize viewportSize
QSize fixedLayoutSize
QWebHistory history
QWebHitTestResult hitTestResult
QPointer< QMenu > currentContextMenu
QWebSettings * settings
QPalette palette
bool editable
bool useFixedLayout
QAction * actions [QWebPage::WebActionCount]
QWebPluginFactory * pluginFactory
QWidget * inspectorFrontend
QWebInspector * inspector
bool inspectorIsInternalOnly
Qt::DropAction m_lastDropAction
enum QWebPagePrivate:: { ... }  pageMode
QTimer * kineticScrollTimer
qreal kineticScrollSpeedX
qreal kineticScrollSpeedY
WTF::RefPtr< WebCore::Frame > scrollTargetFrame
WTF::RefPtr< WebCore::NodescrollTargetNode
QTime touchTime
QPoint panPrevOffset
qreal pinchPrevScale
qreal zoom
bool manipulatePrevented
WebCore::PlatformTouchEvent lastTouchEventHandled
int PageScrollMoveThreshold

Static Public Attributes

static bool drtRun = false

Detailed Description

Definition at line 72 of file qwebpage_p.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
PageNone 
PageScrollZoom 

Definition at line 203 of file qwebpage_p.h.


Constructor & Destructor Documentation

QWebPagePrivate::QWebPagePrivate ( QWebPage qq  ) 
QWebPagePrivate::~QWebPagePrivate (  ) 

Definition at line 459 of file qwebpage.cpp.

References currentContextMenu, page, settings, and undoStack.


Member Function Documentation

void QWebPagePrivate::_q_cleanupLeakMessages (  ) 

Definition at line 588 of file qwebpage.cpp.

void QWebPagePrivate::_q_kineticScroll (  ) 

Timer slot for kinetic scroll.

This function gets called regularly with predefined interval when kinetic scrolling is active. The function handles scrolling with decreasing speed and deactivates the timer after the speed has dropped close to zero.

Definition at line 1239 of file qwebpage.cpp.

References kineticScrollResistanceFactor, kineticScrollSpeedX, kineticScrollSpeedY, kineticScrollTimer, scrollTargetFrame, and scrollTargetNode.

void QWebPagePrivate::_q_onLoadProgressChanged ( int   ) 

Definition at line 3552 of file qwebpage.cpp.

References m_bytesReceived, m_totalBytes, and page.

void QWebPagePrivate::_q_webActionTriggered ( bool  checked  ) 

Definition at line 579 of file qwebpage.cpp.

References q, and QWebPage::triggerAction().

Here is the call graph for this function:

bool QWebPagePrivate::acceptNavigationRequest ( QWebFrame frame,
const QNetworkRequest &  request,
QWebPage::NavigationType  type 
)

Definition at line 476 of file qwebpage.cpp.

References QWebPage::acceptNavigationRequest(), insideOpenCall, mainFrame, and q.

Here is the call graph for this function:

void QWebPagePrivate::contextMenuEvent ( const QPoint &  globalPos  ) 

Definition at line 948 of file qwebpage.cpp.

References QWebPage::createStandardContextMenu(), and q.

Here is the call graph for this function:

WebCore::Page * QWebPagePrivate::core ( QWebPage page  )  [static]

Definition at line 471 of file qwebpage.cpp.

References QWebPage::d, and page.

QMenu * QWebPagePrivate::createContextMenu ( const WebCore::ContextMenu *  webcoreMenu,
const QList< WebCore::ContextMenuItem > *  items,
QBitArray *  visitedWebActions 
)

Definition at line 527 of file qwebpage.cpp.

References QWebPage::action(), actions, q, QWebPage::view(), and webActionForContextMenuAction().

Here is the call graph for this function:

void QWebPagePrivate::createMainFrame (  ) 

Definition at line 484 of file qwebpage.cpp.

References QWebPage::frameCreated(), mainFrame, page, and q.

Here is the call graph for this function:

void QWebPagePrivate::dragEnterEvent ( QGraphicsSceneDragDropEvent *  ev  ) 

Definition at line 1131 of file qwebpage.cpp.

References dragOpToDropAction(), dropActionToDragOp(), and page.

Here is the call graph for this function:

void QWebPagePrivate::dragEnterEvent ( QDragEnterEvent *  ev  ) 

Definition at line 1143 of file qwebpage.cpp.

References dragOpToDropAction(), dropActionToDragOp(), and page.

Here is the call graph for this function:

void QWebPagePrivate::dragLeaveEvent ( QGraphicsSceneDragDropEvent *  ev  ) 

Definition at line 1156 of file qwebpage.cpp.

References page.

void QWebPagePrivate::dragLeaveEvent ( QDragLeaveEvent *  ev  ) 

Definition at line 1165 of file qwebpage.cpp.

References page.

void QWebPagePrivate::dragMoveEvent ( QGraphicsSceneDragDropEvent *  ev  ) 

Definition at line 1174 of file qwebpage.cpp.

References dragOpToDropAction(), dropActionToDragOp(), and page.

Here is the call graph for this function:

void QWebPagePrivate::dragMoveEvent ( QDragMoveEvent *  ev  ) 

Definition at line 1186 of file qwebpage.cpp.

References dragOpToDropAction(), dropActionToDragOp(), m_lastDropAction, and page.

Here is the call graph for this function:

void QWebPagePrivate::dropEvent ( QGraphicsSceneDragDropEvent *  ev  ) 

Definition at line 1200 of file qwebpage.cpp.

References dropActionToDragOp(), and page.

Here is the call graph for this function:

void QWebPagePrivate::dropEvent ( QDropEvent *  ev  ) 

Definition at line 1210 of file qwebpage.cpp.

References dropActionToDragOp(), m_lastDropAction, and page.

Here is the call graph for this function:

QWebPage::WebAction QWebPagePrivate::editorActionForKeyEvent ( QKeyEvent *  event  )  [static]
const char * QWebPagePrivate::editorCommandForWebActions ( QWebPage::WebAction  action  )  [static]

Definition at line 364 of file qwebpage.cpp.

References QWebPage::NoWebAction.

void QWebPagePrivate::focusInEvent ( QFocusEvent *   ) 

Definition at line 1111 of file qwebpage.cpp.

References mainFrame, and page.

void QWebPagePrivate::focusOutEvent ( QFocusEvent *   ) 

Definition at line 1120 of file qwebpage.cpp.

References page.

QWebInspector * QWebPagePrivate::getOrCreateInspector (  ) 

Definition at line 1738 of file qwebpage.cpp.

References inspector, inspectorIsInternalOnly, and q.

void QWebPagePrivate::handleClipboard ( QEvent *  ev,
Qt::MouseButton  button 
)

Definition at line 868 of file qwebpage.cpp.

References page.

bool QWebPagePrivate::handleScrolling ( QKeyEvent *  ,
WebCore::Frame *   
)
void QWebPagePrivate::handleSoftwareInputPanel ( Qt::MouseButton  button  ) 

Definition at line 908 of file qwebpage.cpp.

References clickCausedFocus, client, and page.

void QWebPagePrivate::inputMethodEvent ( QInputMethodEvent *  ev  ) 

Definition at line 1292 of file qwebpage.cpp.

References page.

InspectorController * QWebPagePrivate::inspectorController (  ) 

Definition at line 1753 of file qwebpage.cpp.

References page.

void QWebPagePrivate::keyPressEvent ( QKeyEvent *  ev  ) 

Definition at line 1054 of file qwebpage.cpp.

References QWebPage::Back, QWebPage::Forward, handleScrolling(), page, q, QWebPage::Reload, QWebPage::Stop, QWebPage::triggerAction(), and QWebPage::view().

Here is the call graph for this function:

void QWebPagePrivate::keyReleaseEvent ( QKeyEvent *  ev  ) 

Definition at line 1099 of file qwebpage.cpp.

References page.

void QWebPagePrivate::leaveEvent ( QEvent *   ) 

Definition at line 1222 of file qwebpage.cpp.

References mouseMoveEvent().

Here is the call graph for this function:

void QWebPagePrivate::mouseDoubleClickEvent ( QGraphicsSceneMouseEvent *  ev  ) 

Definition at line 806 of file qwebpage.cpp.

References core(), mainFrame, q, tripleClick, and tripleClickTimer.

Here is the call graph for this function:

void QWebPagePrivate::mouseDoubleClickEvent ( QMouseEvent *  ev  ) 

Definition at line 823 of file qwebpage.cpp.

References core(), mainFrame, q, tripleClick, and tripleClickTimer.

Here is the call graph for this function:

void QWebPagePrivate::mouseMoveEvent ( QGraphicsSceneMouseEvent *  ev  ) 

Definition at line 731 of file qwebpage.cpp.

References core(), and mainFrame.

Here is the call graph for this function:

void QWebPagePrivate::mouseMoveEvent ( QMouseEvent *  ev  ) 

Definition at line 741 of file qwebpage.cpp.

References core(), and mainFrame.

Here is the call graph for this function:

void QWebPagePrivate::mousePressEvent ( QGraphicsSceneMouseEvent *  ev  ) 

Definition at line 751 of file qwebpage.cpp.

References core(), mainFrame, mouseTripleClickEvent(), tripleClick, and tripleClickTimer.

Here is the call graph for this function:

void QWebPagePrivate::mousePressEvent ( QMouseEvent *  ev  ) 

Definition at line 772 of file qwebpage.cpp.

References clickCausedFocus, core(), mainFrame, mouseTripleClickEvent(), page, tripleClick, and tripleClickTimer.

Here is the call graph for this function:

void QWebPagePrivate::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  ev  ) 

Definition at line 891 of file qwebpage.cpp.

References core(), handleClipboard(), handleSoftwareInputPanel(), and mainFrame.

Here is the call graph for this function:

void QWebPagePrivate::mouseReleaseEvent ( QMouseEvent *  ev  ) 

Definition at line 930 of file qwebpage.cpp.

References core(), handleClipboard(), handleSoftwareInputPanel(), and mainFrame.

Here is the call graph for this function:

void QWebPagePrivate::mouseTripleClickEvent ( QGraphicsSceneMouseEvent *  ev  ) 

Definition at line 840 of file qwebpage.cpp.

References core(), and mainFrame.

Here is the call graph for this function:

void QWebPagePrivate::mouseTripleClickEvent ( QMouseEvent *  ev  ) 

Definition at line 854 of file qwebpage.cpp.

References core(), and mainFrame.

Here is the call graph for this function:

void QWebPagePrivate::setInspector ( QWebInspector *  insp  ) 

Definition at line 1714 of file qwebpage.cpp.

References inspector, inspectorFrontend, and inspectorIsInternalOnly.

void QWebPagePrivate::shortcutOverrideEvent ( QKeyEvent *  event  ) 

Definition at line 1354 of file qwebpage.cpp.

References editorActionForKeyEvent(), QWebPage::NoWebAction, and page.

Here is the call graph for this function:

void QWebPagePrivate::timerEvent ( QTimerEvent *  ev  ) 

Definition at line 722 of file qwebpage.cpp.

References q, and tripleClickTimer.

void QWebPagePrivate::touchEvent ( QTouchEvent *  event  ) 
void QWebPagePrivate::updateAction ( QWebPage::WebAction  action  ) 
void QWebPagePrivate::updateEditorActions (  ) 
void QWebPagePrivate::updateNavigationActions (  ) 

Definition at line 659 of file qwebpage.cpp.

References QWebPage::Back, QWebPage::Forward, QWebPage::Reload, QWebPage::ReloadAndBypassCache, QWebPage::Stop, and updateAction().

Here is the call graph for this function:

void QWebPagePrivate::wheelEvent ( QGraphicsSceneWheelEvent *  ev  ) 

Definition at line 977 of file qwebpage.cpp.

References core(), and mainFrame.

Here is the call graph for this function:

void QWebPagePrivate::wheelEvent ( QWheelEvent *  ev  ) 

Definition at line 988 of file qwebpage.cpp.

References core(), and mainFrame.

Here is the call graph for this function:


Member Data Documentation

QAction* QWebPagePrivate::actions[QWebPage::WebActionCount]

Definition at line 191 of file qwebpage_p.h.

WebCore::ChromeClientQt* QWebPagePrivate::chromeClient

Definition at line 145 of file qwebpage_p.h.

Definition at line 171 of file qwebpage_p.h.

QWebPageClient* QWebPagePrivate::client

Definition at line 153 of file qwebpage_p.h.

WebCore::ContextMenuClientQt* QWebPagePrivate::contextMenuClient

Definition at line 146 of file qwebpage_p.h.

Definition at line 184 of file qwebpage_p.h.

bool QWebPagePrivate::drtRun = false [static]

Definition at line 200 of file qwebpage_p.h.

Definition at line 188 of file qwebpage_p.h.

WebCore::EditorClientQt* QWebPagePrivate::editorClient

Definition at line 147 of file qwebpage_p.h.

Definition at line 180 of file qwebpage_p.h.

Definition at line 176 of file qwebpage_p.h.

Definition at line 181 of file qwebpage_p.h.

Definition at line 182 of file qwebpage_p.h.

Definition at line 164 of file qwebpage_p.h.

Definition at line 196 of file qwebpage_p.h.

Definition at line 195 of file qwebpage_p.h.

Definition at line 197 of file qwebpage_p.h.

Definition at line 206 of file qwebpage_p.h.

Definition at line 207 of file qwebpage_p.h.

Definition at line 205 of file qwebpage_p.h.

WebCore::PlatformTouchEvent QWebPagePrivate::lastTouchEventHandled

Definition at line 215 of file qwebpage_p.h.

Definition at line 177 of file qwebpage_p.h.

Definition at line 166 of file qwebpage_p.h.

Definition at line 198 of file qwebpage_p.h.

Definition at line 165 of file qwebpage_p.h.

Definition at line 150 of file qwebpage_p.h.

Definition at line 214 of file qwebpage_p.h.

QNetworkAccessManager* QWebPagePrivate::networkManager

Definition at line 174 of file qwebpage_p.h.

WebCore::Page* QWebPagePrivate::page

Definition at line 148 of file qwebpage_p.h.

Definition at line 216 of file qwebpage_p.h.

Definition at line 187 of file qwebpage_p.h.

Definition at line 211 of file qwebpage_p.h.

Definition at line 212 of file qwebpage_p.h.

QWebPluginFactory* QWebPagePrivate::pluginFactory

Definition at line 193 of file qwebpage_p.h.

Definition at line 152 of file qwebpage_p.h.

WTF::RefPtr<WebCore::Frame> QWebPagePrivate::scrollTargetFrame

Definition at line 208 of file qwebpage_p.h.

Definition at line 209 of file qwebpage_p.h.

Definition at line 186 of file qwebpage_p.h.

Definition at line 210 of file qwebpage_p.h.

Definition at line 168 of file qwebpage_p.h.

Definition at line 169 of file qwebpage_p.h.

Definition at line 155 of file qwebpage_p.h.

Definition at line 189 of file qwebpage_p.h.

Definition at line 161 of file qwebpage_p.h.

Definition at line 179 of file qwebpage_p.h.

Definition at line 213 of file qwebpage_p.h.


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208