file transfers items bug fixes, translatable menu everywhere
This commit is contained in:
parent
5fd5a9bd85
commit
fd9bfa52f3
11 changed files with 118 additions and 92 deletions
src
|
@ -29,6 +29,17 @@ class CenteredWidget(QtGui.QWidget):
|
|||
self.move(qr.topLeft())
|
||||
|
||||
|
||||
class LineEdit(QtGui.QLineEdit):
|
||||
|
||||
def __init__(self, parent=None):
|
||||
super(LineEdit, self).__init__(parent)
|
||||
|
||||
def contextMenuEvent(self, event):
|
||||
menu = create_menu(self.createStandardContextMenu())
|
||||
menu.exec_(event.globalPos())
|
||||
del menu
|
||||
|
||||
|
||||
class QRightClickButton(QtGui.QPushButton):
|
||||
"""
|
||||
Button with right click support
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue