Yes thanks guys - it works wonderfull 
Code.
void RuletV1::on_pushButton_clicked()
{
QTransform tra;
qreal dx = 50;
qreal dy = 50;
tra.translate(dx,dy);
tra.rotate(Sumarum(30)); //every time add 30 and return
tra.translate(-dx,-dy);
dynamic_cast<CircleItem*>(m_elipsa)->setTransform(tra);
}
void RuletV1::on_pushButton_clicked()
{
QTransform tra;
qreal dx = 50;
qreal dy = 50;
tra.translate(dx,dy);
tra.rotate(Sumarum(30)); //every time add 30 and return
tra.translate(-dx,-dy);
dynamic_cast<CircleItem*>(m_elipsa)->setTransform(tra);
}
To copy to clipboard, switch view to plain text mode
qreal RuletV1::Sumarum(qreal num) { return myangle+=num; }
qreal RuletV1::Sumarum(qreal num) { return myangle+=num; }
To copy to clipboard, switch view to plain text mode
//public: qreal Sumarum(qreal Broj);
//private: qreal myangle;
................
Side questions -> just a little direction needed
1) If i recall CSS i would make elastic design web pages - i need to do the same in QT: Resizing the window (QMainWindow) needs to resize all elements on the view (QGraphicsView)
2) If i want to rotate my circle for a few seconds, what are my possibilites? Is there a built-in mechanism? wich class if apropriate
.........................
THX
Bookmarks