Logo Search packages:      
Sourcecode: qt4-x11 version File versions

src.gui.image.qmovie.cpp

//! [0]
        QLabel label;
        QMovie *movie = new QMovie("animations/fire.gif");

        label.setMovie(movie);
        movie->start();
//! [0]


//! [1]
        QMovie movie("racecar.gif");
        movie.setSpeed(200); // 2x speed
//! [1]



Generated by  Doxygen 1.6.0   Back to index