TestGUI 0 0 888 1180 0 0 0 URL: 0 0 true QComboBox::InsertAtTop load 24 Abort about:blank 0 0 888 20 &Views File Help D&OM Tree 2 false Element HTML &Source 8 &Links 2 2 true true false URL Description Forms 2 true false 1 Execute &JavaScript on First Selected Item 8 Result: JavaScript Code to Execute JavaScript Code to Execute <html><head/><body><p>JavaScript code to execute on the selected element. You can use this to refere to the element.</p><p>Example, to click the element:</p><pre> var evObj = document.createEvent('MouseEvents'); evObj.initEvent( 'click', true, true ); this.dispatchEvent(evObj); </pre></body></html> var evObj = document.createEvent('MouseEvents'); evObj.initEvent( 'click', true, true ); this.dispatchEvent(evObj); 0 0 Execute select focused true select: CSS-Selector Enter CSS-Selector <html><head/><body><p>JavaScript code below will be applied to the first element found by this CSS selector.</p></body></html> 0 0 Focused 0 0 Test Selector Hilight Selection in Page Shows you the selection by hilighting it in the web page. This helps you to test before you execute. Select &Test Script 4 Record true false Run Screenshots Qt::Vertical 20 28 0 0 0 0 0 <div style="font-size: xx-large">⌛</div> 0 0 <div style="font-size: xx-large; color: green">✔</div> 0 0 <div style="font-size: xx-large; color: red">✘</div> true 24 Scri&pt Run Log 8 Set&up Script 4 false active true Qt::Horizontal 40 20 Status: ? Script &Commands 4 true true true DOM Tree true true Links true true Forms true true HTML Souce true true Execute JavaScript true true Test Script &Open ... Ctrl+O Save &As ... Ctrl+Shift+S &Quit Ctrl+Q &Run Ctrl+R Run &Line &Clear true true Log false &Save Ctrl+S false R&evert to saved Ctrl+Shift+R O&pen Setup Script ... &Commands ... QWebView QWidget
QtWebKitWidgets/QWebView
CodeEditor QPlainTextEdit
editor.hxx
_load _web _selector returnPressed() _jsExecute click() 785 1144 875 1075 _selector editingFinished() _select click() 785 1144 874 1144 _actionExecuteJavaScript triggered(bool) _executeDock setVisible(bool) -1 -1 630 971 _executeDock visibilityChanged(bool) _actionTestScript setChecked(bool) 630 971 -1 -1 _actionDOMTree triggered(bool) _domDock setVisible(bool) -1 -1 748 374 _domDock visibilityChanged(bool) _actionDOMTree setChecked(bool) 748 374 -1 -1 _actionLinks triggered(bool) _linksDock setVisible(bool) -1 -1 748 537 _linksDock visibilityChanged(bool) _actionLinks setChecked(bool) 748 537 -1 -1 _actionForms triggered(bool) _formsDock setVisible(bool) -1 -1 748 699 _formsDock visibilityChanged(bool) _actionForms setChecked(bool) 748 699 -1 -1 _actionHTMLSouce triggered(bool) _sourceDock setVisible(bool) -1 -1 182 971 _sourceDock visibilityChanged(bool) _actionHTMLSouce setChecked(bool) 182 971 -1 -1 _actionTestScript triggered(bool) _scriptDock setVisible(bool) -1 -1 443 155 _scriptDock visibilityChanged(bool) _actionTestScript setChecked(bool) 443 155 -1 -1 _actionLog triggered(bool) _logDock setVisible(bool) -1 -1 842 1004 _logDock visibilityChanged(bool) _actionLog setChecked(bool) 842 1004 -1 -1 _actionQuit triggered() TestGUI close() -1 -1 443 589 _actionRun triggered() _run click() -1 -1 299 90 _url activated(int) _load click() 277 315 549 315 _testscript modificationChanged(bool) TestGUI setWindowModified(bool) 126 144 443 589