20#ifndef LIBREPCB_EDITOR_EAGLELIBRARYIMPORTWIZARDCONTEXT_H
21#define LIBREPCB_EDITOR_EAGLELIBRARYIMPORTWIZARDCONTEXT_H
28#include <optional/tl/optional.hpp>
39namespace eagleimport {
40class EagleLibraryImport;
64 QObject* parent =
nullptr) noexcept;
94 QScopedPointer<eagleimport::EagleLibraryImport>
mImport;
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:129
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:52
tl::optional< Uuid > mComponentCategoryUuid
Definition: eaglelibraryimportwizardcontext.h:97
void setComponentCategory(const tl::optional< Uuid > &uuid) noexcept
Definition: eaglelibraryimportwizardcontext.cpp:117
tl::optional< Uuid > mPackageCategoryUuid
Definition: eaglelibraryimportwizardcontext.h:98
FilePath mLbrFilePath
Definition: eaglelibraryimportwizardcontext.h:95
void setLbrFilePath(const QString &filePath) noexcept
Definition: eaglelibraryimportwizardcontext.cpp:90
void setPackageCategory(const tl::optional< Uuid > &uuid) noexcept
Definition: eaglelibraryimportwizardcontext.cpp:131
Workspace & getWorkspace() const noexcept
Definition: eaglelibraryimportwizardcontext.h:68
const FilePath & getLbrFilePath() const noexcept
Definition: eaglelibraryimportwizardcontext.h:70
const tl::optional< Uuid > & getPackageCategory() const noexcept
Definition: eaglelibraryimportwizardcontext.h:75
void parseCompleted(const QString &messages)
EagleLibraryImportWizardContext(const EagleLibraryImportWizardContext &other)=delete
QScopedPointer< eagleimport::EagleLibraryImport > mImport
Definition: eaglelibraryimportwizardcontext.h:94
void setAddNamePrefix(bool add) noexcept
Definition: eaglelibraryimportwizardcontext.cpp:112
EagleLibraryImportWizardContext()=delete
Workspace & mWorkspace
Definition: eaglelibraryimportwizardcontext.h:93
EagleLibraryImportWizardContext & operator=(const EagleLibraryImportWizardContext &rhs)=delete
bool getAddNamePrefix() const noexcept
Definition: eaglelibraryimportwizardcontext.h:71
bool mAddNamePrefix
Definition: eaglelibraryimportwizardcontext.h:96
eagleimport::EagleLibraryImport & getImport() noexcept
Definition: eaglelibraryimportwizardcontext.h:69
static constexpr const char * NAME_PREFIX
Definition: eaglelibraryimportwizardcontext.h:56
const tl::optional< Uuid > & getComponentCategory() const noexcept
Definition: eaglelibraryimportwizardcontext.h:72
Definition: occmodel.cpp:77