PDA

View Full Version : Tricky graphic effect



insideru
13th August 2010, 01:09
Here's what i need to achieve, maybe you guys can show a way to do it or point which way to go.

On my window i will be having some widgets (custom built). When i right click on any of the widgets, i need a circle array of circular widgets to appear. Call it a custom context menu. These "menu items" can have submenu items, in which case if i press one circle that has sub-options, all the other circles disappear and it's options form another circular array of other circular widgets around it. I need these to be able to go outside the boundaries of the mainWindow.

To illustrate, i've posted the design idea.

(the red circles are there just to illustrate the circular array, i don't actually want them to appear)

ecanela
13th August 2010, 01:51
try to use the Qt Solution http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Widgets/qtpiemenu/

some article in qt quarterly http://doc.trolltech.com/qq/qq11-piemenu.html

i hope you find this link useful.

insideru
13th August 2010, 03:11
Wow, it's exactly what I needed. Thanks alot for the links :)