def paintEvent(self, event):
        """ Reimplemented to paint the background panel.
        """
        painter = QtWidgets.QStylePainter(self)
        option = QtWidgets.QStyleOptionFrame()
        option.initFrom(self)
        painter.drawPrimitive(QtWidgets.QStyle.PE_PanelTipLabel, option)
        painter.end()

        super().paintEvent(event)
 Reimplemented to paint the background panel.
        
angrmanagement/vendor/qtconsole/call_tip_widget.py