LibrePCB Developers Documentation
EagleLibraryImportWizardContext Class Referencefinal

The EagleLibraryImportWizardContext class. More...

#include <eaglelibraryimportwizardcontext.h>

Inherits QObject.

+ Collaboration diagram for EagleLibraryImportWizardContext:

Signals

void parseCompleted (const QString &messages)
 

Public Member Functions

 EagleLibraryImportWizardContext ()=delete
 
 EagleLibraryImportWizardContext (const EagleLibraryImportWizardContext &other)=delete
 
 EagleLibraryImportWizardContext (Workspace &workspace, const FilePath &dstLibFp, QObject *parent=nullptr) noexcept
 
 ~EagleLibraryImportWizardContext () noexcept
 
WorkspacegetWorkspace () const noexcept
 
eagleimport::EagleLibraryImportgetImport () noexcept
 
const FilePathgetLbrFilePath () const noexcept
 
bool getAddNamePrefix () const noexcept
 
const tl::optional< Uuid > & getComponentCategory () const noexcept
 
const tl::optional< Uuid > & getPackageCategory () const noexcept
 
void setLbrFilePath (const QString &filePath) noexcept
 
void setAddNamePrefix (bool add) noexcept
 
void setComponentCategory (const tl::optional< Uuid > &uuid) noexcept
 
void setPackageCategory (const tl::optional< Uuid > &uuid) noexcept
 
EagleLibraryImportWizardContextoperator= (const EagleLibraryImportWizardContext &rhs)=delete
 

Static Public Attributes

static constexpr const char * NAME_PREFIX = "EAGLE_"
 

Private Attributes

WorkspacemWorkspace
 
QScopedPointer< eagleimport::EagleLibraryImportmImport
 
FilePath mLbrFilePath
 
bool mAddNamePrefix
 
tl::optional< UuidmComponentCategoryUuid
 
tl::optional< UuidmPackageCategoryUuid
 

Detailed Description

Constructor & Destructor Documentation

◆ EagleLibraryImportWizardContext() [1/3]

◆ EagleLibraryImportWizardContext() [2/3]

◆ EagleLibraryImportWizardContext() [3/3]

EagleLibraryImportWizardContext ( Workspace workspace,
const FilePath dstLibFp,
QObject *  parent = nullptr 
)
noexcept
+ Here is the call graph for this function:

◆ ~EagleLibraryImportWizardContext()

+ Here is the call graph for this function:

Member Function Documentation

◆ getWorkspace()

Workspace & getWorkspace ( ) const
inlinenoexcept

◆ getImport()

eagleimport::EagleLibraryImport & getImport ( )
inlinenoexcept

◆ getLbrFilePath()

const FilePath & getLbrFilePath ( ) const
inlinenoexcept

◆ getAddNamePrefix()

bool getAddNamePrefix ( ) const
inlinenoexcept

◆ getComponentCategory()

const tl::optional< Uuid > & getComponentCategory ( ) const
inlinenoexcept

◆ getPackageCategory()

const tl::optional< Uuid > & getPackageCategory ( ) const
inlinenoexcept

◆ setLbrFilePath()

void setLbrFilePath ( const QString &  filePath)
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setAddNamePrefix()

void setAddNamePrefix ( bool  add)
noexcept
+ Here is the caller graph for this function:

◆ setComponentCategory()

void setComponentCategory ( const tl::optional< Uuid > &  uuid)
noexcept

◆ setPackageCategory()

void setPackageCategory ( const tl::optional< Uuid > &  uuid)
noexcept

◆ operator=()

◆ parseCompleted

void parseCompleted ( const QString &  messages)
signal

Member Data Documentation

◆ NAME_PREFIX

constexpr const char* NAME_PREFIX = "EAGLE_"
staticconstexpr

◆ mWorkspace

Workspace& mWorkspace
private

◆ mImport

QScopedPointer<eagleimport::EagleLibraryImport> mImport
private

◆ mLbrFilePath

FilePath mLbrFilePath
private

◆ mAddNamePrefix

bool mAddNamePrefix
private

◆ mComponentCategoryUuid

tl::optional<Uuid> mComponentCategoryUuid
private

◆ mPackageCategoryUuid

tl::optional<Uuid> mPackageCategoryUuid
private

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