Engauge Digitizer 2
Loading...
Searching...
No Matches
Signals | Public Member Functions | List of all members
LoadImageFromUrl Class Reference

Load QImage from url. This is trivial for a file, but requires an asynchronous download step for http urls. More...

#include <LoadImageFromUrl.h>

Inheritance diagram for LoadImageFromUrl:

Signals

void signalImportImage (QString, QImage)
 Send the imported image to MainWindow. This completes the asynchronous loading of the image.
 

Public Member Functions

 LoadImageFromUrl (MainWindow &mainWindow)
 Single constructor.
 
void startLoadImage (const QUrl &url)
 Start the asynchronous loading of an image from the specified url.
 

Detailed Description

Load QImage from url. This is trivial for a file, but requires an asynchronous download step for http urls.

Definition at line 20 of file LoadImageFromUrl.h.

Constructor & Destructor Documentation

◆ LoadImageFromUrl()

LoadImageFromUrl::LoadImageFromUrl ( MainWindow mainWindow)

Single constructor.

Definition at line 16 of file LoadImageFromUrl.cpp.

◆ ~LoadImageFromUrl()

LoadImageFromUrl::~LoadImageFromUrl ( )

Definition at line 25 of file LoadImageFromUrl.cpp.

Member Function Documentation

◆ startLoadImage()

void LoadImageFromUrl::startLoadImage ( const QUrl &  url)

Start the asynchronous loading of an image from the specified url.

Definition at line 72 of file LoadImageFromUrl.cpp.


The documentation for this class was generated from the following files: