20#ifndef LIBREPCB_EDITOR_EAGLELIBRARYIMPORTWIZARDCONTEXT_H
21#define LIBREPCB_EDITOR_EAGLELIBRARYIMPORTWIZARDCONTEXT_H
40namespace eagleimport {
41class EagleLibraryImport;
65 QObject* parent =
nullptr) noexcept;
95 QScopedPointer<eagleimport::EagleLibraryImport>
mImport;
This class represents absolute, well-formatted paths to files or directories.
Definition filepath.h:127
The Workspace class represents a workspace with all its data (library, projects, settings,...
Definition workspace.h:54
EAGLE library (*.lbr) import.
Definition eaglelibraryimport.h:59
The EagleLibraryImportWizardContext class.
Definition eaglelibraryimportwizardcontext.h:53
const std::optional< Uuid > & getComponentCategory() const noexcept
Definition eaglelibraryimportwizardcontext.h:73
FilePath mLbrFilePath
Definition eaglelibraryimportwizardcontext.h:96
std::optional< Uuid > mPackageCategoryUuid
Definition eaglelibraryimportwizardcontext.h:99
void setLbrFilePath(const QString &filePath) noexcept
Definition eaglelibraryimportwizardcontext.cpp:90
const std::optional< Uuid > & getPackageCategory() const noexcept
Definition eaglelibraryimportwizardcontext.h:76
void setComponentCategory(const std::optional< Uuid > &uuid) noexcept
Definition eaglelibraryimportwizardcontext.cpp:117
Workspace & getWorkspace() const noexcept
Definition eaglelibraryimportwizardcontext.h:69
const FilePath & getLbrFilePath() const noexcept
Definition eaglelibraryimportwizardcontext.h:71
void parseCompleted(const QString &messages)
EagleLibraryImportWizardContext(const EagleLibraryImportWizardContext &other)=delete
QScopedPointer< eagleimport::EagleLibraryImport > mImport
Definition eaglelibraryimportwizardcontext.h:95
void setAddNamePrefix(bool add) noexcept
Definition eaglelibraryimportwizardcontext.cpp:112
EagleLibraryImportWizardContext()=delete
Workspace & mWorkspace
Definition eaglelibraryimportwizardcontext.h:94
void setPackageCategory(const std::optional< Uuid > &uuid) noexcept
Definition eaglelibraryimportwizardcontext.cpp:131
EagleLibraryImportWizardContext & operator=(const EagleLibraryImportWizardContext &rhs)=delete
bool getAddNamePrefix() const noexcept
Definition eaglelibraryimportwizardcontext.h:72
bool mAddNamePrefix
Definition eaglelibraryimportwizardcontext.h:97
eagleimport::EagleLibraryImport & getImport() noexcept
Definition eaglelibraryimportwizardcontext.h:70
std::optional< Uuid > mComponentCategoryUuid
Definition eaglelibraryimportwizardcontext.h:98
static constexpr const char * NAME_PREFIX
Definition eaglelibraryimportwizardcontext.h:57
Definition occmodel.cpp:76