<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[SOLVED]Rotation of a set of buttons in a circle.]]></title><description><![CDATA[<p dir="auto">Hi ,  I want to make a circle/ellipse containing 5 buttons circles(like a point changing places on its Circumference) while making buttons switch places when the user clicks on one button of them , the circle should continue to circle until the button clicked reach the left side of the circle/ellipse  and then a window related with this button opens next to the main window .</p>
<p dir="auto">The reason I want the circle to circle (sorry for the confusion :P ) is that it should be partitioned into 5 areas each area containing a button and separated form other areas by lines so if the buttons did the movement , they would cross those lines.</p>
<p dir="auto">unfortunately, I couldn't find a way to do that as above so I dropped the idea of partitioning the circle and  used QPropertyAnimation to animate the movement of each button and tried to make it looks like the ellipse was circling but it didn't appear as intended.</p>
<p dir="auto">That what I achieved so far : "Animated movements of buttons.":<a href="https://www.youtube.com/watch?v=XyEI516dwE4&amp;feature=youtu.be" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.youtube.com/watch?v=XyEI516dwE4&amp;feature=youtu.be</a></p>
<p dir="auto">Is there a way to make a circle/ellipse circles as described or at least make it appears that way ?</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://forum.qt.io/topic/43159/solved-rotation-of-a-set-of-buttons-in-a-circle</link><generator>RSS for Node</generator><lastBuildDate>Mon, 04 May 2026 04:20:22 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/43159.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Jul 2014 01:17:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED]Rotation of a set of buttons in a circle. on Tue, 01 Jul 2014 06:28:49 GMT]]></title><description><![CDATA[<p dir="auto">Cool. You can move the question to solved state by editing the question to &lt;SOLVED&gt;</p>
]]></description><link>https://forum.qt.io/post/234100</link><guid isPermaLink="true">https://forum.qt.io/post/234100</guid><dc:creator><![CDATA[dheerendra]]></dc:creator><pubDate>Tue, 01 Jul 2014 06:28:49 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED]Rotation of a set of buttons in a circle. on Tue, 01 Jul 2014 06:11:28 GMT]]></title><description><![CDATA[<p dir="auto">Thanks , that was very helpful and did exactly what I need.</p>
]]></description><link>https://forum.qt.io/post/234096</link><guid isPermaLink="true">https://forum.qt.io/post/234096</guid><dc:creator><![CDATA[Mohammedbie]]></dc:creator><pubDate>Tue, 01 Jul 2014 06:11:28 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED]Rotation of a set of buttons in a circle. on Tue, 01 Jul 2014 03:55:28 GMT]]></title><description><![CDATA[<p dir="auto">You can achieve this in QML and RotationAnimation together. You can use the rotation property of QML element and positioning them at appropriate x and y. You can calculate x and y using mathematical functions.</p>
]]></description><link>https://forum.qt.io/post/234085</link><guid isPermaLink="true">https://forum.qt.io/post/234085</guid><dc:creator><![CDATA[dheerendra]]></dc:creator><pubDate>Tue, 01 Jul 2014 03:55:28 GMT</pubDate></item></channel></rss>