LibrePCB Developers Documentation
NewProjectWizardPage_Metadata Class Referencefinal

The NewProjectWizardPage_Metadata class. More...

#include <newprojectwizardpage_metadata.h>

Inherits QWizardPage.

+ Collaboration diagram for NewProjectWizardPage_Metadata:

Public Member Functions

 NewProjectWizardPage_Metadata (const Workspace &ws, QWidget *parent=nullptr) noexcept
 
 NewProjectWizardPage_Metadata (const NewProjectWizardPage_Metadata &other)=delete
 
 ~NewProjectWizardPage_Metadata () noexcept
 
void setProjectName (const QString &name) noexcept
 
void setLocationOverride (const FilePath &dir) noexcept
 
QString getProjectName () const noexcept
 
QString getProjectAuthor () const noexcept
 
bool isLicenseSet () const noexcept
 
FilePath getProjectLicenseFilePath () const noexcept
 
FilePath getFullFilePath () const noexcept
 
NewProjectWizardPage_Metadataoperator= (const NewProjectWizardPage_Metadata &rhs)=delete
 

Private Member Functions

void nameChanged (const QString &name) noexcept
 
void pathChanged (const QString &fp) noexcept
 
void chooseLocationClicked () noexcept
 
bool isComplete () const noexcept override
 
bool validatePage () noexcept override
 
void setStatusMessage (const QString &msg) const noexcept
 

Private Attributes

const WorkspacemWorkspace
 
QScopedPointer< Ui::NewProjectWizardPage_Metadata > mUi
 
FilePath mLocation
 
bool mLocationOverridden
 
FilePath mFullFilePath
 

Detailed Description

Constructor & Destructor Documentation

◆ NewProjectWizardPage_Metadata() [1/2]

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

◆ NewProjectWizardPage_Metadata() [2/2]

◆ ~NewProjectWizardPage_Metadata()

+ Here is the call graph for this function:

Member Function Documentation

◆ setProjectName()

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

◆ setLocationOverride()

void setLocationOverride ( const FilePath dir)
noexcept

◆ getProjectName()

QString getProjectName ( ) const
noexcept
+ Here is the caller graph for this function:

◆ getProjectAuthor()

QString getProjectAuthor ( ) const
noexcept
+ Here is the caller graph for this function:

◆ isLicenseSet()

bool isLicenseSet ( ) const
noexcept
+ Here is the caller graph for this function:

◆ getProjectLicenseFilePath()

FilePath getProjectLicenseFilePath ( ) const
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFullFilePath()

FilePath getFullFilePath ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ operator=()

NewProjectWizardPage_Metadata & operator= ( const NewProjectWizardPage_Metadata rhs)
delete

◆ nameChanged()

void nameChanged ( const QString &  name)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pathChanged()

void pathChanged ( const QString &  fp)
privatenoexcept
+ Here is the caller graph for this function:

◆ chooseLocationClicked()

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

◆ isComplete()

bool isComplete ( ) const
overrideprivatenoexcept
+ Here is the call graph for this function:

◆ validatePage()

bool validatePage ( )
overrideprivatenoexcept
+ Here is the call graph for this function:

◆ setStatusMessage()

void setStatusMessage ( const QString &  msg) const
privatenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ mWorkspace

const Workspace& mWorkspace
private

◆ mUi

QScopedPointer<Ui::NewProjectWizardPage_Metadata> mUi
private

◆ mLocation

FilePath mLocation
private

◆ mLocationOverridden

bool mLocationOverridden
private

◆ mFullFilePath

FilePath mFullFilePath
private

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