private function updateScreenshotLabel() { $this->screenshotLabel->setPixmap($this->originalPixmap->scaled($this->screenshotLabel->size(), Qt::KeepAspectRatio, Qt::SmoothTransformation)); }