API Documentation
Loading...
Searching...
No Matches
DownloadDatasetWidget Class Reference

#include <DownloadDatasetWidget.h>

Inheritance diagram for DownloadDatasetWidget:
[legend]
Collaboration diagram for DownloadDatasetWidget:
[legend]

Signals

void downloadActiveSignal (bool is_downloading)
 
void onFailureSignal ()
 
void onFinishedSignal (File file)
 

Public Member Functions

 DownloadDatasetWidget (QWidget *parent=nullptr)
 
void loadFile (const File &f)
 
void setUpdateTarget (DesignObjectLookup *lookup)
 
void startDownload (const String &url, const File &file)
 

Protected Slots

void downloadFailedSlot ()
 
void downloadFinishedSlot ()
 
void updatePercentSlot ()
 

Protected Attributes

ItemDownloaderm_downloader = nullptr
 
File m_file
 
DesignObjectLookupm_lookup = nullptr
 
ProgressWidgetm_progress = nullptr
 

Constructor & Destructor Documentation

◆ DownloadDatasetWidget()

DownloadDatasetWidget ( QWidget * parent = nullptr)

Member Function Documentation

◆ downloadActiveSignal

void downloadActiveSignal ( bool is_downloading)
signal

◆ downloadFailedSlot

void downloadFailedSlot ( )
protectedslot

◆ downloadFinishedSlot

void downloadFinishedSlot ( )
protectedslot

◆ loadFile()

void loadFile ( const File & f)

◆ onFailureSignal

void onFailureSignal ( )
signal

◆ onFinishedSignal

void onFinishedSignal ( File file)
signal

◆ setUpdateTarget()

void setUpdateTarget ( DesignObjectLookup * lookup)

◆ startDownload()

void startDownload ( const String & url,
const File & file )

◆ updatePercentSlot

void updatePercentSlot ( )
protectedslot

Member Data Documentation

◆ m_downloader

ItemDownloader* m_downloader = nullptr
protected

◆ m_file

File m_file
protected

◆ m_lookup

DesignObjectLookup* m_lookup = nullptr
protected

◆ m_progress

ProgressWidget* m_progress = nullptr
protected

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