20#ifndef LIBREPCB_EDITOR_DXFIMPORTDIALOG_H
21#define LIBREPCB_EDITOR_DXFIMPORTDIALOG_H
33#include <optional.hpp>
64 const Layer& defaultLayer,
bool supportHoles,
66 const QString& settingsPrefix,
67 QWidget* parent =
nullptr) noexcept;
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:129
The Layer class provides all supported geometry layers.
Definition: layer.h:42
The LengthUnit class represents a length unit (millimeters, inches,...) and provides some useful meth...
Definition: lengthunit.h:60
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition: point.h:79
This class provides a Dialog (GUI) to choose DXF import settings.
Definition: dxfimportdialog.h:56
tl::optional< Point > getPlacementPosition() const noexcept
Definition: dxfimportdialog.cpp:139
QString mSettingsPrefix
Definition: dxfimportdialog.h:87
qreal getScaleFactor() const noexcept
Definition: dxfimportdialog.cpp:135
const Layer & mDefaultLayer
Definition: dxfimportdialog.h:88
static void throwNoObjectsImportedError()
Definition: dxfimportdialog.cpp:171
UnsignedLength getLineWidth() const noexcept
Definition: dxfimportdialog.cpp:131
const Layer & getLayer() const noexcept
Definition: dxfimportdialog.cpp:123
FilePath chooseFile() const noexcept
Definition: dxfimportdialog.cpp:159
bool getImportCirclesAsDrills() const noexcept
Definition: dxfimportdialog.cpp:151
QScopedPointer< Ui::DxfImportDialog > mUi
Definition: dxfimportdialog.h:86
bool getJoinTangentPolylines() const noexcept
Definition: dxfimportdialog.cpp:147
DxfImportDialog(const DxfImportDialog &other)=delete
Definition: occmodel.cpp:77
type_safe::constrained_type< Length, UnsignedLengthConstraint, UnsignedLengthVerifier > UnsignedLength
Definition: length.h:696