LibrePCB Developers Documentation
NewProjectWizardPage_EagleImport Class Referencefinal

The NewProjectWizardPage_EagleImport class. More...

#include <newprojectwizardpage_eagleimport.h>

Inherits QWizardPage.

+ Collaboration diagram for NewProjectWizardPage_EagleImport:

Classes

struct  ParserResult
 

Signals

void projectSelected (const QString &name) const
 

Public Member Functions

 NewProjectWizardPage_EagleImport (const Workspace &ws, QWidget *parent=nullptr) noexcept
 
 NewProjectWizardPage_EagleImport (const NewProjectWizardPage_EagleImport &other)=delete
 
 ~NewProjectWizardPage_EagleImport () noexcept
 
void import (Project &project)
 
NewProjectWizardPage_EagleImportoperator= (const NewProjectWizardPage_EagleImport &rhs)=delete
 

Private Member Functions

void updateStatus () noexcept
 
bool isComplete () const noexcept override
 

Static Private Member Functions

static NewProjectWizardPage_EagleImport::ParserResult parseAsync (std::shared_ptr< eagleimport::EagleProjectImport > import, const FilePath &schFp, const FilePath &brdFp) noexcept
 

Private Attributes

const WorkspacemWorkspace
 
QScopedPointer< Ui::NewProjectWizardPage_EagleImport > mUi
 
QScopedPointer< WaitingSpinnerWidgetmWaitingSpinner
 
QString mCurrentSchematic
 
QString mCurrentBoard
 
QFuture< ParserResultmFuture
 
std::shared_ptr< eagleimport::EagleProjectImportmImport
 

Detailed Description

Constructor & Destructor Documentation

◆ NewProjectWizardPage_EagleImport() [1/2]

NewProjectWizardPage_EagleImport ( const Workspace ws,
QWidget *  parent = nullptr 
)
explicitnoexcept
+ Here is the call graph for this function:

◆ NewProjectWizardPage_EagleImport() [2/2]

◆ ~NewProjectWizardPage_EagleImport()

Member Function Documentation

◆ import()

void import ( Project project)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

◆ projectSelected

void projectSelected ( const QString &  name) const
signal
+ Here is the caller graph for this function:

◆ updateStatus()

void updateStatus ( )
privatenoexcept
+ Here is the call graph for this function:

◆ parseAsync()

NewProjectWizardPage_EagleImport::ParserResult parseAsync ( std::shared_ptr< eagleimport::EagleProjectImport import,
const FilePath schFp,
const FilePath brdFp 
)
staticprivatenoexcept
+ Here is the call graph for this function:

◆ isComplete()

bool isComplete ( ) const
overrideprivatenoexcept

Member Data Documentation

◆ mWorkspace

const Workspace& mWorkspace
private

◆ mUi

QScopedPointer<Ui::NewProjectWizardPage_EagleImport> mUi
private

◆ mWaitingSpinner

QScopedPointer<WaitingSpinnerWidget> mWaitingSpinner
private

◆ mCurrentSchematic

QString mCurrentSchematic
private

◆ mCurrentBoard

QString mCurrentBoard
private

◆ mFuture

QFuture<ParserResult> mFuture
private

◆ mImport

std::shared_ptr<eagleimport::EagleProjectImport> mImport
private

The documentation for this class was generated from the following files: