20#ifndef LIBREPCB_EDITOR_NEWELEMENTWIZARDCONTEXT_H
21#define LIBREPCB_EDITOR_NEWELEMENTWIZARDCONTEXT_H
49class IF_GraphicsLayerProvider;
92 QObject* parent =
nullptr) noexcept;
The ComponentCategory class.
Definition: componentcategory.h:44
The Component class represents a "generic" device in the library.
Definition: component.h:73
The Device class represents an instance of a component (a "real" component)
Definition: device.h:55
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:129
The Library class represents a library directory.
Definition: library.h:46
The PackageCategory class.
Definition: packagecategory.h:44
The Package class represents a package of a component (including footprint and 3D model)
Definition: package.h:59
The Symbol class represents the part of a component which is added to schematics.
Definition: symbol.h:55
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
The Version class represents a version number in the format "1.42.7".
Definition: version.h:58
The Workspace class represents a workspace with all its data (library, projects, settings,...
Definition: workspace.h:54
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.
Definition: graphicslayer.h:111
The NewElementWizardContext class.
Definition: newelementwizardcontext.h:58
PackagePadList mPackagePads
Definition: newelementwizardcontext.h:139
ElementType
Definition: newelementwizardcontext.h:77
ComponentSymbolVariantList mComponentSymbolVariants
Definition: newelementwizardcontext.h:149
Library & mLibrary
Definition: newelementwizardcontext.h:116
bool mComponentSchematicOnly
Definition: newelementwizardcontext.h:144
FilePath mOutputDirectory
Definition: newelementwizardcontext.h:118
void reset(ElementType newType=ElementType::None) noexcept
Definition: newelementwizardcontext.cpp:75
const QStringList & getLibLocaleOrder() const noexcept
Definition: newelementwizardcontext.cpp:67
QSet< Uuid > mElementCategoryUuids
Definition: newelementwizardcontext.h:129
PageId
Definition: newelementwizardcontext.h:64
@ ID_ComponentPinSignalMap
Definition: newelementwizardcontext.h:73
@ ID_None
last page
Definition: newelementwizardcontext.h:65
@ ID_ChooseType
Definition: newelementwizardcontext.h:66
@ ID_DeviceProperties
Definition: newelementwizardcontext.h:74
@ ID_ComponentSignals
Definition: newelementwizardcontext.h:72
@ ID_ComponentSymbols
Definition: newelementwizardcontext.h:71
@ ID_EnterMetadata
Definition: newelementwizardcontext.h:68
@ ID_PackagePads
Definition: newelementwizardcontext.h:69
@ ID_CopyFrom
Definition: newelementwizardcontext.h:67
@ ID_ComponentProperties
Definition: newelementwizardcontext.h:70
const IF_GraphicsLayerProvider & getLayerProvider() const noexcept
Definition: newelementwizardcontext.h:100
NewElementWizardContext()=delete
tl::optional< Version > mElementVersion
Definition: newelementwizardcontext.h:128
QHash< QString, QByteArray > mFiles
Definition: newelementwizardcontext.h:122
QString mElementKeywords
Definition: newelementwizardcontext.h:126
QString mElementAuthor
Definition: newelementwizardcontext.h:127
PackageModelList mPackageModels
Definition: newelementwizardcontext.h:140
FootprintList mPackageFootprints
Definition: newelementwizardcontext.h:141
AttributeList mComponentAttributes
Definition: newelementwizardcontext.h:145
DevicePadSignalMap mDevicePadSignalMap
Definition: newelementwizardcontext.h:154
void createLibraryElement()
Definition: newelementwizardcontext.cpp:372
tl::optional< Uuid > mDevicePackageUuid
Definition: newelementwizardcontext.h:153
TextList mSymbolTexts
Definition: newelementwizardcontext.h:135
const Workspace & mWorkspace
Definition: newelementwizardcontext.h:115
const IF_GraphicsLayerProvider & mLayerProvider
Definition: newelementwizardcontext.h:117
Package::AssemblyType mPackageAssemblyType
Definition: newelementwizardcontext.h:138
CircleList mSymbolCircles
Definition: newelementwizardcontext.h:134
QString mComponentDefaultValue
Definition: newelementwizardcontext.h:146
const FilePath & getOutputDirectory() const noexcept
Definition: newelementwizardcontext.h:96
tl::optional< ElementName > mElementName
Definition: newelementwizardcontext.h:124
void copyElement(ElementType type, const FilePath &fp)
Definition: newelementwizardcontext.cpp:114
ComponentSignalList mComponentSignals
Definition: newelementwizardcontext.h:148
NewElementWizardContext(const NewElementWizardContext &other)=delete
const Workspace & getWorkspace() const noexcept
Definition: newelementwizardcontext.h:99
SymbolPinList mSymbolPins
Definition: newelementwizardcontext.h:132
ElementType mElementType
Definition: newelementwizardcontext.h:123
tl::optional< Uuid > mDeviceComponentUuid
Definition: newelementwizardcontext.h:152
QString mElementDescription
Definition: newelementwizardcontext.h:125
PartList mDeviceParts
Definition: newelementwizardcontext.h:156
PolygonList mSymbolPolygons
Definition: newelementwizardcontext.h:133
AttributeList mDeviceAttributes
Definition: newelementwizardcontext.h:155
NormDependentPrefixMap mComponentPrefixes
Definition: newelementwizardcontext.h:147
Definition: occmodel.cpp:77
type_safe::constrained_type< QString, ElementNameConstraint, ElementNameVerifier > ElementName
Definition: elementname.h:84