Example #1
0
void ImageWidget::clear()
{
    movie->stop();
    imageLabel->clear();
    imageLabel->resize(QSize(0, 0));
    defaulTransMovie();
    scaleFactor = 1;
    eType = ImageWidget::None;
    this->adjustSize();
}
Example #2
0
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();
}