Customize paintEvent for the header of playlists