1class pyqtSignal(): 2 def connect(self, targetSignal): pass 3 def emit(self, *args): pass 4from QtCore import * 5 6from QtWidgets import * 7 8import datetime 9 10class QWebEngineCertificateError(): 11 """""" 12 # Enum QWebEngineCertificateError.Error 13 SslPinnedKeyNotInCertificateChain = 0 14 CertificateCommonNameInvalid = 0 15 CertificateDateInvalid = 0 16 CertificateAuthorityInvalid = 0 17 CertificateContainsErrors = 0 18 CertificateNoRevocationMechanism = 0 19 CertificateUnableToCheckRevocation = 0 20 CertificateRevoked = 0 21 CertificateInvalid = 0 22 CertificateWeakSignatureAlgorithm = 0 23 CertificateNonUniqueName = 0 24 CertificateWeakKey = 0 25 CertificateNameConstraintViolation = 0 26 27 def errorDescription(self): 28 '''str QWebEngineCertificateError.errorDescription()''' 29 return str() 30 def isOverridable(self): 31 '''bool QWebEngineCertificateError.isOverridable()''' 32 return bool() 33 def url(self): 34 '''QUrl QWebEngineCertificateError.url()''' 35 return QUrl() 36 def error(self): 37 '''QWebEngineCertificateError.Error QWebEngineCertificateError.error()''' 38 return QWebEngineCertificateError.Error() 39 40 41class QWebEngineHistoryItem(): 42 """""" 43 def __init__(self, other): 44 '''void QWebEngineHistoryItem.__init__(QWebEngineHistoryItem other)''' 45 def isValid(self): 46 '''bool QWebEngineHistoryItem.isValid()''' 47 return bool() 48 def iconUrl(self): 49 '''QUrl QWebEngineHistoryItem.iconUrl()''' 50 return QUrl() 51 def lastVisited(self): 52 '''QDateTime QWebEngineHistoryItem.lastVisited()''' 53 return QDateTime() 54 def title(self): 55 '''str QWebEngineHistoryItem.title()''' 56 return str() 57 def url(self): 58 '''QUrl QWebEngineHistoryItem.url()''' 59 return QUrl() 60 def originalUrl(self): 61 '''QUrl QWebEngineHistoryItem.originalUrl()''' 62 return QUrl() 63 64 65class QWebEngineHistory(): 66 """""" 67 def __len__(self): 68 ''' QWebEngineHistory.__len__()''' 69 return () 70 def count(self): 71 '''int QWebEngineHistory.count()''' 72 return int() 73 def currentItemIndex(self): 74 '''int QWebEngineHistory.currentItemIndex()''' 75 return int() 76 def itemAt(self, i): 77 '''QWebEngineHistoryItem QWebEngineHistory.itemAt(int i)''' 78 return QWebEngineHistoryItem() 79 def forwardItem(self): 80 '''QWebEngineHistoryItem QWebEngineHistory.forwardItem()''' 81 return QWebEngineHistoryItem() 82 def currentItem(self): 83 '''QWebEngineHistoryItem QWebEngineHistory.currentItem()''' 84 return QWebEngineHistoryItem() 85 def backItem(self): 86 '''QWebEngineHistoryItem QWebEngineHistory.backItem()''' 87 return QWebEngineHistoryItem() 88 def goToItem(self, item): 89 '''void QWebEngineHistory.goToItem(QWebEngineHistoryItem item)''' 90 def forward(self): 91 '''void QWebEngineHistory.forward()''' 92 def back(self): 93 '''void QWebEngineHistory.back()''' 94 def canGoForward(self): 95 '''bool QWebEngineHistory.canGoForward()''' 96 return bool() 97 def canGoBack(self): 98 '''bool QWebEngineHistory.canGoBack()''' 99 return bool() 100 def forwardItems(self, maxItems): 101 '''list-of-QWebEngineHistoryItem QWebEngineHistory.forwardItems(int maxItems)''' 102 return [QWebEngineHistoryItem()] 103 def backItems(self, maxItems): 104 '''list-of-QWebEngineHistoryItem QWebEngineHistory.backItems(int maxItems)''' 105 return [QWebEngineHistoryItem()] 106 def items(self): 107 '''list-of-QWebEngineHistoryItem QWebEngineHistory.items()''' 108 return [QWebEngineHistoryItem()] 109 def clear(self): 110 '''void QWebEngineHistory.clear()''' 111 112 113class QWebEnginePage(QObject): 114 """""" 115 # Enum QWebEnginePage.NavigationType 116 NavigationTypeLinkClicked = 0 117 NavigationTypeTyped = 0 118 NavigationTypeFormSubmitted = 0 119 NavigationTypeBackForward = 0 120 NavigationTypeReload = 0 121 NavigationTypeOther = 0 122 123 # Enum QWebEnginePage.JavaScriptConsoleMessageLevel 124 InfoMessageLevel = 0 125 WarningMessageLevel = 0 126 ErrorMessageLevel = 0 127 128 # Enum QWebEnginePage.FileSelectionMode 129 FileSelectOpen = 0 130 FileSelectOpenMultiple = 0 131 132 # Enum QWebEnginePage.Feature 133 Geolocation = 0 134 MediaAudioCapture = 0 135 MediaVideoCapture = 0 136 MediaAudioVideoCapture = 0 137 138 # Enum QWebEnginePage.PermissionPolicy 139 PermissionUnknown = 0 140 PermissionGrantedByUser = 0 141 PermissionDeniedByUser = 0 142 143 # Enum QWebEnginePage.WebWindowType 144 WebBrowserWindow = 0 145 WebBrowserTab = 0 146 WebDialog = 0 147 148 # Enum QWebEnginePage.FindFlag 149 FindBackward = 0 150 FindCaseSensitively = 0 151 152 # Enum QWebEnginePage.WebAction 153 NoWebAction = 0 154 Back = 0 155 Forward = 0 156 Stop = 0 157 Reload = 0 158 Cut = 0 159 Copy = 0 160 Paste = 0 161 Undo = 0 162 Redo = 0 163 SelectAll = 0 164 ReloadAndBypassCache = 0 165 PasteAndMatchStyle = 0 166 167 def __init__(self, parent = None): 168 '''void QWebEnginePage.__init__(QObject parent = None)''' 169 def __init__(self, profile, parent = None): 170 '''void QWebEnginePage.__init__(QWebEngineProfile profile, QObject parent = None)''' 171 def acceptNavigationRequest(self, url, type, isMainFrame): 172 '''bool QWebEnginePage.acceptNavigationRequest(QUrl url, QWebEnginePage.NavigationType type, bool isMainFrame)''' 173 return bool() 174 def setWebChannel(self): 175 '''QWebChannel QWebEnginePage.setWebChannel()''' 176 return QWebChannel() 177 def webChannel(self): 178 '''QWebChannel QWebEnginePage.webChannel()''' 179 return QWebChannel() 180 def scripts(self): 181 '''QWebEngineScriptCollection QWebEnginePage.scripts()''' 182 return QWebEngineScriptCollection() 183 def profile(self): 184 '''QWebEngineProfile QWebEnginePage.profile()''' 185 return QWebEngineProfile() 186 def certificateError(self, certificateError): 187 '''bool QWebEnginePage.certificateError(QWebEngineCertificateError certificateError)''' 188 return bool() 189 def javaScriptConsoleMessage(self, level, message, lineNumber, sourceID): 190 '''void QWebEnginePage.javaScriptConsoleMessage(QWebEnginePage.JavaScriptConsoleMessageLevel level, str message, int lineNumber, str sourceID)''' 191 def javaScriptPrompt(self, securityOrigin, msg, defaultValue, result): 192 '''bool QWebEnginePage.javaScriptPrompt(QUrl securityOrigin, str msg, str defaultValue, str result)''' 193 return bool() 194 def javaScriptConfirm(self, securityOrigin, msg): 195 '''bool QWebEnginePage.javaScriptConfirm(QUrl securityOrigin, str msg)''' 196 return bool() 197 def javaScriptAlert(self, securityOrigin, msg): 198 '''void QWebEnginePage.javaScriptAlert(QUrl securityOrigin, str msg)''' 199 def chooseFiles(self, mode, oldFiles, acceptedMimeTypes): 200 '''list-of-str QWebEnginePage.chooseFiles(QWebEnginePage.FileSelectionMode mode, list-of-str oldFiles, list-of-str acceptedMimeTypes)''' 201 return [str()] 202 def createWindow(self, type): 203 '''QWebEnginePage QWebEnginePage.createWindow(QWebEnginePage.WebWindowType type)''' 204 return QWebEnginePage() 205 iconUrlChanged = pyqtSignal() # void iconUrlChanged(const QUrlamp;) - signal 206 urlChanged = pyqtSignal() # void urlChanged(const QUrlamp;) - signal 207 titleChanged = pyqtSignal() # void titleChanged(const QStringamp;) - signal 208 proxyAuthenticationRequired = pyqtSignal() # void proxyAuthenticationRequired(const QUrlamp;,QAuthenticator*,const QStringamp;) - signal 209 authenticationRequired = pyqtSignal() # void authenticationRequired(const QUrlamp;,QAuthenticator*) - signal 210 featurePermissionRequestCanceled = pyqtSignal() # void featurePermissionRequestCanceled(const QUrlamp;,QWebEnginePage::Feature) - signal 211 featurePermissionRequested = pyqtSignal() # void featurePermissionRequested(const QUrlamp;,QWebEnginePage::Feature) - signal 212 windowCloseRequested = pyqtSignal() # void windowCloseRequested() - signal 213 geometryChangeRequested = pyqtSignal() # void geometryChangeRequested(const QRectamp;) - signal 214 selectionChanged = pyqtSignal() # void selectionChanged() - signal 215 linkHovered = pyqtSignal() # void linkHovered(const QStringamp;) - signal 216 loadFinished = pyqtSignal() # void loadFinished(bool) - signal 217 loadProgress = pyqtSignal() # void loadProgress(int) - signal 218 loadStarted = pyqtSignal() # void loadStarted() - signal 219 def settings(self): 220 '''QWebEngineSettings QWebEnginePage.settings()''' 221 return QWebEngineSettings() 222 def runJavaScript(self, scriptSource): 223 '''void QWebEnginePage.runJavaScript(str scriptSource)''' 224 def runJavaScript(self, scriptSource, resultCallback): 225 '''void QWebEnginePage.runJavaScript(str scriptSource, callable resultCallback)''' 226 def setZoomFactor(self, factor): 227 '''void QWebEnginePage.setZoomFactor(float factor)''' 228 def zoomFactor(self): 229 '''float QWebEnginePage.zoomFactor()''' 230 return float() 231 def iconUrl(self): 232 '''QUrl QWebEnginePage.iconUrl()''' 233 return QUrl() 234 def requestedUrl(self): 235 '''QUrl QWebEnginePage.requestedUrl()''' 236 return QUrl() 237 def url(self): 238 '''QUrl QWebEnginePage.url()''' 239 return QUrl() 240 def setUrl(self, url): 241 '''void QWebEnginePage.setUrl(QUrl url)''' 242 def title(self): 243 '''str QWebEnginePage.title()''' 244 return str() 245 def toPlainText(self, resultCallback): 246 '''void QWebEnginePage.toPlainText(callable resultCallback)''' 247 def toHtml(self, resultCallback): 248 '''void QWebEnginePage.toHtml(callable resultCallback)''' 249 def setContent(self, data, mimeType = str(), baseUrl = QUrl()): 250 '''void QWebEnginePage.setContent(QByteArray data, str mimeType = str(), QUrl baseUrl = QUrl())''' 251 def setHtml(self, html, baseUrl = QUrl()): 252 '''void QWebEnginePage.setHtml(str html, QUrl baseUrl = QUrl())''' 253 def load(self, url): 254 '''void QWebEnginePage.load(QUrl url)''' 255 def setFeaturePermission(self, securityOrigin, feature, policy): 256 '''void QWebEnginePage.setFeaturePermission(QUrl securityOrigin, QWebEnginePage.Feature feature, QWebEnginePage.PermissionPolicy policy)''' 257 def createStandardContextMenu(self): 258 '''QMenu QWebEnginePage.createStandardContextMenu()''' 259 return QMenu() 260 def findText(self, subString, options = 0, resultCallback = 0): 261 '''void QWebEnginePage.findText(str subString, QWebEnginePage.FindFlags options = 0, callable resultCallback = 0)''' 262 def event(self): 263 '''QEvent QWebEnginePage.event()''' 264 return QEvent() 265 def triggerAction(self, action, checked = False): 266 '''void QWebEnginePage.triggerAction(QWebEnginePage.WebAction action, bool checked = False)''' 267 def action(self, action): 268 '''QAction QWebEnginePage.action(QWebEnginePage.WebAction action)''' 269 return QAction() 270 def selectedText(self): 271 '''str QWebEnginePage.selectedText()''' 272 return str() 273 def hasSelection(self): 274 '''bool QWebEnginePage.hasSelection()''' 275 return bool() 276 def view(self): 277 '''QWidget QWebEnginePage.view()''' 278 return QWidget() 279 def setView(self, view): 280 '''void QWebEnginePage.setView(QWidget view)''' 281 def history(self): 282 '''QWebEngineHistory QWebEnginePage.history()''' 283 return QWebEngineHistory() 284 class FindFlags(): 285 """""" 286 def __init__(self): 287 '''QWebEnginePage.FindFlags QWebEnginePage.FindFlags.__init__()''' 288 return QWebEnginePage.FindFlags() 289 def __init__(self): 290 '''int QWebEnginePage.FindFlags.__init__()''' 291 return int() 292 def __init__(self): 293 '''void QWebEnginePage.FindFlags.__init__()''' 294 def __bool__(self): 295 '''int QWebEnginePage.FindFlags.__bool__()''' 296 return int() 297 def __ne__(self, f): 298 '''bool QWebEnginePage.FindFlags.__ne__(QWebEnginePage.FindFlags f)''' 299 return bool() 300 def __eq__(self, f): 301 '''bool QWebEnginePage.FindFlags.__eq__(QWebEnginePage.FindFlags f)''' 302 return bool() 303 def __invert__(self): 304 '''QWebEnginePage.FindFlags QWebEnginePage.FindFlags.__invert__()''' 305 return QWebEnginePage.FindFlags() 306 def __and__(self, mask): 307 '''QWebEnginePage.FindFlags QWebEnginePage.FindFlags.__and__(int mask)''' 308 return QWebEnginePage.FindFlags() 309 def __xor__(self, f): 310 '''QWebEnginePage.FindFlags QWebEnginePage.FindFlags.__xor__(QWebEnginePage.FindFlags f)''' 311 return QWebEnginePage.FindFlags() 312 def __xor__(self, f): 313 '''QWebEnginePage.FindFlags QWebEnginePage.FindFlags.__xor__(int f)''' 314 return QWebEnginePage.FindFlags() 315 def __or__(self, f): 316 '''QWebEnginePage.FindFlags QWebEnginePage.FindFlags.__or__(QWebEnginePage.FindFlags f)''' 317 return QWebEnginePage.FindFlags() 318 def __or__(self, f): 319 '''QWebEnginePage.FindFlags QWebEnginePage.FindFlags.__or__(int f)''' 320 return QWebEnginePage.FindFlags() 321 def __int__(self): 322 '''int QWebEnginePage.FindFlags.__int__()''' 323 return int() 324 def __ixor__(self, f): 325 '''QWebEnginePage.FindFlags QWebEnginePage.FindFlags.__ixor__(QWebEnginePage.FindFlags f)''' 326 return QWebEnginePage.FindFlags() 327 def __ior__(self, f): 328 '''QWebEnginePage.FindFlags QWebEnginePage.FindFlags.__ior__(QWebEnginePage.FindFlags f)''' 329 return QWebEnginePage.FindFlags() 330 def __iand__(self, mask): 331 '''QWebEnginePage.FindFlags QWebEnginePage.FindFlags.__iand__(int mask)''' 332 return QWebEnginePage.FindFlags() 333 334 335class QWebEngineSettings(): 336 """""" 337 # Enum QWebEngineSettings.FontSize 338 MinimumFontSize = 0 339 MinimumLogicalFontSize = 0 340 DefaultFontSize = 0 341 DefaultFixedFontSize = 0 342 343 # Enum QWebEngineSettings.WebAttribute 344 AutoLoadImages = 0 345 JavascriptEnabled = 0 346 JavascriptCanOpenWindows = 0 347 JavascriptCanAccessClipboard = 0 348 LinksIncludedInFocusChain = 0 349 LocalStorageEnabled = 0 350 LocalContentCanAccessRemoteUrls = 0 351 XSSAuditingEnabled = 0 352 SpatialNavigationEnabled = 0 353 LocalContentCanAccessFileUrls = 0 354 HyperlinkAuditingEnabled = 0 355 ScrollAnimatorEnabled = 0 356 ErrorPageEnabled = 0 357 358 # Enum QWebEngineSettings.FontFamily 359 StandardFont = 0 360 FixedFont = 0 361 SerifFont = 0 362 SansSerifFont = 0 363 CursiveFont = 0 364 FantasyFont = 0 365 366 def defaultTextEncoding(self): 367 '''str QWebEngineSettings.defaultTextEncoding()''' 368 return str() 369 def setDefaultTextEncoding(self, encoding): 370 '''void QWebEngineSettings.setDefaultTextEncoding(str encoding)''' 371 def resetAttribute(self, attr): 372 '''void QWebEngineSettings.resetAttribute(QWebEngineSettings.WebAttribute attr)''' 373 def testAttribute(self, attr): 374 '''bool QWebEngineSettings.testAttribute(QWebEngineSettings.WebAttribute attr)''' 375 return bool() 376 def setAttribute(self, attr, on): 377 '''void QWebEngineSettings.setAttribute(QWebEngineSettings.WebAttribute attr, bool on)''' 378 def resetFontSize(self, type): 379 '''void QWebEngineSettings.resetFontSize(QWebEngineSettings.FontSize type)''' 380 def fontSize(self, type): 381 '''int QWebEngineSettings.fontSize(QWebEngineSettings.FontSize type)''' 382 return int() 383 def setFontSize(self, type, size): 384 '''void QWebEngineSettings.setFontSize(QWebEngineSettings.FontSize type, int size)''' 385 def resetFontFamily(self, which): 386 '''void QWebEngineSettings.resetFontFamily(QWebEngineSettings.FontFamily which)''' 387 def fontFamily(self, which): 388 '''str QWebEngineSettings.fontFamily(QWebEngineSettings.FontFamily which)''' 389 return str() 390 def setFontFamily(self, which, family): 391 '''void QWebEngineSettings.setFontFamily(QWebEngineSettings.FontFamily which, str family)''' 392 def globalSettings(self): 393 '''static QWebEngineSettings QWebEngineSettings.globalSettings()''' 394 return QWebEngineSettings() 395 def defaultSettings(self): 396 '''static QWebEngineSettings QWebEngineSettings.defaultSettings()''' 397 return QWebEngineSettings() 398 399 400class QWebEngineView(QWidget): 401 """""" 402 def __init__(self, parent = None): 403 '''void QWebEngineView.__init__(QWidget parent = None)''' 404 def event(self): 405 '''QEvent QWebEngineView.event()''' 406 return QEvent() 407 def contextMenuEvent(self): 408 '''QContextMenuEvent QWebEngineView.contextMenuEvent()''' 409 return QContextMenuEvent() 410 def createWindow(self, type): 411 '''QWebEngineView QWebEngineView.createWindow(QWebEnginePage.WebWindowType type)''' 412 return QWebEngineView() 413 iconUrlChanged = pyqtSignal() # void iconUrlChanged(const QUrlamp;) - signal 414 urlChanged = pyqtSignal() # void urlChanged(const QUrlamp;) - signal 415 selectionChanged = pyqtSignal() # void selectionChanged() - signal 416 titleChanged = pyqtSignal() # void titleChanged(const QStringamp;) - signal 417 loadFinished = pyqtSignal() # void loadFinished(bool) - signal 418 loadProgress = pyqtSignal() # void loadProgress(int) - signal 419 loadStarted = pyqtSignal() # void loadStarted() - signal 420 def reload(self): 421 '''void QWebEngineView.reload()''' 422 def forward(self): 423 '''void QWebEngineView.forward()''' 424 def back(self): 425 '''void QWebEngineView.back()''' 426 def stop(self): 427 '''void QWebEngineView.stop()''' 428 def settings(self): 429 '''QWebEngineSettings QWebEngineView.settings()''' 430 return QWebEngineSettings() 431 def sizeHint(self): 432 '''QSize QWebEngineView.sizeHint()''' 433 return QSize() 434 def findText(self, subString, options = 0, resultCallback = 0): 435 '''void QWebEngineView.findText(str subString, QWebEnginePage.FindFlags options = 0, callable resultCallback = 0)''' 436 def setZoomFactor(self, factor): 437 '''void QWebEngineView.setZoomFactor(float factor)''' 438 def zoomFactor(self): 439 '''float QWebEngineView.zoomFactor()''' 440 return float() 441 def triggerPageAction(self, action, checked = False): 442 '''void QWebEngineView.triggerPageAction(QWebEnginePage.WebAction action, bool checked = False)''' 443 def pageAction(self, action): 444 '''QAction QWebEngineView.pageAction(QWebEnginePage.WebAction action)''' 445 return QAction() 446 def selectedText(self): 447 '''str QWebEngineView.selectedText()''' 448 return str() 449 def hasSelection(self): 450 '''bool QWebEngineView.hasSelection()''' 451 return bool() 452 def iconUrl(self): 453 '''QUrl QWebEngineView.iconUrl()''' 454 return QUrl() 455 def url(self): 456 '''QUrl QWebEngineView.url()''' 457 return QUrl() 458 def setUrl(self, url): 459 '''void QWebEngineView.setUrl(QUrl url)''' 460 def title(self): 461 '''str QWebEngineView.title()''' 462 return str() 463 def history(self): 464 '''QWebEngineHistory QWebEngineView.history()''' 465 return QWebEngineHistory() 466 def setContent(self, data, mimeType = str(), baseUrl = QUrl()): 467 '''void QWebEngineView.setContent(QByteArray data, str mimeType = str(), QUrl baseUrl = QUrl())''' 468 def setHtml(self, html, baseUrl = QUrl()): 469 '''void QWebEngineView.setHtml(str html, QUrl baseUrl = QUrl())''' 470 def load(self, url): 471 '''void QWebEngineView.load(QUrl url)''' 472 def setPage(self, page): 473 '''void QWebEngineView.setPage(QWebEnginePage page)''' 474 def page(self): 475 '''QWebEnginePage QWebEngineView.page()''' 476 return QWebEnginePage() 477 478 479class QWebEngineDownloadItem(QObject): 480 """""" 481 # Enum QWebEngineDownloadItem.DownloadState 482 DownloadRequested = 0 483 DownloadInProgress = 0 484 DownloadCompleted = 0 485 DownloadCancelled = 0 486 DownloadInterrupted = 0 487 488 downloadProgress = pyqtSignal() # void downloadProgress(qint64,qint64) - signal 489 stateChanged = pyqtSignal() # void stateChanged(QWebEngineDownloadItem::DownloadState) - signal 490 finished = pyqtSignal() # void finished() - signal 491 def cancel(self): 492 '''void QWebEngineDownloadItem.cancel()''' 493 def accept(self): 494 '''void QWebEngineDownloadItem.accept()''' 495 def isFinished(self): 496 '''bool QWebEngineDownloadItem.isFinished()''' 497 return bool() 498 def setPath(self, path): 499 '''void QWebEngineDownloadItem.setPath(str path)''' 500 def path(self): 501 '''str QWebEngineDownloadItem.path()''' 502 return str() 503 def url(self): 504 '''QUrl QWebEngineDownloadItem.url()''' 505 return QUrl() 506 def receivedBytes(self): 507 '''int QWebEngineDownloadItem.receivedBytes()''' 508 return int() 509 def totalBytes(self): 510 '''int QWebEngineDownloadItem.totalBytes()''' 511 return int() 512 def state(self): 513 '''QWebEngineDownloadItem.DownloadState QWebEngineDownloadItem.state()''' 514 return QWebEngineDownloadItem.DownloadState() 515 def id(self): 516 '''int QWebEngineDownloadItem.id()''' 517 return int() 518 519 520class QWebEngineProfile(QObject): 521 """""" 522 # Enum QWebEngineProfile.PersistentCookiesPolicy 523 NoPersistentCookies = 0 524 AllowPersistentCookies = 0 525 ForcePersistentCookies = 0 526 527 # Enum QWebEngineProfile.HttpCacheType 528 MemoryHttpCache = 0 529 DiskHttpCache = 0 530 531 def __init__(self, parent = None): 532 '''void QWebEngineProfile.__init__(QObject parent = None)''' 533 def __init__(self, name, parent = None): 534 '''void QWebEngineProfile.__init__(str name, QObject parent = None)''' 535 downloadRequested = pyqtSignal() # void downloadRequested(QWebEngineDownloadItem*) - signal 536 def defaultProfile(self): 537 '''static QWebEngineProfile QWebEngineProfile.defaultProfile()''' 538 return QWebEngineProfile() 539 def scripts(self): 540 '''QWebEngineScriptCollection QWebEngineProfile.scripts()''' 541 return QWebEngineScriptCollection() 542 def settings(self): 543 '''QWebEngineSettings QWebEngineProfile.settings()''' 544 return QWebEngineSettings() 545 def visitedLinksContainsUrl(self, url): 546 '''bool QWebEngineProfile.visitedLinksContainsUrl(QUrl url)''' 547 return bool() 548 def clearVisitedLinks(self, urls): 549 '''void QWebEngineProfile.clearVisitedLinks(list-of-QUrl urls)''' 550 def clearAllVisitedLinks(self): 551 '''void QWebEngineProfile.clearAllVisitedLinks()''' 552 def setHttpCacheMaximumSize(self, maxSize): 553 '''void QWebEngineProfile.setHttpCacheMaximumSize(int maxSize)''' 554 def httpCacheMaximumSize(self): 555 '''int QWebEngineProfile.httpCacheMaximumSize()''' 556 return int() 557 def setPersistentCookiesPolicy(self): 558 '''QWebEngineProfile.PersistentCookiesPolicy QWebEngineProfile.setPersistentCookiesPolicy()''' 559 return QWebEngineProfile.PersistentCookiesPolicy() 560 def persistentCookiesPolicy(self): 561 '''QWebEngineProfile.PersistentCookiesPolicy QWebEngineProfile.persistentCookiesPolicy()''' 562 return QWebEngineProfile.PersistentCookiesPolicy() 563 def setHttpCacheType(self): 564 '''QWebEngineProfile.HttpCacheType QWebEngineProfile.setHttpCacheType()''' 565 return QWebEngineProfile.HttpCacheType() 566 def httpCacheType(self): 567 '''QWebEngineProfile.HttpCacheType QWebEngineProfile.httpCacheType()''' 568 return QWebEngineProfile.HttpCacheType() 569 def setHttpUserAgent(self, userAgent): 570 '''void QWebEngineProfile.setHttpUserAgent(str userAgent)''' 571 def httpUserAgent(self): 572 '''str QWebEngineProfile.httpUserAgent()''' 573 return str() 574 def setCachePath(self, path): 575 '''void QWebEngineProfile.setCachePath(str path)''' 576 def cachePath(self): 577 '''str QWebEngineProfile.cachePath()''' 578 return str() 579 def setPersistentStoragePath(self, path): 580 '''void QWebEngineProfile.setPersistentStoragePath(str path)''' 581 def persistentStoragePath(self): 582 '''str QWebEngineProfile.persistentStoragePath()''' 583 return str() 584 def isOffTheRecord(self): 585 '''bool QWebEngineProfile.isOffTheRecord()''' 586 return bool() 587 def storageName(self): 588 '''str QWebEngineProfile.storageName()''' 589 return str() 590 591 592class QWebEngineScript(): 593 """""" 594 # Enum QWebEngineScript.ScriptWorldId 595 MainWorld = 0 596 ApplicationWorld = 0 597 UserWorld = 0 598 599 # Enum QWebEngineScript.InjectionPoint 600 Deferred = 0 601 DocumentReady = 0 602 DocumentCreation = 0 603 604 def __init__(self): 605 '''void QWebEngineScript.__init__()''' 606 def __init__(self, other): 607 '''void QWebEngineScript.__init__(QWebEngineScript other)''' 608 def swap(self, other): 609 '''void QWebEngineScript.swap(QWebEngineScript other)''' 610 def __ne__(self, other): 611 '''bool QWebEngineScript.__ne__(QWebEngineScript other)''' 612 return bool() 613 def __eq__(self, other): 614 '''bool QWebEngineScript.__eq__(QWebEngineScript other)''' 615 return bool() 616 def setRunsOnSubFrames(self, on): 617 '''void QWebEngineScript.setRunsOnSubFrames(bool on)''' 618 def runsOnSubFrames(self): 619 '''bool QWebEngineScript.runsOnSubFrames()''' 620 return bool() 621 def setWorldId(self): 622 '''int QWebEngineScript.setWorldId()''' 623 return int() 624 def worldId(self): 625 '''int QWebEngineScript.worldId()''' 626 return int() 627 def setInjectionPoint(self): 628 '''QWebEngineScript.InjectionPoint QWebEngineScript.setInjectionPoint()''' 629 return QWebEngineScript.InjectionPoint() 630 def injectionPoint(self): 631 '''QWebEngineScript.InjectionPoint QWebEngineScript.injectionPoint()''' 632 return QWebEngineScript.InjectionPoint() 633 def setSourceCode(self): 634 '''str QWebEngineScript.setSourceCode()''' 635 return str() 636 def sourceCode(self): 637 '''str QWebEngineScript.sourceCode()''' 638 return str() 639 def setName(self): 640 '''str QWebEngineScript.setName()''' 641 return str() 642 def name(self): 643 '''str QWebEngineScript.name()''' 644 return str() 645 def isNull(self): 646 '''bool QWebEngineScript.isNull()''' 647 return bool() 648 649 650class QWebEngineScriptCollection(): 651 """""" 652 def toList(self): 653 '''list-of-QWebEngineScript QWebEngineScriptCollection.toList()''' 654 return [QWebEngineScript()] 655 def clear(self): 656 '''void QWebEngineScriptCollection.clear()''' 657 def remove(self): 658 '''QWebEngineScript QWebEngineScriptCollection.remove()''' 659 return QWebEngineScript() 660 def insert(self): 661 '''QWebEngineScript QWebEngineScriptCollection.insert()''' 662 return QWebEngineScript() 663 def insert(self, list): 664 '''void QWebEngineScriptCollection.insert(list-of-QWebEngineScript list)''' 665 def findScripts(self, name): 666 '''list-of-QWebEngineScript QWebEngineScriptCollection.findScripts(str name)''' 667 return [QWebEngineScript()] 668 def findScript(self, name): 669 '''QWebEngineScript QWebEngineScriptCollection.findScript(str name)''' 670 return QWebEngineScript() 671 def contains(self, value): 672 '''bool QWebEngineScriptCollection.contains(QWebEngineScript value)''' 673 return bool() 674 def __len__(self): 675 ''' QWebEngineScriptCollection.__len__()''' 676 return () 677 def count(self): 678 '''int QWebEngineScriptCollection.count()''' 679 return int() 680 def isEmpty(self): 681 '''bool QWebEngineScriptCollection.isEmpty()''' 682 return bool() 683 684 685