I agree with bpaz in that you shouldn't have been folding Q7 suited, what were you hoping to hit with it?
Trips while going to be a good hand isn't very likely and its hard to hide it, the other option is the flush, which you made but then folded it. :/
If you weren't going to call with the Q high flush you have to question why you played it in the first place. Depending on your read of the other guy I would have probably called it. He is either going to have a lower flush, high pocket pair or a set, all of which you beat.
Your only behind to Ax and Kx suited, will only lose if you call if he has either the A or the K and a 4th suit comes, or if he has a set and the board pairs. You also didn't mention the size of the pot either at this point, so its all a bit sketchy.