Exemplo n.º 1
0
 def contextMenuEvent(self, event):
     """Replace the default RMB menu."""
     menu = QtGui.QMenu(self)
     inspect = QtGui.QAction('&Inspect', self)
     inspect.triggered.connect(self.show_inspector)
     menu.addAction(inspect)
     QWebView.contextMenuEvent(self, event)
Exemplo n.º 2
0
Arquivo: view.py Projeto: zw/ankiqt
 def contextMenuEvent(self, evt):
     QWebView.contextMenuEvent(self, evt)
Exemplo n.º 3
0
 def contextMenuEvent(self, evt):
     QWebView.contextMenuEvent(self, evt)