• QCImageLoader
  • QCImageLoader Class

    Header: #include <QCImageLoader>

    Properties

    Public Functions

    QCImageLoader(QObject * parent = 0)
    bool isLoaded() const
    bool running() const
    void waitForLoaded(int timeout = 10000)

    Public Slots

    void load(const QString & path)

    Signals

    void isLoadedChanged()
    void loaded()
    void runningChanged()

    Detailed Description

    QCImageLoader is an asynchronous image loader. It load images from a folder to QCImagePool

    Property Documentation

    isLoaded : const bool

    This property holds the property indicate whether is the loader loaded anything.

    Access functions:

    bool isLoaded() const

    Notifier signal:

    void isLoadedChanged()

    running : const bool

    This property holds the property indicate whether is the loader running.

    Access functions:

    bool running() const

    Notifier signal:

    void runningChanged()

    Member Function Documentation

    QCImageLoader::QCImageLoader(QObject * parent = 0)

    [slot] void QCImageLoader::load(const QString & path)

    [signal] void QCImageLoader::loaded()

    void QCImageLoader::waitForLoaded(int timeout = 10000)

    Block the execution of current program and wait until images loaded.