File indexing completed on 2024-05-12 16:08:54
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 class QGraphicsWebView(QGraphicsWidget): 0007 """""" 0008 def __init__(self, parent = None): 0009 '''void QGraphicsWebView.__init__(QGraphicsItem parent = None)''' 0010 def setRenderHint(self, hint, enabled = True): 0011 '''void QGraphicsWebView.setRenderHint(QPainter.RenderHint hint, bool enabled = True)''' 0012 def setRenderHints(self, hints): 0013 '''void QGraphicsWebView.setRenderHints(QPainter.RenderHints hints)''' 0014 def renderHints(self): 0015 '''QPainter.RenderHints QGraphicsWebView.renderHints()''' 0016 return QPainter.RenderHints() 0017 def setTiledBackingStoreFrozen(self, frozen): 0018 '''void QGraphicsWebView.setTiledBackingStoreFrozen(bool frozen)''' 0019 def isTiledBackingStoreFrozen(self): 0020 '''bool QGraphicsWebView.isTiledBackingStoreFrozen()''' 0021 return bool() 0022 def setResizesToContents(self, enabled): 0023 '''void QGraphicsWebView.setResizesToContents(bool enabled)''' 0024 def resizesToContents(self): 0025 '''bool QGraphicsWebView.resizesToContents()''' 0026 return bool() 0027 def sceneEvent(self): 0028 '''QEvent QGraphicsWebView.sceneEvent()''' 0029 return QEvent() 0030 def focusNextPrevChild(self, next): 0031 '''bool QGraphicsWebView.focusNextPrevChild(bool next)''' 0032 return bool() 0033 def inputMethodEvent(self): 0034 '''QInputMethodEvent QGraphicsWebView.inputMethodEvent()''' 0035 return QInputMethodEvent() 0036 def focusOutEvent(self): 0037 '''QFocusEvent QGraphicsWebView.focusOutEvent()''' 0038 return QFocusEvent() 0039 def focusInEvent(self): 0040 '''QFocusEvent QGraphicsWebView.focusInEvent()''' 0041 return QFocusEvent() 0042 def dropEvent(self): 0043 '''QGraphicsSceneDragDropEvent QGraphicsWebView.dropEvent()''' 0044 return QGraphicsSceneDragDropEvent() 0045 def dragMoveEvent(self): 0046 '''QGraphicsSceneDragDropEvent QGraphicsWebView.dragMoveEvent()''' 0047 return QGraphicsSceneDragDropEvent() 0048 def dragLeaveEvent(self): 0049 '''QGraphicsSceneDragDropEvent QGraphicsWebView.dragLeaveEvent()''' 0050 return QGraphicsSceneDragDropEvent() 0051 def dragEnterEvent(self): 0052 '''QGraphicsSceneDragDropEvent QGraphicsWebView.dragEnterEvent()''' 0053 return QGraphicsSceneDragDropEvent() 0054 def contextMenuEvent(self): 0055 '''QGraphicsSceneContextMenuEvent QGraphicsWebView.contextMenuEvent()''' 0056 return QGraphicsSceneContextMenuEvent() 0057 def keyReleaseEvent(self): 0058 '''QKeyEvent QGraphicsWebView.keyReleaseEvent()''' 0059 return QKeyEvent() 0060 def keyPressEvent(self): 0061 '''QKeyEvent QGraphicsWebView.keyPressEvent()''' 0062 return QKeyEvent() 0063 def wheelEvent(self): 0064 '''QGraphicsSceneWheelEvent QGraphicsWebView.wheelEvent()''' 0065 return QGraphicsSceneWheelEvent() 0066 def hoverLeaveEvent(self): 0067 '''QGraphicsSceneHoverEvent QGraphicsWebView.hoverLeaveEvent()''' 0068 return QGraphicsSceneHoverEvent() 0069 def hoverMoveEvent(self): 0070 '''QGraphicsSceneHoverEvent QGraphicsWebView.hoverMoveEvent()''' 0071 return QGraphicsSceneHoverEvent() 0072 def mouseMoveEvent(self): 0073 '''QGraphicsSceneMouseEvent QGraphicsWebView.mouseMoveEvent()''' 0074 return QGraphicsSceneMouseEvent() 0075 def mouseReleaseEvent(self): 0076 '''QGraphicsSceneMouseEvent QGraphicsWebView.mouseReleaseEvent()''' 0077 return QGraphicsSceneMouseEvent() 0078 def mouseDoubleClickEvent(self): 0079 '''QGraphicsSceneMouseEvent QGraphicsWebView.mouseDoubleClickEvent()''' 0080 return QGraphicsSceneMouseEvent() 0081 def mousePressEvent(self): 0082 '''QGraphicsSceneMouseEvent QGraphicsWebView.mousePressEvent()''' 0083 return QGraphicsSceneMouseEvent() 0084 linkClicked = pyqtSignal() # void linkClicked(const QUrlamp;) - signal 0085 statusBarMessage = pyqtSignal() # void statusBarMessage(const QStringamp;) - signal 0086 iconChanged = pyqtSignal() # void iconChanged() - signal 0087 titleChanged = pyqtSignal() # void titleChanged(const QStringamp;) - signal 0088 urlChanged = pyqtSignal() # void urlChanged(const QUrlamp;) - signal 0089 loadProgress = pyqtSignal() # void loadProgress(int) - signal 0090 loadFinished = pyqtSignal() # void loadFinished(bool) - signal 0091 loadStarted = pyqtSignal() # void loadStarted() - signal 0092 def reload(self): 0093 '''void QGraphicsWebView.reload()''' 0094 def forward(self): 0095 '''void QGraphicsWebView.forward()''' 0096 def back(self): 0097 '''void QGraphicsWebView.back()''' 0098 def stop(self): 0099 '''void QGraphicsWebView.stop()''' 0100 def inputMethodQuery(self, query): 0101 '''QVariant QGraphicsWebView.inputMethodQuery(Qt.InputMethodQuery query)''' 0102 return QVariant() 0103 def sizeHint(self, which, constraint): 0104 '''QSizeF QGraphicsWebView.sizeHint(Qt.SizeHint which, QSizeF constraint)''' 0105 return QSizeF() 0106 def event(self): 0107 '''QEvent QGraphicsWebView.event()''' 0108 return QEvent() 0109 def itemChange(self, change, value): 0110 '''QVariant QGraphicsWebView.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 0111 return QVariant() 0112 def paint(self, painter, option, widget = None): 0113 '''void QGraphicsWebView.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 0114 def updateGeometry(self): 0115 '''void QGraphicsWebView.updateGeometry()''' 0116 def setGeometry(self, rect): 0117 '''void QGraphicsWebView.setGeometry(QRectF rect)''' 0118 def findText(self, subString, options = 0): 0119 '''bool QGraphicsWebView.findText(QString subString, QWebPage.FindFlags options = 0)''' 0120 return bool() 0121 def triggerPageAction(self, action, checked = False): 0122 '''void QGraphicsWebView.triggerPageAction(QWebPage.WebAction action, bool checked = False)''' 0123 def pageAction(self, action): 0124 '''QAction QGraphicsWebView.pageAction(QWebPage.WebAction action)''' 0125 return QAction() 0126 def settings(self): 0127 '''QWebSettings QGraphicsWebView.settings()''' 0128 return QWebSettings() 0129 def history(self): 0130 '''QWebHistory QGraphicsWebView.history()''' 0131 return QWebHistory() 0132 def setContent(self, data, mimeType = QString(), baseUrl = QUrl()): 0133 '''void QGraphicsWebView.setContent(QByteArray data, QString mimeType = QString(), QUrl baseUrl = QUrl())''' 0134 def setHtml(self, html, baseUrl = QUrl()): 0135 '''void QGraphicsWebView.setHtml(QString html, QUrl baseUrl = QUrl())''' 0136 def load(self, url): 0137 '''void QGraphicsWebView.load(QUrl url)''' 0138 def load(self, request, operation = None, body = QByteArray()): 0139 '''void QGraphicsWebView.load(QNetworkRequest request, QNetworkAccessManager.Operation operation = QNetworkAccessManager.GetOperation, QByteArray body = QByteArray())''' 0140 def isModified(self): 0141 '''bool QGraphicsWebView.isModified()''' 0142 return bool() 0143 def setZoomFactor(self): 0144 '''float QGraphicsWebView.setZoomFactor()''' 0145 return float() 0146 def zoomFactor(self): 0147 '''float QGraphicsWebView.zoomFactor()''' 0148 return float() 0149 def icon(self): 0150 '''QIcon QGraphicsWebView.icon()''' 0151 return QIcon() 0152 def title(self): 0153 '''QString QGraphicsWebView.title()''' 0154 return QString() 0155 def setUrl(self): 0156 '''QUrl QGraphicsWebView.setUrl()''' 0157 return QUrl() 0158 def url(self): 0159 '''QUrl QGraphicsWebView.url()''' 0160 return QUrl() 0161 def setPage(self): 0162 '''QWebPage QGraphicsWebView.setPage()''' 0163 return QWebPage() 0164 def page(self): 0165 '''QWebPage QGraphicsWebView.page()''' 0166 return QWebPage() 0167 0168 0169 class QWebDatabase(): 0170 """""" 0171 def __init__(self, other): 0172 '''void QWebDatabase.__init__(QWebDatabase other)''' 0173 def removeAllDatabases(self): 0174 '''static void QWebDatabase.removeAllDatabases()''' 0175 def removeDatabase(self, db): 0176 '''static void QWebDatabase.removeDatabase(QWebDatabase db)''' 0177 def origin(self): 0178 '''QWebSecurityOrigin QWebDatabase.origin()''' 0179 return QWebSecurityOrigin() 0180 def fileName(self): 0181 '''QString QWebDatabase.fileName()''' 0182 return QString() 0183 def size(self): 0184 '''int QWebDatabase.size()''' 0185 return int() 0186 def expectedSize(self): 0187 '''int QWebDatabase.expectedSize()''' 0188 return int() 0189 def displayName(self): 0190 '''QString QWebDatabase.displayName()''' 0191 return QString() 0192 def name(self): 0193 '''QString QWebDatabase.name()''' 0194 return QString() 0195 0196 0197 class QWebElement(): 0198 """""" 0199 # Enum QWebElement.StyleResolveStrategy 0200 InlineStyle = 0 0201 CascadedStyle = 0 0202 ComputedStyle = 0 0203 0204 def __init__(self): 0205 '''void QWebElement.__init__()''' 0206 def __init__(self): 0207 '''QWebElement QWebElement.__init__()''' 0208 return QWebElement() 0209 def render(self, painter): 0210 '''void QWebElement.render(QPainter painter)''' 0211 def render(self, painter, clip): 0212 '''void QWebElement.render(QPainter painter, QRect clip)''' 0213 def setStyleProperty(self, name, value): 0214 '''void QWebElement.setStyleProperty(QString name, QString value)''' 0215 def styleProperty(self, name, strategy): 0216 '''QString QWebElement.styleProperty(QString name, QWebElement.StyleResolveStrategy strategy)''' 0217 return QString() 0218 def evaluateJavaScript(self, scriptSource): 0219 '''QVariant QWebElement.evaluateJavaScript(QString scriptSource)''' 0220 return QVariant() 0221 def removeAllChildren(self): 0222 '''void QWebElement.removeAllChildren()''' 0223 def removeFromDocument(self): 0224 '''void QWebElement.removeFromDocument()''' 0225 def takeFromDocument(self): 0226 '''QWebElement QWebElement.takeFromDocument()''' 0227 return QWebElement() 0228 def clone(self): 0229 '''QWebElement QWebElement.clone()''' 0230 return QWebElement() 0231 def replace(self, markup): 0232 '''void QWebElement.replace(QString markup)''' 0233 def replace(self, element): 0234 '''void QWebElement.replace(QWebElement element)''' 0235 def encloseWith(self, markup): 0236 '''void QWebElement.encloseWith(QString markup)''' 0237 def encloseWith(self, element): 0238 '''void QWebElement.encloseWith(QWebElement element)''' 0239 def encloseContentsWith(self, element): 0240 '''void QWebElement.encloseContentsWith(QWebElement element)''' 0241 def encloseContentsWith(self, markup): 0242 '''void QWebElement.encloseContentsWith(QString markup)''' 0243 def prependOutside(self, markup): 0244 '''void QWebElement.prependOutside(QString markup)''' 0245 def prependOutside(self, element): 0246 '''void QWebElement.prependOutside(QWebElement element)''' 0247 def appendOutside(self, markup): 0248 '''void QWebElement.appendOutside(QString markup)''' 0249 def appendOutside(self, element): 0250 '''void QWebElement.appendOutside(QWebElement element)''' 0251 def prependInside(self, markup): 0252 '''void QWebElement.prependInside(QString markup)''' 0253 def prependInside(self, element): 0254 '''void QWebElement.prependInside(QWebElement element)''' 0255 def appendInside(self, markup): 0256 '''void QWebElement.appendInside(QString markup)''' 0257 def appendInside(self, element): 0258 '''void QWebElement.appendInside(QWebElement element)''' 0259 def webFrame(self): 0260 '''QWebFrame QWebElement.webFrame()''' 0261 return QWebFrame() 0262 def document(self): 0263 '''QWebElement QWebElement.document()''' 0264 return QWebElement() 0265 def previousSibling(self): 0266 '''QWebElement QWebElement.previousSibling()''' 0267 return QWebElement() 0268 def nextSibling(self): 0269 '''QWebElement QWebElement.nextSibling()''' 0270 return QWebElement() 0271 def lastChild(self): 0272 '''QWebElement QWebElement.lastChild()''' 0273 return QWebElement() 0274 def firstChild(self): 0275 '''QWebElement QWebElement.firstChild()''' 0276 return QWebElement() 0277 def parent(self): 0278 '''QWebElement QWebElement.parent()''' 0279 return QWebElement() 0280 def namespaceUri(self): 0281 '''QString QWebElement.namespaceUri()''' 0282 return QString() 0283 def localName(self): 0284 '''QString QWebElement.localName()''' 0285 return QString() 0286 def prefix(self): 0287 '''QString QWebElement.prefix()''' 0288 return QString() 0289 def tagName(self): 0290 '''QString QWebElement.tagName()''' 0291 return QString() 0292 def geometry(self): 0293 '''QRect QWebElement.geometry()''' 0294 return QRect() 0295 def setFocus(self): 0296 '''void QWebElement.setFocus()''' 0297 def hasFocus(self): 0298 '''bool QWebElement.hasFocus()''' 0299 return bool() 0300 def toggleClass(self, name): 0301 '''void QWebElement.toggleClass(QString name)''' 0302 def removeClass(self, name): 0303 '''void QWebElement.removeClass(QString name)''' 0304 def addClass(self, name): 0305 '''void QWebElement.addClass(QString name)''' 0306 def hasClass(self, name): 0307 '''bool QWebElement.hasClass(QString name)''' 0308 return bool() 0309 def classes(self): 0310 '''QStringList QWebElement.classes()''' 0311 return QStringList() 0312 def attributeNames(self, namespaceUri = QString()): 0313 '''QStringList QWebElement.attributeNames(QString namespaceUri = QString())''' 0314 return QStringList() 0315 def hasAttributes(self): 0316 '''bool QWebElement.hasAttributes()''' 0317 return bool() 0318 def removeAttributeNS(self, namespaceUri, name): 0319 '''void QWebElement.removeAttributeNS(QString namespaceUri, QString name)''' 0320 def removeAttribute(self, name): 0321 '''void QWebElement.removeAttribute(QString name)''' 0322 def hasAttributeNS(self, namespaceUri, name): 0323 '''bool QWebElement.hasAttributeNS(QString namespaceUri, QString name)''' 0324 return bool() 0325 def hasAttribute(self, name): 0326 '''bool QWebElement.hasAttribute(QString name)''' 0327 return bool() 0328 def attributeNS(self, namespaceUri, name, defaultValue = QString()): 0329 '''QString QWebElement.attributeNS(QString namespaceUri, QString name, QString defaultValue = QString())''' 0330 return QString() 0331 def attribute(self, name, defaultValue = QString()): 0332 '''QString QWebElement.attribute(QString name, QString defaultValue = QString())''' 0333 return QString() 0334 def setAttributeNS(self, namespaceUri, name, value): 0335 '''void QWebElement.setAttributeNS(QString namespaceUri, QString name, QString value)''' 0336 def setAttribute(self, name, value): 0337 '''void QWebElement.setAttribute(QString name, QString value)''' 0338 def toInnerXml(self): 0339 '''QString QWebElement.toInnerXml()''' 0340 return QString() 0341 def setInnerXml(self, markup): 0342 '''void QWebElement.setInnerXml(QString markup)''' 0343 def toOuterXml(self): 0344 '''QString QWebElement.toOuterXml()''' 0345 return QString() 0346 def setOuterXml(self, markup): 0347 '''void QWebElement.setOuterXml(QString markup)''' 0348 def toPlainText(self): 0349 '''QString QWebElement.toPlainText()''' 0350 return QString() 0351 def setPlainText(self, text): 0352 '''void QWebElement.setPlainText(QString text)''' 0353 def findFirst(self, selectorQuery): 0354 '''QWebElement QWebElement.findFirst(QString selectorQuery)''' 0355 return QWebElement() 0356 def findAll(self, selectorQuery): 0357 '''QWebElementCollection QWebElement.findAll(QString selectorQuery)''' 0358 return QWebElementCollection() 0359 def isNull(self): 0360 '''bool QWebElement.isNull()''' 0361 return bool() 0362 def __ne__(self, o): 0363 '''bool QWebElement.__ne__(QWebElement o)''' 0364 return bool() 0365 def __eq__(self, o): 0366 '''bool QWebElement.__eq__(QWebElement o)''' 0367 return bool() 0368 0369 0370 class QWebElementCollection(): 0371 """""" 0372 def __init__(self): 0373 '''void QWebElementCollection.__init__()''' 0374 def __init__(self, contextElement, query): 0375 '''void QWebElementCollection.__init__(QWebElement contextElement, QString query)''' 0376 def __init__(self): 0377 '''QWebElementCollection QWebElementCollection.__init__()''' 0378 return QWebElementCollection() 0379 def toList(self): 0380 '''list-of-QWebElement QWebElementCollection.toList()''' 0381 return [QWebElement()] 0382 def last(self): 0383 '''QWebElement QWebElementCollection.last()''' 0384 return QWebElement() 0385 def first(self): 0386 '''QWebElement QWebElementCollection.first()''' 0387 return QWebElement() 0388 def __getitem__(self, i): 0389 '''QWebElement QWebElementCollection.__getitem__(int i)''' 0390 return QWebElement() 0391 def at(self, i): 0392 '''QWebElement QWebElementCollection.at(int i)''' 0393 return QWebElement() 0394 def __len__(self): 0395 '''None QWebElementCollection.__len__()''' 0396 return None() 0397 def count(self): 0398 '''int QWebElementCollection.count()''' 0399 return int() 0400 def append(self, collection): 0401 '''void QWebElementCollection.append(QWebElementCollection collection)''' 0402 def __iadd__(self, other): 0403 '''QWebElementCollection QWebElementCollection.__iadd__(QWebElementCollection other)''' 0404 return QWebElementCollection() 0405 def __add__(self, other): 0406 '''QWebElementCollection QWebElementCollection.__add__(QWebElementCollection other)''' 0407 return QWebElementCollection() 0408 0409 0410 class QWebHitTestResult(): 0411 """""" 0412 def __init__(self): 0413 '''void QWebHitTestResult.__init__()''' 0414 def __init__(self, other): 0415 '''void QWebHitTestResult.__init__(QWebHitTestResult other)''' 0416 def element(self): 0417 '''QWebElement QWebHitTestResult.element()''' 0418 return QWebElement() 0419 def linkElement(self): 0420 '''QWebElement QWebHitTestResult.linkElement()''' 0421 return QWebElement() 0422 def enclosingBlockElement(self): 0423 '''QWebElement QWebHitTestResult.enclosingBlockElement()''' 0424 return QWebElement() 0425 def boundingRect(self): 0426 '''QRect QWebHitTestResult.boundingRect()''' 0427 return QRect() 0428 def frame(self): 0429 '''QWebFrame QWebHitTestResult.frame()''' 0430 return QWebFrame() 0431 def isContentSelected(self): 0432 '''bool QWebHitTestResult.isContentSelected()''' 0433 return bool() 0434 def isContentEditable(self): 0435 '''bool QWebHitTestResult.isContentEditable()''' 0436 return bool() 0437 def pixmap(self): 0438 '''QPixmap QWebHitTestResult.pixmap()''' 0439 return QPixmap() 0440 def imageUrl(self): 0441 '''QUrl QWebHitTestResult.imageUrl()''' 0442 return QUrl() 0443 def alternateText(self): 0444 '''QString QWebHitTestResult.alternateText()''' 0445 return QString() 0446 def linkTargetFrame(self): 0447 '''QWebFrame QWebHitTestResult.linkTargetFrame()''' 0448 return QWebFrame() 0449 def linkTitle(self): 0450 '''QUrl QWebHitTestResult.linkTitle()''' 0451 return QUrl() 0452 def linkUrl(self): 0453 '''QUrl QWebHitTestResult.linkUrl()''' 0454 return QUrl() 0455 def linkText(self): 0456 '''QString QWebHitTestResult.linkText()''' 0457 return QString() 0458 def title(self): 0459 '''QString QWebHitTestResult.title()''' 0460 return QString() 0461 def pos(self): 0462 '''QPoint QWebHitTestResult.pos()''' 0463 return QPoint() 0464 def isNull(self): 0465 '''bool QWebHitTestResult.isNull()''' 0466 return bool() 0467 0468 0469 class QWebFrame(QObject): 0470 """""" 0471 # Enum QWebFrame.RenderLayer 0472 ContentsLayer = 0 0473 ScrollBarLayer = 0 0474 PanIconLayer = 0 0475 AllLayers = 0 0476 0477 pageChanged = pyqtSignal() # void pageChanged() - signal 0478 def scrollToAnchor(self, anchor): 0479 '''void QWebFrame.scrollToAnchor(QString anchor)''' 0480 loadFinished = pyqtSignal() # void loadFinished(bool) - signal 0481 loadStarted = pyqtSignal() # void loadStarted() - signal 0482 contentsSizeChanged = pyqtSignal() # void contentsSizeChanged(const QSizeamp;) - signal 0483 def findFirstElement(self, selectorQuery): 0484 '''QWebElement QWebFrame.findFirstElement(QString selectorQuery)''' 0485 return QWebElement() 0486 def findAllElements(self, selectorQuery): 0487 '''QWebElementCollection QWebFrame.findAllElements(QString selectorQuery)''' 0488 return QWebElementCollection() 0489 def documentElement(self): 0490 '''QWebElement QWebFrame.documentElement()''' 0491 return QWebElement() 0492 def setFocus(self): 0493 '''void QWebFrame.setFocus()''' 0494 def hasFocus(self): 0495 '''bool QWebFrame.hasFocus()''' 0496 return bool() 0497 def scrollBarGeometry(self, orientation): 0498 '''QRect QWebFrame.scrollBarGeometry(Qt.Orientation orientation)''' 0499 return QRect() 0500 def baseUrl(self): 0501 '''QUrl QWebFrame.baseUrl()''' 0502 return QUrl() 0503 def requestedUrl(self): 0504 '''QUrl QWebFrame.requestedUrl()''' 0505 return QUrl() 0506 def securityOrigin(self): 0507 '''QWebSecurityOrigin QWebFrame.securityOrigin()''' 0508 return QWebSecurityOrigin() 0509 def setZoomFactor(self, factor): 0510 '''void QWebFrame.setZoomFactor(float factor)''' 0511 def zoomFactor(self): 0512 '''float QWebFrame.zoomFactor()''' 0513 return float() 0514 def setScrollPosition(self, pos): 0515 '''void QWebFrame.setScrollPosition(QPoint pos)''' 0516 def scrollPosition(self): 0517 '''QPoint QWebFrame.scrollPosition()''' 0518 return QPoint() 0519 def scroll(self): 0520 '''int QWebFrame.scroll()''' 0521 return int() 0522 def metaData(self): 0523 '''dict-of-QString-list-of-QString QWebFrame.metaData()''' 0524 return dict-of-QString-list-of-QString() 0525 iconChanged = pyqtSignal() # void iconChanged() - signal 0526 initialLayoutCompleted = pyqtSignal() # void initialLayoutCompleted() - signal 0527 urlChanged = pyqtSignal() # void urlChanged(const QUrlamp;) - signal 0528 titleChanged = pyqtSignal() # void titleChanged(const QStringamp;) - signal 0529 javaScriptWindowObjectCleared = pyqtSignal() # void javaScriptWindowObjectCleared() - signal 0530 def print_(self, printer): 0531 '''void QWebFrame.print_(QPrinter printer)''' 0532 def evaluateJavaScript(self, scriptSource): 0533 '''QVariant QWebFrame.evaluateJavaScript(QString scriptSource)''' 0534 return QVariant() 0535 def event(self): 0536 '''QEvent QWebFrame.event()''' 0537 return QEvent() 0538 def hitTestContent(self, pos): 0539 '''QWebHitTestResult QWebFrame.hitTestContent(QPoint pos)''' 0540 return QWebHitTestResult() 0541 def contentsSize(self): 0542 '''QSize QWebFrame.contentsSize()''' 0543 return QSize() 0544 def geometry(self): 0545 '''QRect QWebFrame.geometry()''' 0546 return QRect() 0547 def pos(self): 0548 '''QPoint QWebFrame.pos()''' 0549 return QPoint() 0550 def textSizeMultiplier(self): 0551 '''float QWebFrame.textSizeMultiplier()''' 0552 return float() 0553 def setTextSizeMultiplier(self, factor): 0554 '''void QWebFrame.setTextSizeMultiplier(float factor)''' 0555 def render(self, painter, clip): 0556 '''void QWebFrame.render(QPainter painter, QRegion clip)''' 0557 def render(self, painter): 0558 '''void QWebFrame.render(QPainter painter)''' 0559 def render(self, layer, clip = QRegion()): 0560 '''QPainter QWebFrame.render(QWebFrame.RenderLayer layer, QRegion clip = QRegion())''' 0561 return QPainter() 0562 def scrollBarMaximum(self, orientation): 0563 '''int QWebFrame.scrollBarMaximum(Qt.Orientation orientation)''' 0564 return int() 0565 def scrollBarMinimum(self, orientation): 0566 '''int QWebFrame.scrollBarMinimum(Qt.Orientation orientation)''' 0567 return int() 0568 def scrollBarValue(self, orientation): 0569 '''int QWebFrame.scrollBarValue(Qt.Orientation orientation)''' 0570 return int() 0571 def setScrollBarValue(self, orientation, value): 0572 '''void QWebFrame.setScrollBarValue(Qt.Orientation orientation, int value)''' 0573 def setScrollBarPolicy(self, orientation, policy): 0574 '''void QWebFrame.setScrollBarPolicy(Qt.Orientation orientation, Qt.ScrollBarPolicy policy)''' 0575 def scrollBarPolicy(self, orientation): 0576 '''Qt.ScrollBarPolicy QWebFrame.scrollBarPolicy(Qt.Orientation orientation)''' 0577 return Qt.ScrollBarPolicy() 0578 def childFrames(self): 0579 '''list-of-QWebFrame QWebFrame.childFrames()''' 0580 return [QWebFrame()] 0581 def parentFrame(self): 0582 '''QWebFrame QWebFrame.parentFrame()''' 0583 return QWebFrame() 0584 def frameName(self): 0585 '''QString QWebFrame.frameName()''' 0586 return QString() 0587 def icon(self): 0588 '''QIcon QWebFrame.icon()''' 0589 return QIcon() 0590 def url(self): 0591 '''QUrl QWebFrame.url()''' 0592 return QUrl() 0593 def setUrl(self, url): 0594 '''void QWebFrame.setUrl(QUrl url)''' 0595 def title(self): 0596 '''QString QWebFrame.title()''' 0597 return QString() 0598 def renderTreeDump(self): 0599 '''QString QWebFrame.renderTreeDump()''' 0600 return QString() 0601 def toPlainText(self): 0602 '''QString QWebFrame.toPlainText()''' 0603 return QString() 0604 def toHtml(self): 0605 '''QString QWebFrame.toHtml()''' 0606 return QString() 0607 def addToJavaScriptWindowObject(self, name, object): 0608 '''void QWebFrame.addToJavaScriptWindowObject(QString name, QObject object)''' 0609 def setContent(self, data, mimeType = QString(), baseUrl = QUrl()): 0610 '''void QWebFrame.setContent(QByteArray data, QString mimeType = QString(), QUrl baseUrl = QUrl())''' 0611 def setHtml(self, html, baseUrl = QUrl()): 0612 '''void QWebFrame.setHtml(QString html, QUrl baseUrl = QUrl())''' 0613 def load(self, url): 0614 '''void QWebFrame.load(QUrl url)''' 0615 def load(self, request, operation = None, body = QByteArray()): 0616 '''void QWebFrame.load(QNetworkRequest request, QNetworkAccessManager.Operation operation = QNetworkAccessManager.GetOperation, QByteArray body = QByteArray())''' 0617 def page(self): 0618 '''QWebPage QWebFrame.page()''' 0619 return QWebPage() 0620 0621 0622 class QWebHistoryItem(): 0623 """""" 0624 def __init__(self, other): 0625 '''void QWebHistoryItem.__init__(QWebHistoryItem other)''' 0626 def isValid(self): 0627 '''bool QWebHistoryItem.isValid()''' 0628 return bool() 0629 def setUserData(self, userData): 0630 '''void QWebHistoryItem.setUserData(QVariant userData)''' 0631 def userData(self): 0632 '''QVariant QWebHistoryItem.userData()''' 0633 return QVariant() 0634 def icon(self): 0635 '''QIcon QWebHistoryItem.icon()''' 0636 return QIcon() 0637 def lastVisited(self): 0638 '''QDateTime QWebHistoryItem.lastVisited()''' 0639 return QDateTime() 0640 def title(self): 0641 '''QString QWebHistoryItem.title()''' 0642 return QString() 0643 def url(self): 0644 '''QUrl QWebHistoryItem.url()''' 0645 return QUrl() 0646 def originalUrl(self): 0647 '''QUrl QWebHistoryItem.originalUrl()''' 0648 return QUrl() 0649 0650 0651 class QWebHistory(): 0652 """""" 0653 def setMaximumItemCount(self, count): 0654 '''void QWebHistory.setMaximumItemCount(int count)''' 0655 def maximumItemCount(self): 0656 '''int QWebHistory.maximumItemCount()''' 0657 return int() 0658 def currentItemIndex(self): 0659 '''int QWebHistory.currentItemIndex()''' 0660 return int() 0661 def __len__(self): 0662 '''None QWebHistory.__len__()''' 0663 return None() 0664 def count(self): 0665 '''int QWebHistory.count()''' 0666 return int() 0667 def itemAt(self, i): 0668 '''QWebHistoryItem QWebHistory.itemAt(int i)''' 0669 return QWebHistoryItem() 0670 def forwardItem(self): 0671 '''QWebHistoryItem QWebHistory.forwardItem()''' 0672 return QWebHistoryItem() 0673 def currentItem(self): 0674 '''QWebHistoryItem QWebHistory.currentItem()''' 0675 return QWebHistoryItem() 0676 def backItem(self): 0677 '''QWebHistoryItem QWebHistory.backItem()''' 0678 return QWebHistoryItem() 0679 def goToItem(self, item): 0680 '''void QWebHistory.goToItem(QWebHistoryItem item)''' 0681 def forward(self): 0682 '''void QWebHistory.forward()''' 0683 def back(self): 0684 '''void QWebHistory.back()''' 0685 def canGoForward(self): 0686 '''bool QWebHistory.canGoForward()''' 0687 return bool() 0688 def canGoBack(self): 0689 '''bool QWebHistory.canGoBack()''' 0690 return bool() 0691 def forwardItems(self, maxItems): 0692 '''list-of-QWebHistoryItem QWebHistory.forwardItems(int maxItems)''' 0693 return [QWebHistoryItem()] 0694 def backItems(self, maxItems): 0695 '''list-of-QWebHistoryItem QWebHistory.backItems(int maxItems)''' 0696 return [QWebHistoryItem()] 0697 def items(self): 0698 '''list-of-QWebHistoryItem QWebHistory.items()''' 0699 return [QWebHistoryItem()] 0700 def clear(self): 0701 '''void QWebHistory.clear()''' 0702 0703 0704 class QWebHistoryInterface(QObject): 0705 """""" 0706 def __init__(self, parent = None): 0707 '''void QWebHistoryInterface.__init__(QObject parent = None)''' 0708 def addHistoryEntry(self, url): 0709 '''abstract void QWebHistoryInterface.addHistoryEntry(QString url)''' 0710 def historyContains(self, url): 0711 '''abstract bool QWebHistoryInterface.historyContains(QString url)''' 0712 return bool() 0713 def defaultInterface(self): 0714 '''static QWebHistoryInterface QWebHistoryInterface.defaultInterface()''' 0715 return QWebHistoryInterface() 0716 def setDefaultInterface(self, defaultInterface): 0717 '''static void QWebHistoryInterface.setDefaultInterface(QWebHistoryInterface defaultInterface)''' 0718 0719 0720 class QWebInspector(QWidget): 0721 """""" 0722 def __init__(self, parent = None): 0723 '''void QWebInspector.__init__(QWidget parent = None)''' 0724 def closeEvent(self, event): 0725 '''void QWebInspector.closeEvent(QCloseEvent event)''' 0726 def hideEvent(self, event): 0727 '''void QWebInspector.hideEvent(QHideEvent event)''' 0728 def showEvent(self, event): 0729 '''void QWebInspector.showEvent(QShowEvent event)''' 0730 def resizeEvent(self, event): 0731 '''void QWebInspector.resizeEvent(QResizeEvent event)''' 0732 def event(self): 0733 '''QEvent QWebInspector.event()''' 0734 return QEvent() 0735 def sizeHint(self): 0736 '''QSize QWebInspector.sizeHint()''' 0737 return QSize() 0738 def page(self): 0739 '''QWebPage QWebInspector.page()''' 0740 return QWebPage() 0741 def setPage(self, page): 0742 '''void QWebInspector.setPage(QWebPage page)''' 0743 0744 0745 class QWebPage(QObject): 0746 """""" 0747 # Enum QWebPage.Feature 0748 Notifications = 0 0749 Geolocation = 0 0750 0751 # Enum QWebPage.PermissionPolicy 0752 PermissionUnknown = 0 0753 PermissionGrantedByUser = 0 0754 PermissionDeniedByUser = 0 0755 0756 # Enum QWebPage.ErrorDomain 0757 QtNetwork = 0 0758 Http = 0 0759 WebKit = 0 0760 0761 # Enum QWebPage.Extension 0762 ChooseMultipleFilesExtension = 0 0763 ErrorPageExtension = 0 0764 0765 # Enum QWebPage.WebWindowType 0766 WebBrowserWindow = 0 0767 WebModalDialog = 0 0768 0769 # Enum QWebPage.LinkDelegationPolicy 0770 DontDelegateLinks = 0 0771 DelegateExternalLinks = 0 0772 DelegateAllLinks = 0 0773 0774 # Enum QWebPage.FindFlag 0775 FindBackward = 0 0776 FindCaseSensitively = 0 0777 FindWrapsAroundDocument = 0 0778 HighlightAllOccurrences = 0 0779 0780 # Enum QWebPage.WebAction 0781 NoWebAction = 0 0782 OpenLink = 0 0783 OpenLinkInNewWindow = 0 0784 OpenFrameInNewWindow = 0 0785 DownloadLinkToDisk = 0 0786 CopyLinkToClipboard = 0 0787 OpenImageInNewWindow = 0 0788 DownloadImageToDisk = 0 0789 CopyImageToClipboard = 0 0790 Back = 0 0791 Forward = 0 0792 Stop = 0 0793 Reload = 0 0794 Cut = 0 0795 Copy = 0 0796 Paste = 0 0797 Undo = 0 0798 Redo = 0 0799 MoveToNextChar = 0 0800 MoveToPreviousChar = 0 0801 MoveToNextWord = 0 0802 MoveToPreviousWord = 0 0803 MoveToNextLine = 0 0804 MoveToPreviousLine = 0 0805 MoveToStartOfLine = 0 0806 MoveToEndOfLine = 0 0807 MoveToStartOfBlock = 0 0808 MoveToEndOfBlock = 0 0809 MoveToStartOfDocument = 0 0810 MoveToEndOfDocument = 0 0811 SelectNextChar = 0 0812 SelectPreviousChar = 0 0813 SelectNextWord = 0 0814 SelectPreviousWord = 0 0815 SelectNextLine = 0 0816 SelectPreviousLine = 0 0817 SelectStartOfLine = 0 0818 SelectEndOfLine = 0 0819 SelectStartOfBlock = 0 0820 SelectEndOfBlock = 0 0821 SelectStartOfDocument = 0 0822 SelectEndOfDocument = 0 0823 DeleteStartOfWord = 0 0824 DeleteEndOfWord = 0 0825 SetTextDirectionDefault = 0 0826 SetTextDirectionLeftToRight = 0 0827 SetTextDirectionRightToLeft = 0 0828 ToggleBold = 0 0829 ToggleItalic = 0 0830 ToggleUnderline = 0 0831 InspectElement = 0 0832 InsertParagraphSeparator = 0 0833 InsertLineSeparator = 0 0834 SelectAll = 0 0835 ReloadAndBypassCache = 0 0836 PasteAndMatchStyle = 0 0837 RemoveFormat = 0 0838 ToggleStrikethrough = 0 0839 ToggleSubscript = 0 0840 ToggleSuperscript = 0 0841 InsertUnorderedList = 0 0842 InsertOrderedList = 0 0843 Indent = 0 0844 Outdent = 0 0845 AlignCenter = 0 0846 AlignJustified = 0 0847 AlignLeft = 0 0848 AlignRight = 0 0849 StopScheduledPageRefresh = 0 0850 CopyImageUrlToClipboard = 0 0851 0852 # Enum QWebPage.NavigationType 0853 NavigationTypeLinkClicked = 0 0854 NavigationTypeFormSubmitted = 0 0855 NavigationTypeBackOrForward = 0 0856 NavigationTypeReload = 0 0857 NavigationTypeFormResubmitted = 0 0858 NavigationTypeOther = 0 0859 0860 def __init__(self, parent = None): 0861 '''void QWebPage.__init__(QObject parent = None)''' 0862 featurePermissionRequestCanceled = pyqtSignal() # void featurePermissionRequestCanceled(QWebFrame *,QWebPage::Feature) - signal 0863 featurePermissionRequested = pyqtSignal() # void featurePermissionRequested(QWebFrame *,QWebPage::Feature) - signal 0864 viewportChangeRequested = pyqtSignal() # void viewportChangeRequested() - signal 0865 applicationCacheQuotaExceeded = pyqtSignal() # void applicationCacheQuotaExceeded(QWebSecurityOrigin *,quint64) - signal 0866 def supportsContentType(self, mimeType): 0867 '''bool QWebPage.supportsContentType(QString mimeType)''' 0868 return bool() 0869 def supportedContentTypes(self): 0870 '''QStringList QWebPage.supportedContentTypes()''' 0871 return QStringList() 0872 def setFeaturePermission(self, frame, feature, policy): 0873 '''void QWebPage.setFeaturePermission(QWebFrame frame, QWebPage.Feature feature, QWebPage.PermissionPolicy policy)''' 0874 def setActualVisibleContentRect(self, rect): 0875 '''void QWebPage.setActualVisibleContentRect(QRect rect)''' 0876 def viewportAttributesForSize(self, availableSize): 0877 '''QWebPage.ViewportAttributes QWebPage.viewportAttributesForSize(QSize availableSize)''' 0878 return QWebPage.ViewportAttributes() 0879 def selectedHtml(self): 0880 '''QString QWebPage.selectedHtml()''' 0881 return QString() 0882 def hasSelection(self): 0883 '''bool QWebPage.hasSelection()''' 0884 return bool() 0885 def shouldInterruptJavaScript(self): 0886 '''bool QWebPage.shouldInterruptJavaScript()''' 0887 return bool() 0888 def setPreferredContentsSize(self, size): 0889 '''void QWebPage.setPreferredContentsSize(QSize size)''' 0890 def preferredContentsSize(self): 0891 '''QSize QWebPage.preferredContentsSize()''' 0892 return QSize() 0893 def frameAt(self, pos): 0894 '''QWebFrame QWebPage.frameAt(QPoint pos)''' 0895 return QWebFrame() 0896 restoreFrameStateRequested = pyqtSignal() # void restoreFrameStateRequested(QWebFrame *) - signal 0897 saveFrameStateRequested = pyqtSignal() # void saveFrameStateRequested(QWebFrame *,QWebHistoryItem *) - signal 0898 databaseQuotaExceeded = pyqtSignal() # void databaseQuotaExceeded(QWebFrame *,QString) - signal 0899 contentsChanged = pyqtSignal() # void contentsChanged() - signal 0900 def createStandardContextMenu(self): 0901 '''QMenu QWebPage.createStandardContextMenu()''' 0902 return QMenu() 0903 def isContentEditable(self): 0904 '''bool QWebPage.isContentEditable()''' 0905 return bool() 0906 def setContentEditable(self, editable): 0907 '''void QWebPage.setContentEditable(bool editable)''' 0908 def userAgentForUrl(self, url): 0909 '''QString QWebPage.userAgentForUrl(QUrl url)''' 0910 return QString() 0911 def javaScriptConsoleMessage(self, message, lineNumber, sourceID): 0912 '''void QWebPage.javaScriptConsoleMessage(QString message, int lineNumber, QString sourceID)''' 0913 def javaScriptPrompt(self, originatingFrame, msg, defaultValue, result): 0914 '''bool QWebPage.javaScriptPrompt(QWebFrame originatingFrame, QString msg, QString defaultValue, QString result)''' 0915 return bool() 0916 def javaScriptPrompt(self, originatingFrame, msg, defaultValue, result): 0917 '''bool QWebPage.javaScriptPrompt(QWebFrame originatingFrame, QString msg, QString defaultValue, QString result)''' 0918 return bool() 0919 def javaScriptConfirm(self, originatingFrame, msg): 0920 '''bool QWebPage.javaScriptConfirm(QWebFrame originatingFrame, QString msg)''' 0921 return bool() 0922 def javaScriptAlert(self, originatingFrame, msg): 0923 '''void QWebPage.javaScriptAlert(QWebFrame originatingFrame, QString msg)''' 0924 def chooseFile(self, originatingFrame, oldFile): 0925 '''QString QWebPage.chooseFile(QWebFrame originatingFrame, QString oldFile)''' 0926 return QString() 0927 def acceptNavigationRequest(self, frame, request, type): 0928 '''bool QWebPage.acceptNavigationRequest(QWebFrame frame, QNetworkRequest request, QWebPage.NavigationType type)''' 0929 return bool() 0930 def createPlugin(self, classid, url, paramNames, paramValues): 0931 '''QObject QWebPage.createPlugin(QString classid, QUrl url, QStringList paramNames, QStringList paramValues)''' 0932 return QObject() 0933 def createWindow(self, type): 0934 '''QWebPage QWebPage.createWindow(QWebPage.WebWindowType type)''' 0935 return QWebPage() 0936 microFocusChanged = pyqtSignal() # void microFocusChanged() - signal 0937 downloadRequested = pyqtSignal() # void downloadRequested(const QNetworkRequestamp;) - signal 0938 unsupportedContent = pyqtSignal() # void unsupportedContent(QNetworkReply *) - signal 0939 menuBarVisibilityChangeRequested = pyqtSignal() # void menuBarVisibilityChangeRequested(bool) - signal 0940 statusBarVisibilityChangeRequested = pyqtSignal() # void statusBarVisibilityChangeRequested(bool) - signal 0941 toolBarVisibilityChangeRequested = pyqtSignal() # void toolBarVisibilityChangeRequested(bool) - signal 0942 linkClicked = pyqtSignal() # void linkClicked(const QUrlamp;) - signal 0943 printRequested = pyqtSignal() # void printRequested(QWebFrame *) - signal 0944 windowCloseRequested = pyqtSignal() # void windowCloseRequested() - signal 0945 scrollRequested = pyqtSignal() # void scrollRequested(int,int,const QRectamp;) - signal 0946 repaintRequested = pyqtSignal() # void repaintRequested(const QRectamp;) - signal 0947 geometryChangeRequested = pyqtSignal() # void geometryChangeRequested(const QRectamp;) - signal 0948 frameCreated = pyqtSignal() # void frameCreated(QWebFrame *) - signal 0949 selectionChanged = pyqtSignal() # void selectionChanged() - signal 0950 statusBarMessage = pyqtSignal() # void statusBarMessage(const QStringamp;) - signal 0951 linkHovered = pyqtSignal() # void linkHovered(const QStringamp;,const QStringamp;,const QStringamp;) - signal 0952 loadStarted = pyqtSignal() # void loadStarted() - signal 0953 loadProgress = pyqtSignal() # void loadProgress(int) - signal 0954 loadFinished = pyqtSignal() # void loadFinished(bool) - signal 0955 def supportsExtension(self, extension): 0956 '''bool QWebPage.supportsExtension(QWebPage.Extension extension)''' 0957 return bool() 0958 def extension(self, extension, option = None, output = None): 0959 '''bool QWebPage.extension(QWebPage.Extension extension, QWebPage.ExtensionOption option = None, QWebPage.ExtensionReturn output = None)''' 0960 return bool() 0961 def updatePositionDependentActions(self, pos): 0962 '''void QWebPage.updatePositionDependentActions(QPoint pos)''' 0963 def swallowContextMenuEvent(self, event): 0964 '''bool QWebPage.swallowContextMenuEvent(QContextMenuEvent event)''' 0965 return bool() 0966 def palette(self): 0967 '''QPalette QWebPage.palette()''' 0968 return QPalette() 0969 def setPalette(self, palette): 0970 '''void QWebPage.setPalette(QPalette palette)''' 0971 def linkDelegationPolicy(self): 0972 '''QWebPage.LinkDelegationPolicy QWebPage.linkDelegationPolicy()''' 0973 return QWebPage.LinkDelegationPolicy() 0974 def setLinkDelegationPolicy(self, policy): 0975 '''void QWebPage.setLinkDelegationPolicy(QWebPage.LinkDelegationPolicy policy)''' 0976 def forwardUnsupportedContent(self): 0977 '''bool QWebPage.forwardUnsupportedContent()''' 0978 return bool() 0979 def setForwardUnsupportedContent(self, forward): 0980 '''void QWebPage.setForwardUnsupportedContent(bool forward)''' 0981 def findText(self, subString, options = 0): 0982 '''bool QWebPage.findText(QString subString, QWebPage.FindFlags options = 0)''' 0983 return bool() 0984 def inputMethodQuery(self, property): 0985 '''QVariant QWebPage.inputMethodQuery(Qt.InputMethodQuery property)''' 0986 return QVariant() 0987 def focusNextPrevChild(self, next): 0988 '''bool QWebPage.focusNextPrevChild(bool next)''' 0989 return bool() 0990 def event(self): 0991 '''QEvent QWebPage.event()''' 0992 return QEvent() 0993 def setViewportSize(self, size): 0994 '''void QWebPage.setViewportSize(QSize size)''' 0995 def viewportSize(self): 0996 '''QSize QWebPage.viewportSize()''' 0997 return QSize() 0998 def triggerAction(self, action, checked = False): 0999 '''void QWebPage.triggerAction(QWebPage.WebAction action, bool checked = False)''' 1000 def action(self, action): 1001 '''QAction QWebPage.action(QWebPage.WebAction action)''' 1002 return QAction() 1003 def selectedText(self): 1004 '''QString QWebPage.selectedText()''' 1005 return QString() 1006 def bytesReceived(self): 1007 '''int QWebPage.bytesReceived()''' 1008 return int() 1009 def totalBytes(self): 1010 '''int QWebPage.totalBytes()''' 1011 return int() 1012 def pluginFactory(self): 1013 '''QWebPluginFactory QWebPage.pluginFactory()''' 1014 return QWebPluginFactory() 1015 def setPluginFactory(self, factory): 1016 '''void QWebPage.setPluginFactory(QWebPluginFactory factory)''' 1017 def networkAccessManager(self): 1018 '''QNetworkAccessManager QWebPage.networkAccessManager()''' 1019 return QNetworkAccessManager() 1020 def setNetworkAccessManager(self, manager): 1021 '''void QWebPage.setNetworkAccessManager(QNetworkAccessManager manager)''' 1022 def undoStack(self): 1023 '''QUndoStack QWebPage.undoStack()''' 1024 return QUndoStack() 1025 def isModified(self): 1026 '''bool QWebPage.isModified()''' 1027 return bool() 1028 def view(self): 1029 '''QWidget QWebPage.view()''' 1030 return QWidget() 1031 def setView(self, view): 1032 '''void QWebPage.setView(QWidget view)''' 1033 def settings(self): 1034 '''QWebSettings QWebPage.settings()''' 1035 return QWebSettings() 1036 def history(self): 1037 '''QWebHistory QWebPage.history()''' 1038 return QWebHistory() 1039 def currentFrame(self): 1040 '''QWebFrame QWebPage.currentFrame()''' 1041 return QWebFrame() 1042 def mainFrame(self): 1043 '''QWebFrame QWebPage.mainFrame()''' 1044 return QWebFrame() 1045 class ViewportAttributes(): 1046 """""" 1047 def __init__(self): 1048 '''void QWebPage.ViewportAttributes.__init__()''' 1049 def __init__(self, other): 1050 '''void QWebPage.ViewportAttributes.__init__(QWebPage.ViewportAttributes other)''' 1051 def size(self): 1052 '''QSize QWebPage.ViewportAttributes.size()''' 1053 return QSize() 1054 def isValid(self): 1055 '''bool QWebPage.ViewportAttributes.isValid()''' 1056 return bool() 1057 def isUserScalable(self): 1058 '''bool QWebPage.ViewportAttributes.isUserScalable()''' 1059 return bool() 1060 def devicePixelRatio(self): 1061 '''float QWebPage.ViewportAttributes.devicePixelRatio()''' 1062 return float() 1063 def maximumScaleFactor(self): 1064 '''float QWebPage.ViewportAttributes.maximumScaleFactor()''' 1065 return float() 1066 def minimumScaleFactor(self): 1067 '''float QWebPage.ViewportAttributes.minimumScaleFactor()''' 1068 return float() 1069 def initialScaleFactor(self): 1070 '''float QWebPage.ViewportAttributes.initialScaleFactor()''' 1071 return float() 1072 class ChooseMultipleFilesExtensionOption(QWebPage.ExtensionOption): 1073 """""" 1074 parentFrame = None # QWebFrame - member 1075 suggestedFileNames = None # QStringList - member 1076 def __init__(self): 1077 '''void QWebPage.ChooseMultipleFilesExtensionOption.__init__()''' 1078 def __init__(self): 1079 '''QWebPage.ChooseMultipleFilesExtensionOption QWebPage.ChooseMultipleFilesExtensionOption.__init__()''' 1080 return QWebPage.ChooseMultipleFilesExtensionOption() 1081 class FindFlags(): 1082 """""" 1083 def __init__(self): 1084 '''QWebPage.FindFlags QWebPage.FindFlags.__init__()''' 1085 return QWebPage.FindFlags() 1086 def __init__(self): 1087 '''int QWebPage.FindFlags.__init__()''' 1088 return int() 1089 def __init__(self): 1090 '''void QWebPage.FindFlags.__init__()''' 1091 def __bool__(self): 1092 '''int QWebPage.FindFlags.__bool__()''' 1093 return int() 1094 def __ne__(self, f): 1095 '''bool QWebPage.FindFlags.__ne__(QWebPage.FindFlags f)''' 1096 return bool() 1097 def __eq__(self, f): 1098 '''bool QWebPage.FindFlags.__eq__(QWebPage.FindFlags f)''' 1099 return bool() 1100 def __invert__(self): 1101 '''QWebPage.FindFlags QWebPage.FindFlags.__invert__()''' 1102 return QWebPage.FindFlags() 1103 def __and__(self, mask): 1104 '''QWebPage.FindFlags QWebPage.FindFlags.__and__(int mask)''' 1105 return QWebPage.FindFlags() 1106 def __xor__(self, f): 1107 '''QWebPage.FindFlags QWebPage.FindFlags.__xor__(QWebPage.FindFlags f)''' 1108 return QWebPage.FindFlags() 1109 def __xor__(self, f): 1110 '''QWebPage.FindFlags QWebPage.FindFlags.__xor__(int f)''' 1111 return QWebPage.FindFlags() 1112 def __or__(self, f): 1113 '''QWebPage.FindFlags QWebPage.FindFlags.__or__(QWebPage.FindFlags f)''' 1114 return QWebPage.FindFlags() 1115 def __or__(self, f): 1116 '''QWebPage.FindFlags QWebPage.FindFlags.__or__(int f)''' 1117 return QWebPage.FindFlags() 1118 def __int__(self): 1119 '''int QWebPage.FindFlags.__int__()''' 1120 return int() 1121 def __ixor__(self, f): 1122 '''QWebPage.FindFlags QWebPage.FindFlags.__ixor__(QWebPage.FindFlags f)''' 1123 return QWebPage.FindFlags() 1124 def __ior__(self, f): 1125 '''QWebPage.FindFlags QWebPage.FindFlags.__ior__(QWebPage.FindFlags f)''' 1126 return QWebPage.FindFlags() 1127 def __iand__(self, mask): 1128 '''QWebPage.FindFlags QWebPage.FindFlags.__iand__(int mask)''' 1129 return QWebPage.FindFlags() 1130 class ErrorPageExtensionOption(QWebPage.ExtensionOption): 1131 """""" 1132 domain = None # QWebPage.ErrorDomain - member 1133 error = None # int - member 1134 errorString = None # QString - member 1135 frame = None # QWebFrame - member 1136 url = None # QUrl - member 1137 def __init__(self): 1138 '''void QWebPage.ErrorPageExtensionOption.__init__()''' 1139 def __init__(self): 1140 '''QWebPage.ErrorPageExtensionOption QWebPage.ErrorPageExtensionOption.__init__()''' 1141 return QWebPage.ErrorPageExtensionOption() 1142 class ErrorPageExtensionReturn(QWebPage.ExtensionReturn): 1143 """""" 1144 baseUrl = None # QUrl - member 1145 content = None # QByteArray - member 1146 contentType = None # QString - member 1147 encoding = None # QString - member 1148 def __init__(self): 1149 '''void QWebPage.ErrorPageExtensionReturn.__init__()''' 1150 def __init__(self): 1151 '''QWebPage.ErrorPageExtensionReturn QWebPage.ErrorPageExtensionReturn.__init__()''' 1152 return QWebPage.ErrorPageExtensionReturn() 1153 class ExtensionOption(): 1154 """""" 1155 def __init__(self): 1156 '''void QWebPage.ExtensionOption.__init__()''' 1157 def __init__(self): 1158 '''QWebPage.ExtensionOption QWebPage.ExtensionOption.__init__()''' 1159 return QWebPage.ExtensionOption() 1160 class ExtensionReturn(): 1161 """""" 1162 def __init__(self): 1163 '''void QWebPage.ExtensionReturn.__init__()''' 1164 def __init__(self): 1165 '''QWebPage.ExtensionReturn QWebPage.ExtensionReturn.__init__()''' 1166 return QWebPage.ExtensionReturn() 1167 class ChooseMultipleFilesExtensionReturn(QWebPage.ExtensionReturn): 1168 """""" 1169 fileNames = None # QStringList - member 1170 def __init__(self): 1171 '''void QWebPage.ChooseMultipleFilesExtensionReturn.__init__()''' 1172 def __init__(self): 1173 '''QWebPage.ChooseMultipleFilesExtensionReturn QWebPage.ChooseMultipleFilesExtensionReturn.__init__()''' 1174 return QWebPage.ChooseMultipleFilesExtensionReturn() 1175 1176 1177 class QWebPluginFactory(QObject): 1178 """""" 1179 # Enum QWebPluginFactory.Extension 1180 1181 def __init__(self, parent = None): 1182 '''void QWebPluginFactory.__init__(QObject parent = None)''' 1183 def supportsExtension(self, extension): 1184 '''bool QWebPluginFactory.supportsExtension(QWebPluginFactory.Extension extension)''' 1185 return bool() 1186 def extension(self, extension, option = None, output = None): 1187 '''bool QWebPluginFactory.extension(QWebPluginFactory.Extension extension, QWebPluginFactory.ExtensionOption option = None, QWebPluginFactory.ExtensionReturn output = None)''' 1188 return bool() 1189 def create(self, mimeType, url, argumentNames, argumentValues): 1190 '''abstract QObject QWebPluginFactory.create(QString mimeType, QUrl url, QStringList argumentNames, QStringList argumentValues)''' 1191 return QObject() 1192 def refreshPlugins(self): 1193 '''void QWebPluginFactory.refreshPlugins()''' 1194 def plugins(self): 1195 '''abstract list-of-QWebPluginFactory.Plugin QWebPluginFactory.plugins()''' 1196 return [QWebPluginFactory.Plugin()] 1197 class ExtensionOption(): 1198 """""" 1199 def __init__(self): 1200 '''void QWebPluginFactory.ExtensionOption.__init__()''' 1201 def __init__(self): 1202 '''QWebPluginFactory.ExtensionOption QWebPluginFactory.ExtensionOption.__init__()''' 1203 return QWebPluginFactory.ExtensionOption() 1204 class ExtensionReturn(): 1205 """""" 1206 def __init__(self): 1207 '''void QWebPluginFactory.ExtensionReturn.__init__()''' 1208 def __init__(self): 1209 '''QWebPluginFactory.ExtensionReturn QWebPluginFactory.ExtensionReturn.__init__()''' 1210 return QWebPluginFactory.ExtensionReturn() 1211 class Plugin(): 1212 """""" 1213 description = None # QString - member 1214 mimeTypes = None # list-of-QWebPluginFactory.MimeType - member 1215 name = None # QString - member 1216 def __init__(self): 1217 '''void QWebPluginFactory.Plugin.__init__()''' 1218 def __init__(self): 1219 '''QWebPluginFactory.Plugin QWebPluginFactory.Plugin.__init__()''' 1220 return QWebPluginFactory.Plugin() 1221 class MimeType(): 1222 """""" 1223 description = None # QString - member 1224 fileExtensions = None # QStringList - member 1225 name = None # QString - member 1226 def __init__(self): 1227 '''void QWebPluginFactory.MimeType.__init__()''' 1228 def __init__(self): 1229 '''QWebPluginFactory.MimeType QWebPluginFactory.MimeType.__init__()''' 1230 return QWebPluginFactory.MimeType() 1231 def __ne__(self, other): 1232 '''bool QWebPluginFactory.MimeType.__ne__(QWebPluginFactory.MimeType other)''' 1233 return bool() 1234 def __eq__(self, other): 1235 '''bool QWebPluginFactory.MimeType.__eq__(QWebPluginFactory.MimeType other)''' 1236 return bool() 1237 1238 1239 class QWebSecurityOrigin(): 1240 """""" 1241 def __init__(self, other): 1242 '''void QWebSecurityOrigin.__init__(QWebSecurityOrigin other)''' 1243 def setApplicationCacheQuota(self, quota): 1244 '''void QWebSecurityOrigin.setApplicationCacheQuota(int quota)''' 1245 def localSchemes(self): 1246 '''static QStringList QWebSecurityOrigin.localSchemes()''' 1247 return QStringList() 1248 def removeLocalScheme(self, scheme): 1249 '''static void QWebSecurityOrigin.removeLocalScheme(QString scheme)''' 1250 def addLocalScheme(self, scheme): 1251 '''static void QWebSecurityOrigin.addLocalScheme(QString scheme)''' 1252 def databases(self): 1253 '''list-of-QWebDatabase QWebSecurityOrigin.databases()''' 1254 return [QWebDatabase()] 1255 def setDatabaseQuota(self, quota): 1256 '''void QWebSecurityOrigin.setDatabaseQuota(int quota)''' 1257 def databaseQuota(self): 1258 '''int QWebSecurityOrigin.databaseQuota()''' 1259 return int() 1260 def databaseUsage(self): 1261 '''int QWebSecurityOrigin.databaseUsage()''' 1262 return int() 1263 def port(self): 1264 '''int QWebSecurityOrigin.port()''' 1265 return int() 1266 def host(self): 1267 '''QString QWebSecurityOrigin.host()''' 1268 return QString() 1269 def scheme(self): 1270 '''QString QWebSecurityOrigin.scheme()''' 1271 return QString() 1272 def allOrigins(self): 1273 '''static list-of-QWebSecurityOrigin QWebSecurityOrigin.allOrigins()''' 1274 return [QWebSecurityOrigin()] 1275 1276 1277 class QWebSettings(): 1278 """""" 1279 # Enum QWebSettings.FontSize 1280 MinimumFontSize = 0 1281 MinimumLogicalFontSize = 0 1282 DefaultFontSize = 0 1283 DefaultFixedFontSize = 0 1284 1285 # Enum QWebSettings.WebGraphic 1286 MissingImageGraphic = 0 1287 MissingPluginGraphic = 0 1288 DefaultFrameIconGraphic = 0 1289 TextAreaSizeGripCornerGraphic = 0 1290 InputSpeechButtonGraphic = 0 1291 SearchCancelButtonGraphic = 0 1292 SearchCancelButtonPressedGraphic = 0 1293 1294 # Enum QWebSettings.WebAttribute 1295 AutoLoadImages = 0 1296 JavascriptEnabled = 0 1297 JavaEnabled = 0 1298 PluginsEnabled = 0 1299 PrivateBrowsingEnabled = 0 1300 JavascriptCanOpenWindows = 0 1301 JavascriptCanCloseWindows = 0 1302 JavascriptCanAccessClipboard = 0 1303 DeveloperExtrasEnabled = 0 1304 LinksIncludedInFocusChain = 0 1305 ZoomTextOnly = 0 1306 PrintElementBackgrounds = 0 1307 OfflineStorageDatabaseEnabled = 0 1308 OfflineWebApplicationCacheEnabled = 0 1309 LocalStorageDatabaseEnabled = 0 1310 LocalStorageEnabled = 0 1311 LocalContentCanAccessRemoteUrls = 0 1312 DnsPrefetchEnabled = 0 1313 XSSAuditingEnabled = 0 1314 AcceleratedCompositingEnabled = 0 1315 SpatialNavigationEnabled = 0 1316 LocalContentCanAccessFileUrls = 0 1317 TiledBackingStoreEnabled = 0 1318 FrameFlatteningEnabled = 0 1319 SiteSpecificQuirksEnabled = 0 1320 WebGLEnabled = 0 1321 HyperlinkAuditingEnabled = 0 1322 1323 # Enum QWebSettings.FontFamily 1324 StandardFont = 0 1325 FixedFont = 0 1326 SerifFont = 0 1327 SansSerifFont = 0 1328 CursiveFont = 0 1329 FantasyFont = 0 1330 1331 def enablePersistentStorage(self, path = QString()): 1332 '''static void QWebSettings.enablePersistentStorage(QString path = QString())''' 1333 def clearMemoryCaches(self): 1334 '''static void QWebSettings.clearMemoryCaches()''' 1335 def localStoragePath(self): 1336 '''QString QWebSettings.localStoragePath()''' 1337 return QString() 1338 def setLocalStoragePath(self, path): 1339 '''void QWebSettings.setLocalStoragePath(QString path)''' 1340 def offlineWebApplicationCacheQuota(self): 1341 '''static int QWebSettings.offlineWebApplicationCacheQuota()''' 1342 return int() 1343 def setOfflineWebApplicationCacheQuota(self, maximumSize): 1344 '''static void QWebSettings.setOfflineWebApplicationCacheQuota(int maximumSize)''' 1345 def offlineWebApplicationCachePath(self): 1346 '''static QString QWebSettings.offlineWebApplicationCachePath()''' 1347 return QString() 1348 def setOfflineWebApplicationCachePath(self, path): 1349 '''static void QWebSettings.setOfflineWebApplicationCachePath(QString path)''' 1350 def defaultTextEncoding(self): 1351 '''QString QWebSettings.defaultTextEncoding()''' 1352 return QString() 1353 def setDefaultTextEncoding(self, encoding): 1354 '''void QWebSettings.setDefaultTextEncoding(QString encoding)''' 1355 def offlineStorageDefaultQuota(self): 1356 '''static int QWebSettings.offlineStorageDefaultQuota()''' 1357 return int() 1358 def setOfflineStorageDefaultQuota(self, maximumSize): 1359 '''static void QWebSettings.setOfflineStorageDefaultQuota(int maximumSize)''' 1360 def offlineStoragePath(self): 1361 '''static QString QWebSettings.offlineStoragePath()''' 1362 return QString() 1363 def setOfflineStoragePath(self, path): 1364 '''static void QWebSettings.setOfflineStoragePath(QString path)''' 1365 def setObjectCacheCapacities(self, cacheMinDeadCapacity, cacheMaxDead, totalCapacity): 1366 '''static void QWebSettings.setObjectCacheCapacities(int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity)''' 1367 def maximumPagesInCache(self): 1368 '''static int QWebSettings.maximumPagesInCache()''' 1369 return int() 1370 def setMaximumPagesInCache(self, pages): 1371 '''static void QWebSettings.setMaximumPagesInCache(int pages)''' 1372 def webGraphic(self, type): 1373 '''static QPixmap QWebSettings.webGraphic(QWebSettings.WebGraphic type)''' 1374 return QPixmap() 1375 def setWebGraphic(self, type, graphic): 1376 '''static void QWebSettings.setWebGraphic(QWebSettings.WebGraphic type, QPixmap graphic)''' 1377 def iconForUrl(self, url): 1378 '''static QIcon QWebSettings.iconForUrl(QUrl url)''' 1379 return QIcon() 1380 def clearIconDatabase(self): 1381 '''static void QWebSettings.clearIconDatabase()''' 1382 def iconDatabasePath(self): 1383 '''static QString QWebSettings.iconDatabasePath()''' 1384 return QString() 1385 def setIconDatabasePath(self, location): 1386 '''static void QWebSettings.setIconDatabasePath(QString location)''' 1387 def userStyleSheetUrl(self): 1388 '''QUrl QWebSettings.userStyleSheetUrl()''' 1389 return QUrl() 1390 def setUserStyleSheetUrl(self, location): 1391 '''void QWebSettings.setUserStyleSheetUrl(QUrl location)''' 1392 def resetAttribute(self, attr): 1393 '''void QWebSettings.resetAttribute(QWebSettings.WebAttribute attr)''' 1394 def testAttribute(self, attr): 1395 '''bool QWebSettings.testAttribute(QWebSettings.WebAttribute attr)''' 1396 return bool() 1397 def setAttribute(self, attr, on): 1398 '''void QWebSettings.setAttribute(QWebSettings.WebAttribute attr, bool on)''' 1399 def resetFontSize(self, type): 1400 '''void QWebSettings.resetFontSize(QWebSettings.FontSize type)''' 1401 def fontSize(self, type): 1402 '''int QWebSettings.fontSize(QWebSettings.FontSize type)''' 1403 return int() 1404 def setFontSize(self, type, size): 1405 '''void QWebSettings.setFontSize(QWebSettings.FontSize type, int size)''' 1406 def resetFontFamily(self, which): 1407 '''void QWebSettings.resetFontFamily(QWebSettings.FontFamily which)''' 1408 def fontFamily(self, which): 1409 '''QString QWebSettings.fontFamily(QWebSettings.FontFamily which)''' 1410 return QString() 1411 def setFontFamily(self, which, family): 1412 '''void QWebSettings.setFontFamily(QWebSettings.FontFamily which, QString family)''' 1413 def globalSettings(self): 1414 '''static QWebSettings QWebSettings.globalSettings()''' 1415 return QWebSettings() 1416 1417 1418 class QWebView(QWidget): 1419 """""" 1420 def __init__(self, parent = None): 1421 '''void QWebView.__init__(QWidget parent = None)''' 1422 def selectedHtml(self): 1423 '''QString QWebView.selectedHtml()''' 1424 return QString() 1425 def hasSelection(self): 1426 '''bool QWebView.hasSelection()''' 1427 return bool() 1428 def setRenderHint(self, hint, enabled = True): 1429 '''void QWebView.setRenderHint(QPainter.RenderHint hint, bool enabled = True)''' 1430 def setRenderHints(self, hints): 1431 '''void QWebView.setRenderHints(QPainter.RenderHints hints)''' 1432 def renderHints(self): 1433 '''QPainter.RenderHints QWebView.renderHints()''' 1434 return QPainter.RenderHints() 1435 def setZoomFactor(self, factor): 1436 '''void QWebView.setZoomFactor(float factor)''' 1437 def zoomFactor(self): 1438 '''float QWebView.zoomFactor()''' 1439 return float() 1440 def focusNextPrevChild(self, next): 1441 '''bool QWebView.focusNextPrevChild(bool next)''' 1442 return bool() 1443 def inputMethodEvent(self): 1444 '''QInputMethodEvent QWebView.inputMethodEvent()''' 1445 return QInputMethodEvent() 1446 def focusOutEvent(self): 1447 '''QFocusEvent QWebView.focusOutEvent()''' 1448 return QFocusEvent() 1449 def focusInEvent(self): 1450 '''QFocusEvent QWebView.focusInEvent()''' 1451 return QFocusEvent() 1452 def dropEvent(self): 1453 '''QDropEvent QWebView.dropEvent()''' 1454 return QDropEvent() 1455 def dragMoveEvent(self): 1456 '''QDragMoveEvent QWebView.dragMoveEvent()''' 1457 return QDragMoveEvent() 1458 def dragLeaveEvent(self): 1459 '''QDragLeaveEvent QWebView.dragLeaveEvent()''' 1460 return QDragLeaveEvent() 1461 def dragEnterEvent(self): 1462 '''QDragEnterEvent QWebView.dragEnterEvent()''' 1463 return QDragEnterEvent() 1464 def keyReleaseEvent(self): 1465 '''QKeyEvent QWebView.keyReleaseEvent()''' 1466 return QKeyEvent() 1467 def keyPressEvent(self): 1468 '''QKeyEvent QWebView.keyPressEvent()''' 1469 return QKeyEvent() 1470 def wheelEvent(self): 1471 '''QWheelEvent QWebView.wheelEvent()''' 1472 return QWheelEvent() 1473 def contextMenuEvent(self): 1474 '''QContextMenuEvent QWebView.contextMenuEvent()''' 1475 return QContextMenuEvent() 1476 def mouseReleaseEvent(self): 1477 '''QMouseEvent QWebView.mouseReleaseEvent()''' 1478 return QMouseEvent() 1479 def mouseDoubleClickEvent(self): 1480 '''QMouseEvent QWebView.mouseDoubleClickEvent()''' 1481 return QMouseEvent() 1482 def mousePressEvent(self): 1483 '''QMouseEvent QWebView.mousePressEvent()''' 1484 return QMouseEvent() 1485 def mouseMoveEvent(self): 1486 '''QMouseEvent QWebView.mouseMoveEvent()''' 1487 return QMouseEvent() 1488 def changeEvent(self): 1489 '''QEvent QWebView.changeEvent()''' 1490 return QEvent() 1491 def paintEvent(self, ev): 1492 '''void QWebView.paintEvent(QPaintEvent ev)''' 1493 def resizeEvent(self, e): 1494 '''void QWebView.resizeEvent(QResizeEvent e)''' 1495 def createWindow(self, type): 1496 '''QWebView QWebView.createWindow(QWebPage.WebWindowType type)''' 1497 return QWebView() 1498 urlChanged = pyqtSignal() # void urlChanged(const QUrlamp;) - signal 1499 iconChanged = pyqtSignal() # void iconChanged() - signal 1500 selectionChanged = pyqtSignal() # void selectionChanged() - signal 1501 linkClicked = pyqtSignal() # void linkClicked(const QUrlamp;) - signal 1502 statusBarMessage = pyqtSignal() # void statusBarMessage(const QStringamp;) - signal 1503 titleChanged = pyqtSignal() # void titleChanged(const QStringamp;) - signal 1504 loadFinished = pyqtSignal() # void loadFinished(bool) - signal 1505 loadProgress = pyqtSignal() # void loadProgress(int) - signal 1506 loadStarted = pyqtSignal() # void loadStarted() - signal 1507 def print_(self, printer): 1508 '''void QWebView.print_(QPrinter printer)''' 1509 def reload(self): 1510 '''void QWebView.reload()''' 1511 def forward(self): 1512 '''void QWebView.forward()''' 1513 def back(self): 1514 '''void QWebView.back()''' 1515 def stop(self): 1516 '''void QWebView.stop()''' 1517 def event(self): 1518 '''QEvent QWebView.event()''' 1519 return QEvent() 1520 def findText(self, subString, options = 0): 1521 '''bool QWebView.findText(QString subString, QWebPage.FindFlags options = 0)''' 1522 return bool() 1523 def textSizeMultiplier(self): 1524 '''float QWebView.textSizeMultiplier()''' 1525 return float() 1526 def setTextSizeMultiplier(self, factor): 1527 '''void QWebView.setTextSizeMultiplier(float factor)''' 1528 def sizeHint(self): 1529 '''QSize QWebView.sizeHint()''' 1530 return QSize() 1531 def inputMethodQuery(self, property): 1532 '''QVariant QWebView.inputMethodQuery(Qt.InputMethodQuery property)''' 1533 return QVariant() 1534 def isModified(self): 1535 '''bool QWebView.isModified()''' 1536 return bool() 1537 def triggerPageAction(self, action, checked = False): 1538 '''void QWebView.triggerPageAction(QWebPage.WebAction action, bool checked = False)''' 1539 def pageAction(self, action): 1540 '''QAction QWebView.pageAction(QWebPage.WebAction action)''' 1541 return QAction() 1542 def selectedText(self): 1543 '''QString QWebView.selectedText()''' 1544 return QString() 1545 def icon(self): 1546 '''QIcon QWebView.icon()''' 1547 return QIcon() 1548 def url(self): 1549 '''QUrl QWebView.url()''' 1550 return QUrl() 1551 def setUrl(self, url): 1552 '''void QWebView.setUrl(QUrl url)''' 1553 def title(self): 1554 '''QString QWebView.title()''' 1555 return QString() 1556 def settings(self): 1557 '''QWebSettings QWebView.settings()''' 1558 return QWebSettings() 1559 def history(self): 1560 '''QWebHistory QWebView.history()''' 1561 return QWebHistory() 1562 def setContent(self, data, mimeType = QString(), baseUrl = QUrl()): 1563 '''void QWebView.setContent(QByteArray data, QString mimeType = QString(), QUrl baseUrl = QUrl())''' 1564 def setHtml(self, html, baseUrl = QUrl()): 1565 '''void QWebView.setHtml(QString html, QUrl baseUrl = QUrl())''' 1566 def load(self, url): 1567 '''void QWebView.load(QUrl url)''' 1568 def load(self, request, operation = None, body = QByteArray()): 1569 '''void QWebView.load(QNetworkRequest request, QNetworkAccessManager.Operation operation = QNetworkAccessManager.GetOperation, QByteArray body = QByteArray())''' 1570 def setPage(self, page): 1571 '''void QWebView.setPage(QWebPage page)''' 1572 def page(self): 1573 '''QWebPage QWebView.page()''' 1574 return QWebPage() 1575 1576 1577 def qWebKitMinorVersion(): 1578 '''static int qWebKitMinorVersion()''' 1579 return int() 1580 1581 def qWebKitMajorVersion(): 1582 '''static int qWebKitMajorVersion()''' 1583 return int() 1584 1585 def qWebKitVersion(): 1586 '''static QString qWebKitVersion()''' 1587 return QString() 1588