void ImageWidget::clear() { movie->stop(); imageLabel->clear(); imageLabel->resize(QSize(0, 0)); defaulTransMovie(); scaleFactor = 1; eType = ImageWidget::None; this->adjustSize(); }
void ImageWidget::clear() { originalSize = QSize(-1,-1); eType = ImageWidget::None; movieSpeed = 100; move = false; movie->stop(); imageLabel->clear(); imageLabel->resize(QSize(0,0)); pixmap = QPixmap(); defaulTransMovie(); scaleFactor = 1; this->adjustSize(); }