LibrePCB Developers Documentation
Loading...
Searching...
No Matches
BoardPickPlaceGeneratorDialog Class Referencefinal

The BoardPickPlaceGeneratorDialog class. More...

#include <boardpickplacegeneratordialog.h>

Inherits QDialog.

+ Collaboration diagram for BoardPickPlaceGeneratorDialog:

Public Member Functions

 BoardPickPlaceGeneratorDialog ()=delete
 
 BoardPickPlaceGeneratorDialog (const BoardPickPlaceGeneratorDialog &other)=delete
 
 BoardPickPlaceGeneratorDialog (const WorkspaceSettings &settings, Board &board, QWidget *parent=nullptr)
 
 ~BoardPickPlaceGeneratorDialog ()
 

Private Member Functions

void setFileExtension (const QString &extension) noexcept
 
void btnGenerateClicked () noexcept
 
void updateData () noexcept
 
std::shared_ptr< AssemblyVariantgetAssemblyVariant () const noexcept
 
std::optional< UuidgetAssemblyVariantUuid (bool throwIfNullopt) const
 
FilePath getOutputFilePath (const QString &text) const noexcept
 

Private Attributes

BoardmBoard
 
std::shared_ptr< PickPlaceDatamData
 
QScopedPointer< Ui::BoardPickPlaceGeneratorDialog > mUi
 
QPointer< QPushButton > mBtnGenerate
 

Detailed Description

Constructor & Destructor Documentation

◆ BoardPickPlaceGeneratorDialog() [1/3]

◆ BoardPickPlaceGeneratorDialog() [2/3]

◆ BoardPickPlaceGeneratorDialog() [3/3]

BoardPickPlaceGeneratorDialog ( const WorkspaceSettings settings,
Board board,
QWidget *  parent = nullptr 
)
explicit
+ Here is the call graph for this function:

◆ ~BoardPickPlaceGeneratorDialog()

Member Function Documentation

◆ setFileExtension()

void setFileExtension ( const QString &  extension)
privatenoexcept

◆ btnGenerateClicked()

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

◆ updateData()

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

◆ getAssemblyVariant()

std::shared_ptr< AssemblyVariant > getAssemblyVariant ( ) const
privatenoexcept
+ Here is the call graph for this function:

◆ getAssemblyVariantUuid()

std::optional< Uuid > getAssemblyVariantUuid ( bool  throwIfNullopt) const
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getOutputFilePath()

FilePath getOutputFilePath ( const QString &  text) const
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mBoard

Board& mBoard
private

◆ mData

std::shared_ptr<PickPlaceData> mData
private

◆ mUi

QScopedPointer<Ui::BoardPickPlaceGeneratorDialog> mUi
private

◆ mBtnGenerate

QPointer<QPushButton> mBtnGenerate
private

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