Engauge Digitizer  2
Public Member Functions | List of all members
CreateLoadImage Class Reference

Class to create LoadImageFromUrl for MainWindow class. More...

#include <CreateLoadImage.h>

Inheritance diagram for CreateLoadImage:
Inheritance graph
Collaboration diagram for CreateLoadImage:
Collaboration graph

Public Member Functions

 CreateLoadImage ()
 Single constructor. More...
 
void create (MainWindow &mw)
 Create LoadImageFromUrl instance. More...
 

Detailed Description

Class to create LoadImageFromUrl for MainWindow class.

We derive from QObject and use Q_OBJECT so translations work

Definition at line 16 of file CreateLoadImage.h.

Constructor & Destructor Documentation

◆ CreateLoadImage()

CreateLoadImage::CreateLoadImage ( )

Single constructor.

Definition at line 12 of file CreateLoadImage.cpp.

13 {
14 }

Member Function Documentation

◆ create()

void CreateLoadImage::create ( MainWindow mw)

Create LoadImageFromUrl instance.

Definition at line 16 of file CreateLoadImage.cpp.

17 {
18  LOG4CPP_INFO_S ((*mainCat)) << "CreateLoadImage::create";
19 
20  mw.m_loadImageFromUrl = new LoadImageFromUrl (mw);
21 }
#define LOG4CPP_INFO_S(logger)
Definition: convenience.h:18
log4cpp::Category * mainCat
Definition: Logger.cpp:14
Load QImage from url. This is trivial for a file, but requires an asynchronous download step for http...

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