LibrePCB Developers Documentation
HoleEditorWidget Class Reference

The HoleEditorWidget class. More...

#include <holeeditorwidget.h>

Inherits QWidget.

+ Collaboration diagram for HoleEditorWidget:

Signals

void diameterChanged (const PositiveLength &diameter)
 
void pathChanged (const NonEmptyPath &path)
 

Public Member Functions

 HoleEditorWidget ()=delete
 
 HoleEditorWidget (QWidget *parent=nullptr) noexcept
 
 HoleEditorWidget (const HoleEditorWidget &other)=delete
 
virtual ~HoleEditorWidget () noexcept
 
const PositiveLengthgetDiameter () const noexcept
 
bool getLocked () const noexcept
 
const NonEmptyPathgetPath () const noexcept
 
void setReadOnly (bool readOnly) noexcept
 
void setDiameter (const PositiveLength &diameter) noexcept
 
void setLocked (bool locked) noexcept
 
void setPath (const NonEmptyPath &path) noexcept
 
void setFocusToDiameterEdit () noexcept
 
void configureClientSettings (const LengthUnit &lengthUnit, const QString &settingsPrefix) noexcept
 
HoleEditorWidgetoperator= (const HoleEditorWidget &rhs)=delete
 

Private Member Functions

void updatePathFromCircularTab () noexcept
 
void updatePathFromLinearTab () noexcept
 
void updateCircularTabFromPath (const Path &path) noexcept
 
void updateLinearTabFromPath (const Path &path) noexcept
 
void updateLinearOuterSize (const Path &path) noexcept
 

Private Attributes

QScopedPointer< Ui::HoleEditorWidget > mUi
 
PositiveLength mDiameter
 
NonEmptyPath mPath
 

Detailed Description

The HoleEditorWidget class.

Constructor & Destructor Documentation

◆ HoleEditorWidget() [1/3]

HoleEditorWidget ( )
delete

◆ HoleEditorWidget() [2/3]

HoleEditorWidget ( QWidget *  parent = nullptr)
explicitnoexcept
+ Here is the call graph for this function:

◆ HoleEditorWidget() [3/3]

HoleEditorWidget ( const HoleEditorWidget other)
delete

◆ ~HoleEditorWidget()

~HoleEditorWidget ( )
virtualnoexcept

Member Function Documentation

◆ getDiameter()

const PositiveLength & getDiameter ( ) const
inlinenoexcept

◆ getLocked()

bool getLocked ( ) const
noexcept

◆ getPath()

const NonEmptyPath & getPath ( ) const
inlinenoexcept

◆ setReadOnly()

void setReadOnly ( bool  readOnly)
noexcept

◆ setDiameter()

void setDiameter ( const PositiveLength diameter)
noexcept

◆ setLocked()

void setLocked ( bool  locked)
noexcept

◆ setPath()

void setPath ( const NonEmptyPath path)
noexcept

◆ setFocusToDiameterEdit()

void setFocusToDiameterEdit ( )
noexcept

◆ configureClientSettings()

void configureClientSettings ( const LengthUnit lengthUnit,
const QString &  settingsPrefix 
)
noexcept

◆ operator=()

HoleEditorWidget & operator= ( const HoleEditorWidget rhs)
delete

◆ diameterChanged

void diameterChanged ( const PositiveLength diameter)
signal
+ Here is the caller graph for this function:

◆ pathChanged

void pathChanged ( const NonEmptyPath path)
signal

◆ updatePathFromCircularTab()

void updatePathFromCircularTab ( )
privatenoexcept
+ Here is the caller graph for this function:

◆ updatePathFromLinearTab()

void updatePathFromLinearTab ( )
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateCircularTabFromPath()

void updateCircularTabFromPath ( const Path path)
privatenoexcept

◆ updateLinearTabFromPath()

void updateLinearTabFromPath ( const Path path)
privatenoexcept
+ Here is the call graph for this function:

◆ updateLinearOuterSize()

void updateLinearOuterSize ( const Path path)
privatenoexcept
+ Here is the call graph for this function:

Member Data Documentation

◆ mUi

QScopedPointer<Ui::HoleEditorWidget> mUi
private

◆ mDiameter

PositiveLength mDiameter
private

◆ mPath

NonEmptyPath mPath
private

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