20#ifndef LIBREPCB_EDITOR_ORDERPCBDIALOG_H
21#define LIBREPCB_EDITOR_ORDERPCBDIALOG_H
36class OrderPcbApiRequest;
37class WorkspaceSettings;
60 std::function<QByteArray()> createLppzCallback,
61 QWidget* parent =
nullptr) noexcept;
75 void setStatus(const QString msg) noexcept;
76 void setError(const QString& msg) noexcept;
Order a PCB via a LibrePCB API server.
Definition: orderpcbapirequest.h:42
Container for all workspace related settings.
Definition: workspacesettings.h:60
The OrderPcbDialog class.
Definition: orderpcbdialog.h:52
void setError(const QString &msg) noexcept
Definition: orderpcbdialog.cpp:233
void infoRequestFailed(QString errorMsg) noexcept
Definition: orderpcbdialog.cpp:142
void setStatus(const QString msg) noexcept
Definition: orderpcbdialog.cpp:227
OrderPcbDialog(const OrderPcbDialog &other)=delete
void uploadSucceeded(const QUrl &redirectUrl) noexcept
Definition: orderpcbdialog.cpp:194
void uploadProgressPercent(int percent) noexcept
Definition: orderpcbdialog.cpp:190
QScopedPointer< Ui::OrderPcbDialog > mUi
Definition: orderpcbdialog.h:82
void infoRequestSucceeded(QUrl infoUrl, int maxFileSize) noexcept
Definition: orderpcbdialog.cpp:121
const WorkspaceSettings & mSettings
Definition: orderpcbdialog.h:79
void uploadFailed(const QString &errorMsg) noexcept
Definition: orderpcbdialog.cpp:219
QScopedPointer< OrderPcbApiRequest > mRequest
Definition: orderpcbdialog.h:80
void uploadButtonClicked() noexcept
Definition: orderpcbdialog.cpp:149
std::function< QByteArray()> mCreateLppzCallback
Definition: orderpcbdialog.h:81
void startUpload() noexcept
Definition: orderpcbdialog.cpp:161
Definition: occmodel.cpp:77