20#ifndef LIBREPCB_EDITOR_BOMGENERATORDIALOG_H
21#define LIBREPCB_EDITOR_BOMGENERATORDIALOG_H
29#include <optional/tl/optional.hpp>
46class WorkspaceSettings;
50class PartInformationToolTip;
53class BomGeneratorDialog;
71 const Board* board =
nullptr,
72 QWidget* parent =
nullptr) noexcept;
76 virtual
bool eventFilter(QObject* obj, QEvent* e) noexcept override;
The AssemblyVariant class.
Definition: assemblyvariant.h:45
The Board class represents a PCB of a project and is always part of a circuit.
Definition: board.h:73
The Bom class represents a bill of materials list.
Definition: bom.h:84
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:129
The Project class represents a whole (opened) project with all its content.
Definition: project.h:71
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
Container for all workspace related settings.
Definition: workspacesettings.h:60
The BomGeneratorDialog class.
Definition: bomgeneratordialog.h:63
void updateTable() noexcept
Definition: bomgeneratordialog.cpp:310
FilePath getOutputFilePath() const noexcept
Definition: bomgeneratordialog.cpp:447
QScopedPointer< Ui::BomGeneratorDialog > mUi
Definition: bomgeneratordialog.h:104
void tableCellDoubleClicked(int row, int column) noexcept
Definition: bomgeneratordialog.cpp:264
void updateBom() noexcept
Definition: bomgeneratordialog.cpp:298
QScopedPointer< PartInformationToolTip > mPartToolTip
Definition: bomgeneratordialog.h:106
uint mPartInfoProgress
Definition: bomgeneratordialog.h:107
void btnOpenOutputDirectoryClicked() noexcept
Definition: bomgeneratordialog.cpp:238
BomGeneratorDialog(const BomGeneratorDialog &other)=delete
void cbxBoardCurrentIndexChanged(int index) noexcept
void btnChooseOutputPathClicked() noexcept
Definition: bomgeneratordialog.cpp:230
Project & mProject
Definition: bomgeneratordialog.h:102
const WorkspaceSettings & mSettings
Definition: bomgeneratordialog.h:101
std::shared_ptr< AssemblyVariant > getAssemblyVariant() const noexcept
Definition: bomgeneratordialog.cpp:430
void btnGenerateClicked() noexcept
Definition: bomgeneratordialog.cpp:243
void projectSettingsModified()
bool mUpdatePartInformationScheduled
Definition: bomgeneratordialog.h:108
std::shared_ptr< Bom > mBom
Definition: bomgeneratordialog.h:103
BomGeneratorDialog()=delete
void updateAttributes() noexcept
Definition: bomgeneratordialog.cpp:279
tl::optional< Uuid > getAssemblyVariantUuid(bool throwIfNullopt) const
Definition: bomgeneratordialog.cpp:437
virtual bool eventFilter(QObject *obj, QEvent *e) noexcept override
Definition: bomgeneratordialog.cpp:216
QPointer< QPushButton > mBtnGenerate
Definition: bomgeneratordialog.h:105
void updatePartsInformation() noexcept
Definition: bomgeneratordialog.cpp:348
Definition: occmodel.cpp:77