there is my code
` QGraphicsRectItem* rect;
void MainWindow::resize() {
QTransform transform; transform = rect->transform(); double s