20 #ifndef LIBREPCB_EDITOR_DXFIMPORTDIALOG_H 21 #define LIBREPCB_EDITOR_DXFIMPORTDIALOG_H 33 #include <optional.hpp> 46 class DxfImportDialog;
64 const Layer& defaultLayer,
bool supportHoles,
66 const QString& settingsPrefix,
67 QWidget* parent =
nullptr) noexcept;
71 const Layer& getLayer()
const noexcept;
73 qreal getScaleFactor()
const noexcept;
74 tl::optional<Point> getPlacementPosition()
const noexcept;
75 bool getJoinTangentPolylines()
const noexcept;
76 bool getImportCirclesAsDrills()
const noexcept;
79 FilePath chooseFile()
const noexcept;
80 static void throwNoObjectsImportedError();
86 QScopedPointer<Ui::DxfImportDialog>
mUi;
QScopedPointer< Ui::DxfImportDialog > mUi
Definition: dxfimportdialog.h:86
This class provides a Dialog (GUI) to choose DXF import settings.
Definition: dxfimportdialog.h:56
Definition: occmodel.cpp:77
The Layer class provides all supported geometry layers.
Definition: layer.h:40
const Layer & mDefaultLayer
Definition: dxfimportdialog.h:88
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:129
QString mSettingsPrefix
Definition: dxfimportdialog.h:87
The LengthUnit class represents a length unit (millimeters, inches,...) and provides some useful meth...
Definition: lengthunit.h:60
type_safe::constrained_type< Length, UnsignedLengthConstraint, UnsignedLengthVerifier > UnsignedLength
Definition: length.h:696