ajit
26th September 2007, 07:53
Hi am Ajit
I have created a widget of size ellipse
i want to rotate that ellipse-widget according to the left button mouse move till the left button is down
To create ellipse size widget, in the constructor i have written the following code
{
m_maskedRegion = QRegion(CENTER_X-26, CENTER_Y - 187, 203, 435, QRegion::Ellipse);
setMask(m_maskedRegion);
}
please help me
is there any function like for the QPainter there is rotate function
I have created a widget of size ellipse
i want to rotate that ellipse-widget according to the left button mouse move till the left button is down
To create ellipse size widget, in the constructor i have written the following code
{
m_maskedRegion = QRegion(CENTER_X-26, CENTER_Y - 187, 203, 435, QRegion::Ellipse);
setMask(m_maskedRegion);
}
please help me
is there any function like for the QPainter there is rotate function