You could of been more aggressive pre-flop but since you were facing a bet from the button it's not really a problem. There's no way you could of folded on the flop and it's hard to do it on the turn, unless your opponent was playing extremely tight post-flop, but since he called your raise pre-flop with Q7o I'm guessing that he was pretty loose.
Things like that happen in poker and only experience will get you to get better at reading your opponents and what are their tendencies.
All I can say is that at the stakes your playing you shouldn't feel about how you played the hand. He shoved for 1/2 of the pot on the turn which is standard for TPTK (top pair top kicker), basically the only hands that had you beat on the flop were sets who upgraded to a full house or K7 and Q7. These situations will always happen in poker.
You were pot committed and he was pot committed before his all-in shove, so...
He's betting 94c into a 1.65$ pot... a little more than 1/2 of the pot, here you're facing the decision in which you have to think what hands are you beating... KJ, KQ, AK (unlikely) and what hands you're losing to KK (unlikely), QQ (unlikely), A7, K7, Q7, J7, T7, 97, 87, 76, 75, 47... There are very few hands that he can have where you've got the lead and there is no draws on the board. To make the call here you need to think that he's either bluffing or you have him beat 50% of the time, I don't know this player so I can't make a decision, but in order to get better at poker you need to get good at knowing your opponents.
http://www.youtube.com/watch?v=hmD9Boc7K7w