![]() |
Stellarium 0.12.4
|
Texture loader that loads an image from the web. More...
#include <StelTextureLoader.hpp>
Signals | |
| void | finished (QImage) |
| Emitted when image loading is finished, sending loaded image. More... | |
Signals inherited from StelTextureLoader | |
| void | error (const QString &errorMsg) |
| Emitted when an error occurs during image loading, specifying error message. More... | |
Public Member Functions | |
| StelHTTPTextureLoader (const QString &url, int delay, QThread *loaderThread) | |
| Construct a StelHTTPTextureLoader. More... | |
| virtual void | abort () |
| Abort texture loading (for example when destroying a texture that's still loading). More... | |
Additional Inherited Members | |
Protected Member Functions inherited from StelTextureLoader | |
| StelTextureLoader (QThread *loaderThread) | |
| Construct a StelTextureLoader loading in specified thread. More... | |
| void | moveToLoaderThread () |
| Move the loader to its thread (after setting up image loading). More... | |
Texture loader that loads an image from the web.
Definition at line 78 of file StelTextureLoader.hpp.
|
inline |
Construct a StelHTTPTextureLoader.
| url | URL of the image to load the texture from. |
| delay | Delay when to start loading in milliseconds. |
| loaderThread | Thread in which the loader will run. |
Definition at line 88 of file StelTextureLoader.hpp.
|
inlinevirtual |
Abort texture loading (for example when destroying a texture that's still loading).
Can only be called from the main thread.
Reimplemented from StelTextureLoader.
Definition at line 96 of file StelTextureLoader.hpp.
|
signal |
Emitted when image loading is finished, sending loaded image.
1.8.3.1