LibrePCB Developers Documentation
DxfImportDialog Class Referencefinal

This class provides a Dialog (GUI) to choose DXF import settings. More...

#include <dxfimportdialog.h>

Inherits QDialog.

+ Collaboration diagram for DxfImportDialog:

Public Member Functions

 DxfImportDialog ()=delete
 
 DxfImportDialog (const DxfImportDialog &other)=delete
 
 DxfImportDialog (const QSet< const Layer * > &layers, const Layer &defaultLayer, bool supportHoles, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~DxfImportDialog () noexcept
 
const LayergetLayer () const noexcept
 
UnsignedLength getLineWidth () const noexcept
 
qreal getScaleFactor () const noexcept
 
tl::optional< PointgetPlacementPosition () const noexcept
 
bool getJoinTangentPolylines () const noexcept
 
bool getImportCirclesAsDrills () const noexcept
 
FilePath chooseFile () const noexcept
 
DxfImportDialogoperator= (const DxfImportDialog &rhs)=delete
 

Static Public Member Functions

static void throwNoObjectsImportedError ()
 

Private Attributes

QScopedPointer< Ui::DxfImportDialog > mUi
 
QString mSettingsPrefix
 
const LayermDefaultLayer
 

Detailed Description

This class provides a Dialog (GUI) to choose DXF import settings.

Constructor & Destructor Documentation

◆ DxfImportDialog() [1/3]

DxfImportDialog ( )
delete

◆ DxfImportDialog() [2/3]

DxfImportDialog ( const DxfImportDialog other)
delete

◆ DxfImportDialog() [3/3]

DxfImportDialog ( const QSet< const Layer * > &  layers,
const Layer defaultLayer,
bool  supportHoles,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
explicitnoexcept
+ Here is the call graph for this function:

◆ ~DxfImportDialog()

~DxfImportDialog ( )
noexcept

Member Function Documentation

◆ getLayer()

const Layer & getLayer ( ) const
noexcept
+ Here is the caller graph for this function:

◆ getLineWidth()

UnsignedLength getLineWidth ( ) const
noexcept
+ Here is the caller graph for this function:

◆ getScaleFactor()

qreal getScaleFactor ( ) const
noexcept
+ Here is the caller graph for this function:

◆ getPlacementPosition()

tl::optional< Point > getPlacementPosition ( ) const
noexcept
+ Here is the caller graph for this function:

◆ getJoinTangentPolylines()

bool getJoinTangentPolylines ( ) const
noexcept
+ Here is the caller graph for this function:

◆ getImportCirclesAsDrills()

bool getImportCirclesAsDrills ( ) const
noexcept
+ Here is the caller graph for this function:

◆ chooseFile()

FilePath chooseFile ( ) const
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ throwNoObjectsImportedError()

void throwNoObjectsImportedError ( )
static
+ Here is the caller graph for this function:

◆ operator=()

DxfImportDialog & operator= ( const DxfImportDialog rhs)
delete

Member Data Documentation

◆ mUi

QScopedPointer<Ui::DxfImportDialog> mUi
private

◆ mSettingsPrefix

QString mSettingsPrefix
private

◆ mDefaultLayer

const Layer& mDefaultLayer
private

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