LibrePCB Developers Documentation
OrderPcbDialog Class Referencefinal

The OrderPcbDialog class. More...

#include <orderpcbdialog.h>

Inherits QDialog.

+ Collaboration diagram for OrderPcbDialog:

Public Member Functions

 OrderPcbDialog ()=delete
 
 OrderPcbDialog (const OrderPcbDialog &other)=delete
 
 OrderPcbDialog (const WorkspaceSettings &settings, std::function< QByteArray()> createLppzCallback, QWidget *parent=nullptr) noexcept
 
 ~OrderPcbDialog () noexcept
 
OrderPcbDialogoperator= (const OrderPcbDialog &rhs)=delete
 

Private Member Functions

void infoRequestSucceeded (QUrl infoUrl, int maxFileSize) noexcept
 
void infoRequestFailed (QString errorMsg) noexcept
 
void uploadButtonClicked () noexcept
 
void startUpload () noexcept
 
void uploadProgressPercent (int percent) noexcept
 
void uploadSucceeded (const QUrl &redirectUrl) noexcept
 
void uploadFailed (const QString &errorMsg) noexcept
 
void setStatus (const QString msg) noexcept
 
void setError (const QString &msg) noexcept
 

Private Attributes

const WorkspaceSettingsmSettings
 
QScopedPointer< OrderPcbApiRequestmRequest
 
std::function< QByteArray()> mCreateLppzCallback
 
QScopedPointer< Ui::OrderPcbDialog > mUi
 

Detailed Description

The OrderPcbDialog class.

Constructor & Destructor Documentation

◆ OrderPcbDialog() [1/3]

OrderPcbDialog ( )
delete

◆ OrderPcbDialog() [2/3]

OrderPcbDialog ( const OrderPcbDialog other)
delete

◆ OrderPcbDialog() [3/3]

OrderPcbDialog ( const WorkspaceSettings settings,
std::function< QByteArray()>  createLppzCallback,
QWidget *  parent = nullptr 
)
explicitnoexcept
+ Here is the call graph for this function:

◆ ~OrderPcbDialog()

~OrderPcbDialog ( )
noexcept

Member Function Documentation

◆ operator=()

OrderPcbDialog& operator= ( const OrderPcbDialog rhs)
delete

◆ infoRequestSucceeded()

void infoRequestSucceeded ( QUrl  infoUrl,
int  maxFileSize 
)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ infoRequestFailed()

void infoRequestFailed ( QString  errorMsg)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ uploadButtonClicked()

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

◆ startUpload()

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

◆ uploadProgressPercent()

void uploadProgressPercent ( int  percent)
privatenoexcept
+ Here is the caller graph for this function:

◆ uploadSucceeded()

void uploadSucceeded ( const QUrl &  redirectUrl)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ uploadFailed()

void uploadFailed ( const QString &  errorMsg)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setStatus()

void setStatus ( const QString  msg)
privatenoexcept
+ Here is the caller graph for this function:

◆ setError()

void setError ( const QString &  msg)
privatenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ mSettings

const WorkspaceSettings& mSettings
private

◆ mRequest

QScopedPointer<OrderPcbApiRequest> mRequest
private

◆ mCreateLppzCallback

std::function<QByteArray()> mCreateLppzCallback
private

◆ mUi

QScopedPointer<Ui::OrderPcbDialog> mUi
private

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