mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-28 01:54:42 +00:00
Remove t.py
This commit is contained in:
parent
cb5444c35a
commit
a7e53bc12f
1 changed files with 0 additions and 15 deletions
|
|
@ -1,15 +0,0 @@
|
|||
def on_treeWidget_customContextMenuRequested (self, point):
|
||||
print "XXX", point, self.treeWidget.mapToGlobal(point)
|
||||
item = self.treeWidget.itemAt(point)
|
||||
if item is not None:
|
||||
# show menu
|
||||
menu = QtGui.QMenu(self.treeWidget)
|
||||
icon = QtGui.QIcon()
|
||||
icon.addPixmap(QtGui.QPixmap(":/icons/online.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
action = menu.addAction(icon, _("&View Online"))
|
||||
self.connect(action, QtCore.SIGNAL("triggered()"), self.item_view_online)
|
||||
menu.exec_(self.treeWidget.mapToGlobal(point))
|
||||
|
||||
def item_view_online (self):
|
||||
print "XXX view online"
|
||||
|
||||
Loading…
Reference in a new issue