Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Some issues with rotation of buttons inside a circle

$
0
0
hi , I wanted to partition a circle into 5 clickable area (buttons) using QML so when I click on any area of them , the circle should rotate until this area reach the middle of the left side of the window then stop. This is what I have done so far : Before rotation [postimg.org] After rotation [postimg.org] The issues I have right now : 1- The clickable area is in the shape of a rectangle or a circle but I need every area of the 5 to be clickable and they are in a shape of an arc. 2- The text inside each area became upside down or rotated by an angle after rotation while I don’t want it to rotate while moving on the circle . 3- how can I add this circle as a part of QT widget GUI ? Thanks in advance.

Viewing all articles
Browse latest Browse all 4972

Trending Articles