MCPcopy Create free account

hub / github.com/adamn/python-webkit2png / functions

Functions24 in github.com/adamn/python-webkit2png

↓ 3 callersMethod__init__
(self, cookies, qtUrl, parent=None)
webkit2png/webkit2png.py:126
↓ 3 callersMethodrender
Renders the given URL into a QImage object
webkit2png/webkit2png.py:86
↓ 1 callersMethod_load_page
This method implements the logic for retrieving and displaying the requested page.
webkit2png/webkit2png.py:256
↓ 1 callersMethod_post_process_image
If 'scaleToWidth' or 'scaleToHeight' are set to a value greater than zero this method will scale the image using the method d
webkit2png/webkit2png.py:314
↓ 1 callersFunctioninit_qtgui
Initiates the QApplication environment using the given args.
webkit2png/scripts.py:45
↓ 1 callersFunctionmain
()
webkit2png/scripts.py:70
↓ 1 callersMethodrender_to_file
Renders the image into a File resource. Returns the size of the data that has been written.
webkit2png/webkit2png.py:104
Method__del__
Clean up Qt4 objects.
webkit2png/webkit2png.py:201
Method__init__
Sets default values for the properties.
webkit2png/webkit2png.py:45
Method__init__
Copies the properties from the parent (WebkitRenderer) object, creates the required instances of QWebPage, QWebView and QMainWindow
webkit2png/webkit2png.py:144
Method__init__
Class Initializer
webkit2png/webkit2png.py:367
Function__main_qt
()
webkit2png/scripts.py:173
Method_on_each_reply
Logs each requested uri
webkit2png/webkit2png.py:333
Method_on_load_finished
Slot that sets the '__loading' property to false and stores the result code in '__loading_result'.
webkit2png/webkit2png.py:348
Method_on_load_started
Slot that sets the '__loading' property to true
webkit2png/webkit2png.py:340
Method_on_ssl_errors
Slot that writes SSL warnings into the log but ignores them.
webkit2png/webkit2png.py:357
MethodallCookies
(self)
webkit2png/webkit2png.py:131
MethodjavaScriptAlert
(self, frame, message)
webkit2png/webkit2png.py:378
MethodjavaScriptConfirm
(self, frame, message)
webkit2png/webkit2png.py:383
MethodjavaScriptPrompt
This function is called whenever a JavaScript program running inside frame tries to prompt the user for input. The program may provid
webkit2png/webkit2png.py:390
Methodrender
The real worker. Loads the page (_load_page) and awaits the end of the given 'delay'. While it is waiting outstanding QApplic
webkit2png/webkit2png.py:210
Methodrender_to_bytes
Renders the image into an object of type 'str
webkit2png/webkit2png.py:116
MethodsetAllCookies
(self, cookieList)
webkit2png/webkit2png.py:134
MethodshouldInterruptJavaScript
This function is called when a JavaScript program is running for a long period of time. If the user wanted to stop the JavaScript the
webkit2png/webkit2png.py:407