This is addon I've written for myself but you're free to use it.
It hides your quest log when you enter combat and shows it again when you leave combat.
I use it for making pvp movies, so that while filming my quest log is hidden and doesn't take a lot of screen space and annoy the viewer.