249 self.__rwhvqt = self.focusProxy() |
249 self.__rwhvqt = self.focusProxy() |
250 if self.__rwhvqt: |
250 if self.__rwhvqt: |
251 self.__rwhvqt.grabGesture(Qt.GestureType.PinchGesture) |
251 self.__rwhvqt.grabGesture(Qt.GestureType.PinchGesture) |
252 self.__rwhvqt.installEventFilter(self) |
252 self.__rwhvqt.installEventFilter(self) |
253 else: |
253 else: |
254 print("Focus proxy is null!") # __IGNORE_WARNING_M801__ |
254 print("Focus proxy is null!") # __IGNORE_WARNING_M-801__ |
255 |
255 |
256 def __currentEngineChanged(self): |
256 def __currentEngineChanged(self): |
257 """ |
257 """ |
258 Private slot to track a change of the current search engine. |
258 Private slot to track a change of the current search engine. |
259 """ |
259 """ |
2620 Private slot to handle file system access requests of the web page. |
2620 Private slot to handle file system access requests of the web page. |
2621 |
2621 |
2622 @param accessRequest reference to the file system access request object |
2622 @param accessRequest reference to the file system access request object |
2623 @type QWebEngineFileSystemAccessRequest |
2623 @type QWebEngineFileSystemAccessRequest |
2624 """ |
2624 """ |
2625 from PyQt6.QtWebEngineCore import ( # __IGNORE_WARNING_I102__ |
2625 from PyQt6.QtWebEngineCore import ( # __IGNORE_WARNING_I-102__ |
2626 QWebEngineFileSystemAccessRequest, |
2626 QWebEngineFileSystemAccessRequest, |
2627 ) |
2627 ) |
2628 |
2628 |
2629 acceptRequest = Preferences.getWebBrowser("AcceptFileSystemAccessRequest") |
2629 acceptRequest = Preferences.getWebBrowser("AcceptFileSystemAccessRequest") |
2630 # map yes/no/ask from (0, 1, 2) |
2630 # map yes/no/ask from (0, 1, 2) |