Module implementing tool functions for the web browser.
WebBrowserDataDirectory |
None |
containsSpace | Function to check, if a string contains whitespace characters. |
ensureUniqueFilename | Module function to generate an unique file name based on a pattern. |
filterCharsFromFilename | Module function to filter illegal characters. |
getFileNameFromUrl | Module function to generate a file name based on the given URL. |
getHtmlPage | Module function to load a HTML page. |
getJavascript | Module function to load a JavaScript source file. |
getJquery | Module function to load a JQuery source file. |
getWebEngineVersions | Module function to extract the web engine related versions from the default user agent string. |
pixmapFileToDataUrl | Module function to load a pixmap file and convert the pixmap to a data: URL. |
pixmapFromByteArray | Module function to convert a byte array to a pixmap. |
pixmapToByteArray | Module function to convert a pixmap to a byte array containing the pixmap as a PNG encoded as base64. |
pixmapToDataUrl | Module function to convert a pixmap to a data: URL. |
readAllFileContents | Function to read the string contents of the given file. |
Function to check, if a string contains whitespace characters.
Module function to generate an unique file name based on a pattern.
Module function to filter illegal characters.
Module function to generate a file name based on the given URL.
Module function to load a HTML page.
Note: If the given HTML file path is not absolute, it is assumed to denote a HTML file in the html data directory.
Module function to load a JavaScript source file.
Note: If the given JavaScript source file path is not absolute, it is assumed to denote a JavaScript source file in the javascript data directory.
Module function to load a JQuery source file.
Note: If the JQuery file is not found in the javascript data directory and the platform is Linux, it is assumed that it is installed system wide in the '/usr/share/javascript' directory (e.g. as packaged by Debian).
Module function to extract the web engine related versions from the default user agent string.
Note: For PyQt 6.3.1 or newer the data is extracted via some Qt functions.
Module function to load a pixmap file and convert the pixmap to a data: URL.
Note: If the given pixmap file path is not absolute, it is assumed to denote a pixmap file in the icons data directory.
Module function to convert a byte array to a pixmap.
Module function to convert a pixmap to a byte array containing the pixmap as a PNG encoded as base64.
Module function to convert a pixmap to a data: URL.
Function to read the string contents of the given file.