PDA

View Full Version : Qmovie spinner.gif image Problem



pavanbarot
31st October 2010, 12:07
Hi Friends Please Help me my question is below:

QLabel loaded with QMovie and QLabel is added to QTableWidget as Widget. it's work fine. but the gif image is more than 3 then spinning image is stop means it is not shown properly. image will stop the spinning motion.

My Code is Below:

QLabel* lblIcon;
QMovie processingImage = new QMovie("spinner.gif");
processingImage->start();
lblIcon->setMovie(processingImage);
lblIcon->setAlignment(Qt::AlignCenter);
ui->TableWidget->setCellWidget(currentRow,StatusColumn, lblIcon);

Please help me,
Thanks