[qt] format, add opacity property
[qt4] render background in drawPrimitive instead of eventFilter