src/eric7/EricWidgets/EricLineEditButton.py

branch
eric7
changeset 10689
3ede487187f2
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10688:0d9853ceb288 10689:3ede487187f2
73 """ 73 """
74 if self.__menu: 74 if self.__menu:
75 pos = self.mapToGlobal(QPoint(0, self.height())) 75 pos = self.mapToGlobal(QPoint(0, self.height()))
76 self.__menu.exec(pos) 76 self.__menu.exec(pos)
77 77
78 def paintEvent(self, evt): 78 def paintEvent(self, _evt):
79 """ 79 """
80 Protected method handling a paint event. 80 Protected method handling a paint event.
81 81
82 @param evt reference to the paint event 82 @param _evt reference to the paint event (unused)
83 @type QPaintEvent 83 @type QPaintEvent
84 """ 84 """
85 painter = QPainter(self) 85 painter = QPainter(self)
86 86
87 if self.__image is not None and not self.__image.isNull(): 87 if self.__image is not None and not self.__image.isNull():

eric ide

mercurial