LibrePCB Developers Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DownloadLibraryTab Class Referencefinal

The DownloadLibraryTab class. More...

#include <downloadlibrarytab.h>

+ Inheritance diagram for DownloadLibraryTab:
+ Collaboration diagram for DownloadLibraryTab:

Public Member Functions

 DownloadLibraryTab ()=delete
 
 DownloadLibraryTab (const DownloadLibraryTab &other)=delete
 
 DownloadLibraryTab (GuiApplication &app, QObject *parent=nullptr) noexcept
 
 ~DownloadLibraryTab () noexcept
 
ui::TabData getUiData () const noexcept override
 
const ui::DownloadLibraryTabData & getDerivedUiData () const noexcept
 
void setDerivedUiData (const ui::DownloadLibraryTabData &data) noexcept
 
DownloadLibraryTaboperator= (const DownloadLibraryTab &rhs)=delete
 
- Public Member Functions inherited from WindowTab
 WindowTab ()=delete
 
 WindowTab (const WindowTab &other)=delete
 
 WindowTab (GuiApplication &app, QObject *parent=nullptr) noexcept
 
virtual ~WindowTab () noexcept
 
virtual void setUiData (const ui::TabData &data) noexcept
 
virtual void activate () noexcept
 
virtual void deactivate () noexcept
 
WindowTaboperator= (const WindowTab &rhs)=delete
 

Public Attributes

Signal< DownloadLibraryTabonDerivedUiDataChanged
 
- Public Attributes inherited from WindowTab
Signal< WindowTabonUiDataChanged
 

Protected Member Functions

void triggerAsync (ui::Action a) noexcept override
 

Private Member Functions

void validate () noexcept
 
void downloadFinished (bool success, const QString &errMsg) noexcept
 

Private Attributes

ui::DownloadLibraryTabData mUiData
 
std::optional< QUrl > mUrl
 
FilePath mDirectory
 
std::unique_ptr< LibraryDownloadmDownload
 

Additional Inherited Members

- Signals inherited from WindowTab
void panelPageRequested (ui::PanelPage p)
 
void closeRequested ()
 
void statusBarMessageChanged (const QString &message, int timeoutMs)
 
- Protected Attributes inherited from WindowTab
GuiApplicationmApp
 

Detailed Description

The DownloadLibraryTab class.

Constructor & Destructor Documentation

◆ DownloadLibraryTab() [1/3]

DownloadLibraryTab ( )
delete

◆ DownloadLibraryTab() [2/3]

DownloadLibraryTab ( const DownloadLibraryTab other)
delete

◆ DownloadLibraryTab() [3/3]

DownloadLibraryTab ( GuiApplication app,
QObject *  parent = nullptr 
)
explicitnoexcept

◆ ~DownloadLibraryTab()

~DownloadLibraryTab ( )
noexcept

Member Function Documentation

◆ getUiData()

ui::TabData getUiData ( ) const
overridevirtualnoexcept

Implements WindowTab.

+ Here is the call graph for this function:

◆ getDerivedUiData()

const ui::DownloadLibraryTabData & getDerivedUiData ( ) const
inlinenoexcept

◆ setDerivedUiData()

void setDerivedUiData ( const ui::DownloadLibraryTabData &  data)
noexcept

◆ operator=()

DownloadLibraryTab & operator= ( const DownloadLibraryTab rhs)
delete

◆ triggerAsync()

void triggerAsync ( ui::Action  a)
overrideprotectedvirtualnoexcept

Reimplemented from WindowTab.

+ Here is the call graph for this function:

◆ validate()

void validate ( )
privatenoexcept
+ Here is the call graph for this function:

◆ downloadFinished()

void downloadFinished ( bool  success,
const QString &  errMsg 
)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ onDerivedUiDataChanged

Signal<DownloadLibraryTab> onDerivedUiDataChanged

◆ mUiData

ui::DownloadLibraryTabData mUiData
private

◆ mUrl

std::optional<QUrl> mUrl
private

◆ mDirectory

FilePath mDirectory
private

◆ mDownload

std::unique_ptr<LibraryDownload> mDownload
private

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