[qt] clean up, format
[qt5] render menu background in drawPrimitive instead of eventFilter
[qt5] organize drawPrimitive
[qt5] clean up