I posted this in the newbies section as thats what I am, but since theres no replies there I'm assuming maybe its a more advanced question or maybe just people don't understand what I'm asking.

I'm a Windows programmer, so I'm used to working with Windows messages and MFC.

What I want to do, basically: An single window app with a QPushButton on it. You run the app and you can move the button around the form by clicking the left mouse button on the QPushButton and moving the mouse around. Once you release the mouse button, the QPushButton no longer cares about the mouse position.

I don't expect someone to write this for me, just some hints or advice is fine.