LibrePCB Developers Documentation
GraphicsOutputJobWidget Class Referencefinal

The GraphicsOutputJobWidget class. More...

#include <graphicsoutputjobwidget.h>

Inherits QWidget.

+ Collaboration diagram for GraphicsOutputJobWidget:

Public Member Functions

 GraphicsOutputJobWidget ()=delete
 
 GraphicsOutputJobWidget (const GraphicsOutputJobWidget &other)=delete
 
 GraphicsOutputJobWidget (Project &project, std::shared_ptr< GraphicsOutputJob > job, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~GraphicsOutputJobWidget () noexcept
 
GraphicsOutputJobWidgetoperator= (const GraphicsOutputJobWidget &rhs)=delete
 

Private Member Functions

void addClicked () noexcept
 
void copyClicked () noexcept
 
void removeClicked () noexcept
 
void currentContentChanged (int index) noexcept
 
void updateContentList () noexcept
 
void layerListItemDoubleClicked (QListWidgetItem *item) noexcept
 
void modify (std::function< void(GraphicsOutputJob::Content &)> fun) noexcept
 
void updatePreview () noexcept
 

Private Attributes

ProjectmProject
 
std::shared_ptr< GraphicsOutputJobmJob
 
QScopedPointer< OutputJobRunnermPreviewRunner
 
QScopedPointer< GraphicsExportmPreviewGraphicsExport
 
QList< tl::optional< QPageSize > > mPageSizes
 
bool mDisableModification
 
QScopedPointer< Ui::GraphicsOutputJobWidget > mUi
 

Detailed Description

Constructor & Destructor Documentation

◆ GraphicsOutputJobWidget() [1/3]

◆ GraphicsOutputJobWidget() [2/3]

◆ GraphicsOutputJobWidget() [3/3]

GraphicsOutputJobWidget ( Project project,
std::shared_ptr< GraphicsOutputJob job,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
explicitnoexcept
+ Here is the call graph for this function:

◆ ~GraphicsOutputJobWidget()

~GraphicsOutputJobWidget ( )
noexcept

Member Function Documentation

◆ operator=()

GraphicsOutputJobWidget & operator= ( const GraphicsOutputJobWidget rhs)
delete

◆ addClicked()

void addClicked ( )
privatenoexcept

◆ copyClicked()

void copyClicked ( )
privatenoexcept

◆ removeClicked()

void removeClicked ( )
privatenoexcept

◆ currentContentChanged()

void currentContentChanged ( int  index)
privatenoexcept
+ Here is the call graph for this function:

◆ updateContentList()

void updateContentList ( )
privatenoexcept

◆ layerListItemDoubleClicked()

void layerListItemDoubleClicked ( QListWidgetItem *  item)
privatenoexcept

◆ modify()

void modify ( std::function< void(GraphicsOutputJob::Content &)>  fun)
privatenoexcept

◆ updatePreview()

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

Member Data Documentation

◆ mProject

Project& mProject
private

◆ mJob

std::shared_ptr<GraphicsOutputJob> mJob
private

◆ mPreviewRunner

QScopedPointer<OutputJobRunner> mPreviewRunner
private

◆ mPreviewGraphicsExport

QScopedPointer<GraphicsExport> mPreviewGraphicsExport
private

◆ mPageSizes

QList<tl::optional<QPageSize> > mPageSizes
private

◆ mDisableModification

bool mDisableModification
private

◆ mUi

QScopedPointer<Ui::GraphicsOutputJobWidget> mUi
private

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