

def paintEvent(self, event):
    ' Reimplemented to paint the background panel.\n        '
    painter = QtGui.QStylePainter(self)
    option = QtGui.QStyleOptionFrame()
    option.initFrom(self)
    painter.drawPrimitive(QtGui.QStyle.PE_PanelTipLabel, option)
    event.end()
    super(CallTipWidget, self).paintEvent(event)

dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/console/call_tip_widget.py CallTipWidget.paintEvent/VarMisuse@51/89 `painter`->`event`