LibrePCB Developers Documentation
NewElementWizard Class Referencefinal

The NewElementWizard class. More...

#include <newelementwizard.h>

Inherits QWizard.

+ Collaboration diagram for NewElementWizard:

Public Member Functions

 NewElementWizard ()=delete
 
 NewElementWizard (const NewElementWizard &other)=delete
 
 NewElementWizard (const workspace::Workspace &ws, Library &lib, const IF_GraphicsLayerProvider &lp, QWidget *parent=0) noexcept
 
 ~NewElementWizard () noexcept
 
const NewElementWizardContextgetContext () const noexcept
 
void setNewElementType (NewElementWizardContext::ElementType type) noexcept
 
void setElementToCopy (NewElementWizardContext::ElementType type, const FilePath &fp) noexcept
 
bool validateCurrentPage () noexcept override
 
NewElementWizardoperator= (const NewElementWizard &rhs)=delete
 

Private Member Functions

void insertPage (int index, QWizardPage *page) noexcept
 

Private Attributes

QScopedPointer< Ui::NewElementWizard > mUi
 
QScopedPointer< NewElementWizardContextmContext
 
QList< QWizardPage * > mPages
 

Detailed Description

The NewElementWizard class.

Constructor & Destructor Documentation

◆ NewElementWizard() [1/3]

NewElementWizard ( )
delete

◆ NewElementWizard() [2/3]

NewElementWizard ( const NewElementWizard other)
delete

◆ NewElementWizard() [3/3]

NewElementWizard ( const workspace::Workspace ws,
Library lib,
const IF_GraphicsLayerProvider lp,
QWidget *  parent = 0 
)
noexcept

◆ ~NewElementWizard()

~NewElementWizard ( )
noexcept

Member Function Documentation

◆ getContext()

const NewElementWizardContext& getContext ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ setNewElementType()

void setNewElementType ( NewElementWizardContext::ElementType  type)
noexcept
+ Here is the caller graph for this function:

◆ setElementToCopy()

void setElementToCopy ( NewElementWizardContext::ElementType  type,
const FilePath fp 
)
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ validateCurrentPage()

bool validateCurrentPage ( )
overridenoexcept
+ Here is the call graph for this function:

◆ operator=()

NewElementWizard& operator= ( const NewElementWizard rhs)
delete

◆ insertPage()

void insertPage ( int  index,
QWizardPage *  page 
)
privatenoexcept

Member Data Documentation

◆ mUi

QScopedPointer<Ui::NewElementWizard> mUi
private

◆ mContext

QScopedPointer<NewElementWizardContext> mContext
private

◆ mPages

QList<QWizardPage*> mPages
private

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