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

The OutputJobsDialog class. More...

#include <outputjobsdialog.h>

Inherits QDialog.

+ Collaboration diagram for OutputJobsDialog:

Signals

void orderPcbDialogTriggered ()
 

Public Member Functions

 OutputJobsDialog ()=delete
 
 OutputJobsDialog (const OutputJobsDialog &other)=delete
 
 OutputJobsDialog (const WorkspaceSettings &settings, Project &project, UndoStack &undoStack, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~OutputJobsDialog () noexcept
 
virtual void reject () noexcept override
 
OutputJobsDialogoperator= (const OutputJobsDialog &rhs)=delete
 

Private Member Functions

void addClicked () noexcept
 
void copyClicked () noexcept
 
void moveUpClicked () noexcept
 
void moveDownClicked () noexcept
 
void removeClicked () noexcept
 
void openOutputDirectory () noexcept
 
void removeUnknownFiles () noexcept
 
void runJob (std::shared_ptr< OutputJob > job, bool open=false) noexcept
 
void currentItemChanged (QListWidgetItem *current, QListWidgetItem *previous) noexcept
 
void buttonBoxClicked (QAbstractButton *button) noexcept
 
bool applyChanges () noexcept
 
void updateJobsList () noexcept
 
void jobListEdited (const OutputJobList &list, int index, const std::shared_ptr< const OutputJob > &obj, OutputJobList::Event event) noexcept
 
void writeTitleLine (const QString &msg) noexcept
 
void writeOutputFileLine (const FilePath &fp) noexcept
 
void writeUnknownFileLine (const FilePath &fp) noexcept
 
void writeStrikeThroughLine (const QString &msg) noexcept
 
void writeWarningLine (const QString &msg) noexcept
 
void writeErrorLine (const QString &msg) noexcept
 
void writeSuccessLine () noexcept
 
void writeLogLine (const QString &line) noexcept
 

Private Attributes

const WorkspaceSettingsmSettings
 
ProjectmProject
 
UndoStackmUndoStack
 
const QString mSettingsPrefix
 
OutputJobList mJobs
 
QScopedPointer< Ui::OutputJobsDialog > mUi
 
OutputJobList::OnEditedSlot mOnJobsEditedSlot
 

Detailed Description

The OutputJobsDialog class.

Constructor & Destructor Documentation

◆ OutputJobsDialog() [1/3]

OutputJobsDialog ( )
delete

◆ OutputJobsDialog() [2/3]

OutputJobsDialog ( const OutputJobsDialog other)
delete

◆ OutputJobsDialog() [3/3]

OutputJobsDialog ( const WorkspaceSettings settings,
Project project,
UndoStack undoStack,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
explicitnoexcept
+ Here is the call graph for this function:

◆ ~OutputJobsDialog()

~OutputJobsDialog ( )
noexcept

Member Function Documentation

◆ reject()

void reject ( )
overridevirtualnoexcept

◆ operator=()

OutputJobsDialog & operator= ( const OutputJobsDialog rhs)
delete

◆ orderPcbDialogTriggered

void orderPcbDialogTriggered ( )
signal

◆ addClicked()

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

◆ copyClicked()

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

◆ moveUpClicked()

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

◆ moveDownClicked()

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

◆ removeClicked()

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

◆ openOutputDirectory()

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

◆ removeUnknownFiles()

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

◆ runJob()

void runJob ( std::shared_ptr< OutputJob job,
bool  open = false 
)
privatenoexcept
+ Here is the call graph for this function:

◆ currentItemChanged()

void currentItemChanged ( QListWidgetItem *  current,
QListWidgetItem *  previous 
)
privatenoexcept
+ Here is the call graph for this function:

◆ buttonBoxClicked()

void buttonBoxClicked ( QAbstractButton *  button)
privatenoexcept
+ Here is the caller graph for this function:

◆ applyChanges()

bool applyChanges ( )
privatenoexcept
+ Here is the call graph for this function:

◆ updateJobsList()

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

◆ jobListEdited()

void jobListEdited ( const OutputJobList list,
int  index,
const std::shared_ptr< const OutputJob > &  obj,
OutputJobList::Event  event 
)
privatenoexcept

◆ writeTitleLine()

void writeTitleLine ( const QString &  msg)
privatenoexcept

◆ writeOutputFileLine()

void writeOutputFileLine ( const FilePath fp)
privatenoexcept

◆ writeUnknownFileLine()

void writeUnknownFileLine ( const FilePath fp)
privatenoexcept

◆ writeStrikeThroughLine()

void writeStrikeThroughLine ( const QString &  msg)
privatenoexcept

◆ writeWarningLine()

void writeWarningLine ( const QString &  msg)
privatenoexcept

◆ writeErrorLine()

void writeErrorLine ( const QString &  msg)
privatenoexcept

◆ writeSuccessLine()

void writeSuccessLine ( )
privatenoexcept

◆ writeLogLine()

void writeLogLine ( const QString &  line)
privatenoexcept

Member Data Documentation

◆ mSettings

const WorkspaceSettings& mSettings
private

◆ mProject

Project& mProject
private

◆ mUndoStack

UndoStack& mUndoStack
private

◆ mSettingsPrefix

const QString mSettingsPrefix
private

◆ mJobs

OutputJobList mJobs
private

◆ mUi

QScopedPointer<Ui::OutputJobsDialog> mUi
private

◆ mOnJobsEditedSlot

OutputJobList::OnEditedSlot mOnJobsEditedSlot
private

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