501 @param menu reference to the menu to be populated |
501 @param menu reference to the menu to be populated |
502 @type QMenu |
502 @type QMenu |
503 @param hitTest reference to the hit test object |
503 @param hitTest reference to the hit test object |
504 @type WebHitTestResult |
504 @type WebHitTestResult |
505 """ |
505 """ |
506 # TODO: Qt 5.8 - add support for spell checking |
|
507 spellCheckActionCount = 0 |
506 spellCheckActionCount = 0 |
508 if qVersion() >= "5.7.0": |
507 if qVersion() >= "5.7.0": |
509 contextMenuData = self.page().contextMenuData() |
508 contextMenuData = self.page().contextMenuData() |
510 hitTest.updateWithContextMenuData(contextMenuData) |
509 hitTest.updateWithContextMenuData(contextMenuData) |
511 |
510 |