LibrePCB Developers Documentation
Loading...
Searching...
No Matches
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
 
void trigger (ui::TabAction a) noexcept override
 
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
 
virtual slint::Image renderScene (float width, float height, int scene) noexcept
 
virtual bool processScenePointerEvent (const QPointF &pos, slint::private_api::PointerEvent e) noexcept
 
virtual bool processSceneScrolled (const QPointF &pos, slint::private_api::PointerScrollEvent e) noexcept
 
virtual bool processSceneKeyEvent (const slint::private_api::KeyEvent &e) noexcept
 
virtual bool requestClose () noexcept
 Request to close the tab.
 
WindowTaboperator= (const WindowTab &rhs)=delete
 

Public Attributes

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

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 closeEnforced ()
 
void statusBarMessageChanged (const QString &message, int timeoutMs)
 
void cursorCoordinatesChanged (const Point &pos, const LengthUnit &unit)
 
- 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

◆ trigger()

void trigger ( ui::TabAction  a)
overridevirtualnoexcept

Reimplemented from WindowTab.

+ Here is the call graph for this function:

◆ operator=()

DownloadLibraryTab & operator= ( const DownloadLibraryTab rhs)
delete

◆ 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: