Definition at line 65 of file qwebpage.h.
Classes
|
| class
|
ChooseMultipleFilesExtensionOption |
| class
|
ChooseMultipleFilesExtensionReturn |
| class
|
ErrorPageExtensionOption |
| class
|
ErrorPageExtensionReturn |
| class
|
ExtensionOption |
| class
|
ExtensionReturn |
Public Types
|
| enum |
NavigationType
{
NavigationTypeLinkClicked,
NavigationTypeFormSubmitted,
NavigationTypeBackOrForward,
NavigationTypeReload,
NavigationTypeFormResubmitted,
NavigationTypeOther
} |
| enum |
WebAction
{
NoWebAction
= - 1,
OpenLink,
OpenLinkInNewWindow,
OpenFrameInNewWindow,
DownloadLinkToDisk,
CopyLinkToClipboard,
OpenImageInNewWindow,
DownloadImageToDisk,
CopyImageToClipboard,
Back,
Forward,
Stop,
Reload,
Cut,
Copy,
Paste,
Undo,
Redo,
MoveToNextChar,
MoveToPreviousChar,
MoveToNextWord,
MoveToPreviousWord,
MoveToNextLine,
MoveToPreviousLine,
MoveToStartOfLine,
MoveToEndOfLine,
MoveToStartOfBlock,
MoveToEndOfBlock,
MoveToStartOfDocument,
MoveToEndOfDocument,
SelectNextChar,
SelectPreviousChar,
SelectNextWord,
SelectPreviousWord,
SelectNextLine,
SelectPreviousLine,
SelectStartOfLine,
SelectEndOfLine,
SelectStartOfBlock,
SelectEndOfBlock,
SelectStartOfDocument,
SelectEndOfDocument,
DeleteStartOfWord,
DeleteEndOfWord,
SetTextDirectionDefault,
SetTextDirectionLeftToRight,
SetTextDirectionRightToLeft,
ToggleBold,
ToggleItalic,
ToggleUnderline,
InspectElement,
InsertParagraphSeparator,
InsertLineSeparator,
SelectAll,
ReloadAndBypassCache,
PasteAndMatchStyle,
RemoveFormat,
ToggleStrikethrough,
ToggleSubscript,
ToggleSuperscript,
InsertUnorderedList,
InsertOrderedList,
Indent,
Outdent,
AlignCenter,
AlignJustified,
AlignLeft,
AlignRight,
StopScheduledPageRefresh,
WebActionCount
} |
| enum |
FindFlag
{
FindBackward = 1,
FindCaseSensitively = 2,
FindWrapsAroundDocument = 4,
HighlightAllOccurrences = 8 } |
| enum |
LinkDelegationPolicy
{
DontDelegateLinks,
DelegateExternalLinks,
DelegateAllLinks } |
| enum |
WebWindowType
{
WebBrowserWindow,
WebModalDialog } |
| enum |
Extension
{
ChooseMultipleFilesExtension,
ErrorPageExtension } |
| enum |
ErrorDomain
{
QtNetwork,
Http,
WebKit } |
Public Slots
|
| bool |
shouldInterruptJavaScript
() |
Signals
|
| void |
loadStarted
() |
| void |
loadProgress
(int progress) |
| void |
loadFinished
(bool ok) |
| void |
linkHovered
(const QString
&link, const QString &title, const QString &textContent) |
| void |
statusBarMessage
(const QString
&text) |
| void |
selectionChanged
() |
| void |
frameCreated
(QWebFrame
*frame) |
| void |
geometryChangeRequested
(const QRect
&geom) |
| void |
repaintRequested
(const QRect
&dirtyRect) |
| void |
scrollRequested
(int dx, int dy, const QRect &scrollViewRect) |
| void |
windowCloseRequested
() |
| void |
printRequested
(QWebFrame
*frame) |
| void |
linkClicked
(const QUrl
&url) |
| void |
toolBarVisibilityChangeRequested
(bool visible) |
| void |
statusBarVisibilityChangeRequested
(bool visible) |
| void |
menuBarVisibilityChangeRequested
(bool visible) |
| void |
unsupportedContent
(QNetworkReply
*reply) |
| void |
downloadRequested
(const QNetworkRequest
&request) |
| void |
microFocusChanged
() |
| void |
contentsChanged
() |
| void |
databaseQuotaExceeded
(QWebFrame *frame,
QString
databaseName) |
| void |
saveFrameStateRequested
(QWebFrame *frame,
QWebHistoryItem *item) |
| void |
restoreFrameStateRequested
(QWebFrame
*frame) |
Public Member Functions
|
| |
QWebPage
(QObject
*parent=0) |
| |
~QWebPage
() |
| QWebFrame * |
mainFrame
() const |
| QWebFrame * |
currentFrame
() const |
| QWebFrame * |
frameAt
(const QPoint &pos)
const |
| QWebHistory * |
history
() const |
| QWebSettings * |
settings
() const |
| void |
setView
(QWidget *view) |
| QWidget * |
view
() const |
| bool |
isModified
() const |
| QUndoStack * |
undoStack
() const |
| void |
setNetworkAccessManager
(QNetworkAccessManager
*manager) |
| QNetworkAccessManager
* |
networkAccessManager
() const |
| void |
setPluginFactory
(QWebPluginFactory
*factory) |
| QWebPluginFactory
* |
pluginFactory
() const |
| quint64 |
totalBytes
() const |
| quint64 |
bytesReceived
() const |
| QString |
selectedText
() const |
| QAction * |
action
(WebAction
action) const |
| virtual
void |
triggerAction
(WebAction
action, bool checked=false) |
| QSize |
viewportSize
() const |
| void |
setViewportSize
(const QSize &size)
const |
| QSize |
preferredContentsSize
() const |
| void |
setPreferredContentsSize
(const QSize &size)
const |
| virtual
bool |
event
(QEvent *) |
| bool |
focusNextPrevChild
(bool next) |
| QVariant |
inputMethodQuery
(Qt::InputMethodQuery
property) const |
| bool |
findText
(const QString
&subString, FindFlags options=0) |
| void |
setForwardUnsupportedContent
(bool forward) |
| bool |
forwardUnsupportedContent
() const |
| void |
setLinkDelegationPolicy
(LinkDelegationPolicy
policy) |
| LinkDelegationPolicy |
linkDelegationPolicy
() const |
| void |
setPalette
(const QPalette
&palette) |
| QPalette |
palette
() const |
| void |
setContentEditable
(bool editable) |
| bool |
isContentEditable
() const |
| bool |
swallowContextMenuEvent
(QContextMenuEvent
*event) |
| void |
updatePositionDependentActions
(const QPoint
&pos) |
| QMenu * |
createStandardContextMenu
() |
| virtual
bool |
extension
(Extension
extension, const ExtensionOption
*option=0, ExtensionReturn
*output=0) |
| virtual
bool |
supportsExtension
(Extension
extension) const |
| QWebPagePrivate
* |
handle
() const |
Protected Member Functions
|
| virtual
QWebPage
* |
createWindow
(WebWindowType
type) |
| virtual
QObject * |
createPlugin
(const QString
&classid, const QUrl
&url, const QStringList ¶mNames, const
QStringList
¶mValues) |
| virtual
bool |
acceptNavigationRequest
(QWebFrame *frame,
const QNetworkRequest &request,
NavigationType
type) |
| virtual
QString |
chooseFile
(QWebFrame
*originatingFrame, const QString &oldFile) |
| virtual
void |
javaScriptAlert
(QWebFrame
*originatingFrame, const QString &msg) |
| virtual
bool |
javaScriptConfirm
(QWebFrame
*originatingFrame, const QString &msg) |
| virtual
bool |
javaScriptPrompt
(QWebFrame
*originatingFrame, const QString &msg, const QString &defaultValue, QString *result) |
| virtual
void |
javaScriptConsoleMessage
(const QString
&message, int lineNumber, const QString &sourceID) |
| virtual
QString |
userAgentForUrl
(const QUrl &url)
const |
Properties
|
| bool |
modified |
| QString |
selectedText |
| QSize |
viewportSize |
| QSize |
preferredContentsSize |
| bool |
forwardUnsupportedContent |
| LinkDelegationPolicy |
linkDelegationPolicy |
| QPalette |
palette |
| bool |
contentEditable |
Friends
|
| class |
QWebFrame |
| class |
QWebPagePrivate |
| class |
QWebView |
| class |
QWebViewPrivate |
| class |
QGraphicsWebView |
| class |
QGraphicsWebViewPrivate |
| class |
QWebInspector |
| class |
WebCore::ChromeClientQt |
| class |
WebCore::EditorClientQt |
| class |
WebCore::FrameLoaderClientQt |
| class |
WebCore::InspectorClientQt |
| class |
WebCore::InspectorFrontendClientQt |
| class |
WebCore::ResourceHandle |
| class |
WebCore::QNetworkReplyHandler |