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

The BomGeneratorDialog class. More...

#include <bomgeneratordialog.h>

Inherits QDialog.

+ Collaboration diagram for BomGeneratorDialog:

Signals

void projectSettingsModified ()
 

Public Member Functions

 BomGeneratorDialog ()=delete
 
 BomGeneratorDialog (const BomGeneratorDialog &other)=delete
 
 BomGeneratorDialog (const WorkspaceSettings &settings, Project &project, const Board *board=nullptr, QWidget *parent=nullptr) noexcept
 
 ~BomGeneratorDialog () noexcept
 
virtual bool eventFilter (QObject *obj, QEvent *e) noexcept override
 
BomGeneratorDialogoperator= (const BomGeneratorDialog &rhs)=delete
 

Private Member Functions

void cbxBoardCurrentIndexChanged (int index) noexcept
 
void btnChooseOutputPathClicked () noexcept
 
void btnOpenOutputDirectoryClicked () noexcept
 
void btnGenerateClicked () noexcept
 
void tableCellDoubleClicked (int row, int column) noexcept
 
void updateAttributes () noexcept
 
void updateBom () noexcept
 
void updateTable () noexcept
 
void updatePartsInformation () noexcept
 
std::shared_ptr< AssemblyVariantgetAssemblyVariant () const noexcept
 
std::optional< UuidgetAssemblyVariantUuid (bool throwIfNullopt) const
 
FilePath getOutputFilePath () const noexcept
 

Private Attributes

const WorkspaceSettingsmSettings
 
ProjectmProject
 
std::shared_ptr< BommBom
 
QScopedPointer< Ui::BomGeneratorDialog > mUi
 
QPointer< QPushButton > mBtnGenerate
 
QScopedPointer< PartInformationToolTipmPartToolTip
 
uint mPartInfoProgress
 
bool mUpdatePartInformationScheduled
 

Detailed Description

The BomGeneratorDialog class.

Constructor & Destructor Documentation

◆ BomGeneratorDialog() [1/3]

BomGeneratorDialog ( )
delete

◆ BomGeneratorDialog() [2/3]

BomGeneratorDialog ( const BomGeneratorDialog other)
delete

◆ BomGeneratorDialog() [3/3]

BomGeneratorDialog ( const WorkspaceSettings settings,
Project project,
const Board board = nullptr,
QWidget *  parent = nullptr 
)
noexcept

◆ ~BomGeneratorDialog()

~BomGeneratorDialog ( )
noexcept

Member Function Documentation

◆ eventFilter()

bool eventFilter ( QObject *  obj,
QEvent *  e 
)
overridevirtualnoexcept

◆ operator=()

BomGeneratorDialog & operator= ( const BomGeneratorDialog rhs)
delete

◆ projectSettingsModified

void projectSettingsModified ( )
signal

◆ cbxBoardCurrentIndexChanged()

void cbxBoardCurrentIndexChanged ( int  index)
privatenoexcept

◆ btnChooseOutputPathClicked()

void btnChooseOutputPathClicked ( )
privatenoexcept

◆ btnOpenOutputDirectoryClicked()

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

◆ btnGenerateClicked()

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

◆ tableCellDoubleClicked()

void tableCellDoubleClicked ( int  row,
int  column 
)
privatenoexcept
+ Here is the call graph for this function:

◆ updateAttributes()

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

◆ updateBom()

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

◆ updateTable()

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

◆ updatePartsInformation()

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

◆ getAssemblyVariant()

std::shared_ptr< AssemblyVariant > getAssemblyVariant ( ) const
privatenoexcept

◆ getAssemblyVariantUuid()

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

◆ getOutputFilePath()

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

Member Data Documentation

◆ mSettings

const WorkspaceSettings& mSettings
private

◆ mProject

Project& mProject
private

◆ mBom

std::shared_ptr<Bom> mBom
private

◆ mUi

QScopedPointer<Ui::BomGeneratorDialog> mUi
private

◆ mBtnGenerate

QPointer<QPushButton> mBtnGenerate
private

◆ mPartToolTip

QScopedPointer<PartInformationToolTip> mPartToolTip
private

◆ mPartInfoProgress

uint mPartInfoProgress
private

◆ mUpdatePartInformationScheduled

bool mUpdatePartInformationScheduled
private

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