20#ifndef LIBREPCB_EDITOR_KICADLIBRARYIMPORTWIZARDCONTEXT_H
21#define LIBREPCB_EDITOR_KICADLIBRARYIMPORTWIZARDCONTEXT_H
41namespace kicadimport {
66 QObject* parent =
nullptr) noexcept;
85 void setLibsPath(
const QString& libsPath,
const QString& shapes3dPath,
86 std::shared_ptr<MessageLogger> log)
noexcept;
105 QScopedPointer<kicadimport::KiCadLibraryImport>
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
The KiCadLibraryImportWizardContext class.
Definition kicadlibraryimportwizardcontext.h:54
const std::optional< Uuid > & getComponentCategory() const noexcept
Definition kicadlibraryimportwizardcontext.h:74
void setLibsPath(const QString &libsPath, const QString &shapes3dPath, std::shared_ptr< MessageLogger > log) noexcept
Definition kicadlibraryimportwizardcontext.cpp:95
KiCadLibraryImportWizardContext(const KiCadLibraryImportWizardContext &other)=delete
std::optional< Uuid > mPackageCategoryUuid
Definition kicadlibraryimportwizardcontext.h:104
kicadimport::KiCadLibraryImport & getImport() const noexcept
Definition kicadlibraryimportwizardcontext.h:80
const FilePath & getShapes3dPath() const noexcept
Definition kicadlibraryimportwizardcontext.h:72
FilePath mShapes3dPath
Definition kicadlibraryimportwizardcontext.h:101
const std::optional< Uuid > & getPackageCategory() const noexcept
Definition kicadlibraryimportwizardcontext.h:77
void setComponentCategory(const std::optional< Uuid > &uuid) noexcept
Definition kicadlibraryimportwizardcontext.cpp:118
Workspace & getWorkspace() const noexcept
Definition kicadlibraryimportwizardcontext.h:70
void setAddNamePrefix(bool add) noexcept
Definition kicadlibraryimportwizardcontext.cpp:113
KiCadLibraryImportWizardContext()=delete
Workspace & mWorkspace
Definition kicadlibraryimportwizardcontext.h:99
void setPackageCategory(const std::optional< Uuid > &uuid) noexcept
Definition kicadlibraryimportwizardcontext.cpp:132
bool getAddNamePrefix() const noexcept
Definition kicadlibraryimportwizardcontext.h:73
QScopedPointer< kicadimport::KiCadLibraryImport > mImport
Definition kicadlibraryimportwizardcontext.h:105
FilePath mLibsPath
Definition kicadlibraryimportwizardcontext.h:100
bool mAddNamePrefix
Definition kicadlibraryimportwizardcontext.h:102
KiCadLibraryImportWizardContext & operator=(const KiCadLibraryImportWizardContext &rhs)=delete
std::optional< Uuid > mComponentCategoryUuid
Definition kicadlibraryimportwizardcontext.h:103
const FilePath & getLibsPath() const noexcept
Definition kicadlibraryimportwizardcontext.h:71
static constexpr const char * NAME_PREFIX
Definition kicadlibraryimportwizardcontext.h:58
KiCad library import.
Definition kicadlibraryimport.h:52
Definition occmodel.cpp:76