LibrePCB Developers Documentation
NewProjectWizard Class Referencefinal

The NewProjectWizard class. More...

#include <newprojectwizard.h>

Inherits QWizard.

+ Collaboration diagram for NewProjectWizard:

Public Types

enum class  Mode
 

Public Member Functions

 NewProjectWizard ()=delete
 
 NewProjectWizard (const NewProjectWizard &other)=delete
 
 NewProjectWizard (const Workspace &ws, Mode mode, QWidget *parent=nullptr) noexcept
 
 ~NewProjectWizard () noexcept
 
void setLocationOverride (const FilePath &dir) noexcept
 
std::unique_ptr< ProjectcreateProject () const
 
NewProjectWizardoperator= (const NewProjectWizard &rhs)=delete
 

Private Attributes

const WorkspacemWorkspace
 
const Mode mMode
 
QScopedPointer< Ui::NewProjectWizard > mUi
 
NewProjectWizardPage_EagleImportmPageEagleImport
 
NewProjectWizardPage_MetadatamPageMetadata
 
NewProjectWizardPage_InitializationmPageInitialization
 

Detailed Description

The NewProjectWizard class.

Member Enumeration Documentation

◆ Mode

enum class Mode
strong
Enumerator
NewProject 
EagleImport 

Constructor & Destructor Documentation

◆ NewProjectWizard() [1/3]

NewProjectWizard ( )
delete

◆ NewProjectWizard() [2/3]

NewProjectWizard ( const NewProjectWizard other)
delete

◆ NewProjectWizard() [3/3]

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

◆ ~NewProjectWizard()

~NewProjectWizard ( )
noexcept

Member Function Documentation

◆ setLocationOverride()

void setLocationOverride ( const FilePath dir)
noexcept
+ Here is the caller graph for this function:

◆ createProject()

std::unique_ptr< Project > createProject ( ) const
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

NewProjectWizard & operator= ( const NewProjectWizard rhs)
delete

Member Data Documentation

◆ mWorkspace

const Workspace& mWorkspace
private

◆ mMode

const Mode mMode
private

◆ mUi

QScopedPointer<Ui::NewProjectWizard> mUi
private

◆ mPageEagleImport

NewProjectWizardPage_EagleImport* mPageEagleImport
private

◆ mPageMetadata

NewProjectWizardPage_Metadata* mPageMetadata
private

◆ mPageInitialization

NewProjectWizardPage_Initialization* mPageInitialization
private

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