Don't use it with QGraphicsLineItem, it doesn't make much sense to do so in this context. Rotate the item, not the line within it.
Don't use it with QGraphicsLineItem, it doesn't make much sense to do so in this context. Rotate the item, not the line within it.
thanks .. i will rotate the item as
Qt Code:
QTransform transform; transform.rotate(90); scene->addItem(line1); line1->setPos(574,415); line1->setTransform(transform);To copy to clipboard, switch view to plain text mode
Bookmarks