How can I reset the scale of a Graphics View regardless of any previous scale that was applied? Using scale()
multiplies the scale I give it to the previous one:
ui->graphicsView->scale(0.1, 0.1);
ui->graphicsView->scale(2, 2);
// the scale factor is (0.2,0.2) instead of (2,2)