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::Workspace &ws, QWidget *parent=nullptr) noexcept
 
 NewProjectWizardPage_Metadata (const NewProjectWizardPage_Metadata &other)=delete
 
 ~NewProjectWizardPage_Metadata () noexcept
 
void setDefaultLocation (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 locationChanged (const QString &dir) noexcept
 
void chooseLocationClicked () noexcept
 
void updateProjectFilePath () noexcept
 
bool isComplete () const noexcept override
 
bool validatePage () noexcept override
 

Private Attributes

QScopedPointer< Ui::NewProjectWizardPage_Metadata > mUi
 
FilePath mFullFilePath
 

Detailed Description

Constructor & Destructor Documentation

◆ NewProjectWizardPage_Metadata() [1/2]

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

◆ NewProjectWizardPage_Metadata() [2/2]

◆ ~NewProjectWizardPage_Metadata()

Member Function Documentation

◆ setDefaultLocation()

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

◆ 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 caller graph for this function:

◆ getFullFilePath()

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

◆ operator=()

◆ nameChanged()

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

◆ locationChanged()

void locationChanged ( const QString &  dir)
privatenoexcept
+ Here is the call graph for this function:
+ 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:

◆ updateProjectFilePath()

void updateProjectFilePath ( )
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:

Member Data Documentation

◆ mUi

QScopedPointer<Ui::NewProjectWizardPage_Metadata> mUi
private

◆ mFullFilePath

FilePath mFullFilePath
private

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