Q Menu..?

Hey Guys!
How do i make a menu popup when i press q?
I removed the old one but i have no idea how to set up a new one