KiCad library import.
More...
#include <kicadlibraryimport.h>
Inherits QObject.
|
| | KiCadLibraryImport (const KiCadLibraryImport &other)=delete |
| |
| | KiCadLibraryImport (WorkspaceLibraryDb &db, const FilePath &dstLibFp, QObject *parent=nullptr) noexcept |
| |
| | ~KiCadLibraryImport () noexcept |
| |
| State | getState () const noexcept |
| |
| const FilePath & | getLoadedLibsPath () const noexcept |
| |
| const FilePath & | getLoadedShapes3dPath () const noexcept |
| |
| bool | canStartParsing () const noexcept |
| |
| bool | canStartSelecting () const noexcept |
| |
| bool | canStartImport () const noexcept |
| |
| void | setNamePrefix (const QString &prefix) noexcept |
| |
| void | setSymbolCategories (const QSet< Uuid > &uuids) noexcept |
| |
| void | setPackageCategories (const QSet< Uuid > &uuids) noexcept |
| |
| void | setComponentCategories (const QSet< Uuid > &uuids) noexcept |
| |
| void | setDeviceCategories (const QSet< Uuid > &uuids) noexcept |
| |
| void | setSymbolChecked (const QString &libName, const QString &symName, bool checked) noexcept |
| |
| void | setPackageChecked (const QString &libName, const QString &fptName, bool checked) noexcept |
| |
| void | setComponentChecked (const QString &libName, const QString &symName, bool checked) noexcept |
| |
| void | setDeviceChecked (const QString &libName, const QString &symName, bool checked) noexcept |
| |
| void | reset () noexcept |
| |
| bool | startScan (const FilePath &libsFp, const FilePath &shapes3dFp, std::shared_ptr< MessageLogger > log) noexcept |
| |
| bool | startParse (std::shared_ptr< MessageLogger > log) noexcept |
| |
| bool | startImport (std::shared_ptr< MessageLogger > log) noexcept |
| |
| bool | isRunning () const noexcept |
| |
| std::shared_ptr< Result > | getResult () noexcept |
| |
| void | cancel () noexcept |
| |
| KiCadLibraryImport & | operator= (const KiCadLibraryImport &rhs)=delete |
| |
◆ State
| Enumerator |
|---|
| Reset | |
| Scanning | |
| Scanned | |
| Parsing | |
| Parsed | |
| Importing | |
| Imported | |
◆ KiCadLibraryImport() [1/2]
◆ KiCadLibraryImport() [2/2]
◆ ~KiCadLibraryImport()
◆ getState()
◆ getLoadedLibsPath()
| const FilePath & getLoadedLibsPath |
( |
| ) |
const |
|
inlinenoexcept |
◆ getLoadedShapes3dPath()
| const FilePath & getLoadedShapes3dPath |
( |
| ) |
const |
|
inlinenoexcept |
◆ canStartParsing()
| bool canStartParsing |
( |
| ) |
const |
|
noexcept |
◆ canStartSelecting()
| bool canStartSelecting |
( |
| ) |
const |
|
noexcept |
◆ canStartImport()
| bool canStartImport |
( |
| ) |
const |
|
noexcept |
◆ setNamePrefix()
| void setNamePrefix |
( |
const QString & |
prefix | ) |
|
|
noexcept |
◆ setSymbolCategories()
| void setSymbolCategories |
( |
const QSet< Uuid > & |
uuids | ) |
|
|
noexcept |
◆ setPackageCategories()
| void setPackageCategories |
( |
const QSet< Uuid > & |
uuids | ) |
|
|
noexcept |
◆ setComponentCategories()
| void setComponentCategories |
( |
const QSet< Uuid > & |
uuids | ) |
|
|
noexcept |
◆ setDeviceCategories()
| void setDeviceCategories |
( |
const QSet< Uuid > & |
uuids | ) |
|
|
noexcept |
◆ setSymbolChecked()
| void setSymbolChecked |
( |
const QString & |
libName, |
|
|
const QString & |
symName, |
|
|
bool |
checked |
|
) |
| |
|
noexcept |
◆ setPackageChecked()
| void setPackageChecked |
( |
const QString & |
libName, |
|
|
const QString & |
fptName, |
|
|
bool |
checked |
|
) |
| |
|
noexcept |
◆ setComponentChecked()
| void setComponentChecked |
( |
const QString & |
libName, |
|
|
const QString & |
symName, |
|
|
bool |
checked |
|
) |
| |
|
noexcept |
◆ setDeviceChecked()
| void setDeviceChecked |
( |
const QString & |
libName, |
|
|
const QString & |
symName, |
|
|
bool |
checked |
|
) |
| |
|
noexcept |
◆ reset()
◆ startScan()
◆ startParse()
◆ startImport()
◆ isRunning()
◆ getResult()
◆ cancel()
◆ operator=()
◆ symbolCheckStateChanged
| void symbolCheckStateChanged |
( |
const QString & |
libName, |
|
|
const QString & |
symName, |
|
|
Qt::CheckState |
state |
|
) |
| |
|
signal |
◆ packageCheckStateChanged
| void packageCheckStateChanged |
( |
const QString & |
libName, |
|
|
const QString & |
fptName, |
|
|
Qt::CheckState |
state |
|
) |
| |
|
signal |
◆ componentCheckStateChanged
| void componentCheckStateChanged |
( |
const QString & |
libName, |
|
|
const QString & |
symName, |
|
|
Qt::CheckState |
state |
|
) |
| |
|
signal |
◆ progressPercent
| void progressPercent |
( |
int |
percent | ) |
|
|
signal |
◆ progressStatus
| void progressStatus |
( |
QString |
status | ) |
|
|
signal |
◆ scanFinished
◆ parseFinished
◆ importFinished
◆ scan()
◆ parse()
◆ import()
◆ isAlreadyImported()
template<typename T >
| bool isAlreadyImported |
( |
const QString & |
generatedBy | ) |
const |
|
privatenoexcept |
◆ updateDependencies()
| void updateDependencies |
( |
std::shared_ptr< Result > |
result | ) |
|
|
privatenoexcept |
◆ COMPATIBLE_KICAD_VERSION
| constexpr const char* COMPATIBLE_KICAD_VERSION = "9.x" |
|
staticconstexpr |
◆ mDestinationLibraryFp
◆ mLibraryDb
◆ mSettings
◆ mLoadedLibsFp
◆ mLoadedShapes3dFp
◆ mFuture
| QFuture<std::shared_ptr<Result> > mFuture |
|
private |
◆ mState
◆ mAbort
The documentation for this class was generated from the following files: