[qt] format, add opacity property