LibrePCB Developers Documentation
|
EAGLE library (*.lbr) import. More...
#include <eaglelibraryimport.h>
Inherits QThread.
Classes | |
struct | Component |
struct | Device |
struct | Package |
struct | Symbol |
Signals | |
void | symbolCheckStateChanged (const QString &name, Qt::CheckState state) |
void | packageCheckStateChanged (const QString &name, Qt::CheckState state) |
void | componentCheckStateChanged (const QString &name, Qt::CheckState state) |
void | progressStatus (const QString &status) |
void | progressPercent (int percent) |
void | finished () |
Public Member Functions | |
EagleLibraryImport (const EagleLibraryImport &other)=delete | |
EagleLibraryImport (const FilePath &dstLibFp, QObject *parent=nullptr) noexcept | |
~EagleLibraryImport () noexcept | |
std::shared_ptr< MessageLogger > | getLogger () const noexcept |
const FilePath & | getLoadedFilePath () const noexcept |
int | getTotalElementsCount () const noexcept |
int | getCheckedElementsCount () const noexcept |
int | getCheckedSymbolsCount () const noexcept |
int | getCheckedPackagesCount () const noexcept |
int | getCheckedComponentsCount () const noexcept |
int | getCheckedDevicesCount () const noexcept |
const QVector< Symbol > & | getSymbols () const noexcept |
const QVector< Package > & | getPackages () const noexcept |
const QVector< Component > & | getComponents () const noexcept |
const QVector< Device > & | getDevices () 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 &name, bool checked) noexcept |
void | setPackageChecked (const QString &name, bool checked) noexcept |
void | setComponentChecked (const QString &name, bool checked) noexcept |
void | setDeviceChecked (const QString &name, bool checked) noexcept |
void | reset () noexcept |
QStringList | open (const FilePath &lbr) |
EagleLibraryImport & | operator= (const EagleLibraryImport &rhs)=delete |
Private Member Functions | |
template<typename T > | |
int | getCheckedElementsCount (const QVector< T > &elements) const noexcept |
template<typename T > | |
void | setElementChecked (QVector< T > &elements, const QString &name, bool checked) noexcept |
void | updateDependencies () noexcept |
template<typename T > | |
bool | setElementDependent (T &element, bool dependent) noexcept |
void | run () noexcept override |
Private Attributes | |
const FilePath | mDestinationLibraryFp |
QScopedPointer< EagleLibraryConverterSettings > | mSettings |
std::shared_ptr< MessageLogger > | mLogger |
bool | mAbort |
FilePath | mLoadedFilePath |
QVector< Symbol > | mSymbols |
QVector< Package > | mPackages |
QVector< Component > | mComponents |
QVector< Device > | mDevices |
EAGLE library (*.lbr) import.
|
delete |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
QStringList open | ( | const FilePath & | lbr | ) |
|
delete |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
overrideprivatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |