Does she need to know he is violent?
I guess it depends on your 4 year old and how much you want her to know and how much you are happy for her to repeat to others.
Could you say something like 'sometimes daddy gets angry and so daddy is working on new ways to deal with it so that everyone is safe. We can see daddy again when he's sorted it out' or something!
It all depends on how much she already knows.