LibrePCB Developers Documentation
DxfImportDialog Class Referencefinal

This class provides a Dialog (GUI) to change the grid settings of a librepcb::GraphicsView. More...

#include <dxfimportdialog.h>

Inherits QDialog.

+ Collaboration diagram for DxfImportDialog:

Public Member Functions

 DxfImportDialog ()=delete
 
 DxfImportDialog (const DxfImportDialog &other)=delete
 
 DxfImportDialog (QList< GraphicsLayer *> layers, const GraphicsLayerName &defaultLayer, bool supportHoles, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~DxfImportDialog () noexcept
 
GraphicsLayerName getLayerName () const noexcept
 
bool getImportCirclesAsDrills () const noexcept
 
UnsignedLength getLineWidth () const noexcept
 
qreal getScaleFactor () const noexcept
 
tl::optional< PointgetPlacementPosition () 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
 
GraphicsLayerName mDefaultLayer
 

Detailed Description

This class provides a Dialog (GUI) to change the grid settings of a librepcb::GraphicsView.

Constructor & Destructor Documentation

◆ DxfImportDialog() [1/3]

DxfImportDialog ( )
delete

◆ DxfImportDialog() [2/3]

DxfImportDialog ( const DxfImportDialog other)
delete

◆ DxfImportDialog() [3/3]

DxfImportDialog ( QList< GraphicsLayer *>  layers,
const GraphicsLayerName 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

◆ getLayerName()

GraphicsLayerName getLayerName ( ) const
noexcept
+ Here is the caller graph for this function:

◆ getImportCirclesAsDrills()

bool getImportCirclesAsDrills ( ) 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:

◆ 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

GraphicsLayerName mDefaultLayer
private

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