![]() |
Stellarium 0.12.0 | ||
| Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · Renderer · File Structure |
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. | |
Public Member Functions | |
| StelHTTPTextureLoader (const QString &url, int delay, QThread *loaderThread) | |
| Construct a StelHTTPTextureLoader. | |
| virtual void | abort () |
| Abort texture loading (for example when destroying a texture that's still loading). | |
Texture loader that loads an image from the web.
Definition at line 78 of file StelTextureLoader.hpp.
| StelHTTPTextureLoader::StelHTTPTextureLoader | ( | const QString & | url, | |
| int | delay, | |||
| QThread * | loaderThread | |||
| ) | [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.
| virtual void StelHTTPTextureLoader::abort | ( | ) | [inline, virtual] |
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.
| void StelHTTPTextureLoader::finished | ( | QImage | ) | [signal] |
Emitted when image loading is finished, sending loaded image.
1.6.3