PDA

View Full Version : Transform widget with the mouse



puch71
28th January 2011, 16:56
Hello,
I would like to be able to freely transform widgets with the mouse like it's possible to do in the Affine Transformations demo that ships with Qt. I tried to look at the code and I believe I gathered that the two red dot that are used in the demo to manipulate the widgets are contained in hoverpoints.cpp under /demo/shared. The code though has no comments and I'm having trouble to make head and tail out of it. Is there anybody kind enough to point me to some docs about those manipulators or that can give me a super quick list of steps necessary to implement them?

Thank you in advance.

franz
31st January 2011, 07:36
There aren't any docs for that example. Best thing to do in this case is just mucking about a bit. Removing stuff, re-enabling stuff and see what happens.