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

The CreateLibraryTab class. More...

#include <createlibrarytab.h>

+ Inheritance diagram for CreateLibraryTab:
+ Collaboration diagram for CreateLibraryTab:

Public Member Functions

 CreateLibraryTab ()=delete
 
 CreateLibraryTab (const CreateLibraryTab &other)=delete
 
 CreateLibraryTab (GuiApplication &app, QObject *parent=nullptr) noexcept
 
 ~CreateLibraryTab () noexcept
 
ui::TabData getUiData () const noexcept override
 
const ui::CreateLibraryTabData & getDerivedUiData () const noexcept
 
void setDerivedUiData (const ui::CreateLibraryTabData &data) noexcept
 
CreateLibraryTaboperator= (const CreateLibraryTab &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< CreateLibraryTabonDerivedUiDataChanged
 
- Public Attributes inherited from WindowTab
Signal< WindowTabonUiDataChanged
 

Protected Member Functions

void triggerAsync (ui::Action a) noexcept override
 

Private Member Functions

void validate () noexcept
 

Private Attributes

ui::CreateLibraryTabData mUiData
 
std::optional< ElementNamemName
 
std::optional< VersionmVersion
 
std::optional< QUrl > mUrl
 
FilePath mDirectory
 

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 CreateLibraryTab class.

Constructor & Destructor Documentation

◆ CreateLibraryTab() [1/3]

CreateLibraryTab ( )
delete

◆ CreateLibraryTab() [2/3]

CreateLibraryTab ( const CreateLibraryTab other)
delete

◆ CreateLibraryTab() [3/3]

CreateLibraryTab ( GuiApplication app,
QObject *  parent = nullptr 
)
explicitnoexcept
+ Here is the call graph for this function:

◆ ~CreateLibraryTab()

~CreateLibraryTab ( )
noexcept

Member Function Documentation

◆ getUiData()

ui::TabData getUiData ( ) const
overridevirtualnoexcept

Implements WindowTab.

+ Here is the call graph for this function:

◆ getDerivedUiData()

const ui::CreateLibraryTabData & getDerivedUiData ( ) const
inlinenoexcept

◆ setDerivedUiData()

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

◆ operator=()

CreateLibraryTab & operator= ( const CreateLibraryTab 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:

Member Data Documentation

◆ onDerivedUiDataChanged

Signal<CreateLibraryTab> onDerivedUiDataChanged

◆ mUiData

ui::CreateLibraryTabData mUiData
private

◆ mName

std::optional<ElementName> mName
private

◆ mVersion

std::optional<Version> mVersion
private

◆ mUrl

std::optional<QUrl> mUrl
private

◆ mDirectory

FilePath mDirectory
private

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