LibrePCB Developers Documentation
MoveAlignDialog Class Referencefinal

The MoveAlignDialog class. More...

#include <movealigndialog.h>

Inherits QDialog.

+ Collaboration diagram for MoveAlignDialog:

Signals

void positionsChanged (const QList< Point > &positions)
 

Public Member Functions

 MoveAlignDialog ()=delete
 
 MoveAlignDialog (const MoveAlignDialog &other)=delete
 
 MoveAlignDialog (const QList< Point > &positions, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~MoveAlignDialog () noexcept
 
const QList< Point > & getNewPositions () const noexcept
 
MoveAlignDialogoperator= (const MoveAlignDialog &rhs)=delete
 

Private Types

typedef tl::optional< PositiveLengthInterval
 

Private Member Functions

virtual bool eventFilter (QObject *watched, QEvent *event) noexcept override
 
void updateNewPositions () noexcept
 

Static Private Member Functions

static Point calcCenter (const QList< Point > &p) noexcept
 

Private Attributes

QScopedPointer< Ui::MoveAlignDialog > mUi
 
const QString mSettingsPrefix
 
const QList< PointmPositions
 
QList< PointmPositionsOrdered
 Unique; First item = reference position;. More...
 
Point mDefaultInterval
 
QList< PointmNewPositions
 

Detailed Description

The MoveAlignDialog class.

Member Typedef Documentation

◆ Interval

typedef tl::optional<PositiveLength> Interval
private

Constructor & Destructor Documentation

◆ MoveAlignDialog() [1/3]

MoveAlignDialog ( )
delete

◆ MoveAlignDialog() [2/3]

MoveAlignDialog ( const MoveAlignDialog other)
delete

◆ MoveAlignDialog() [3/3]

MoveAlignDialog ( const QList< Point > &  positions,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
noexcept

◆ ~MoveAlignDialog()

~MoveAlignDialog ( )
noexcept

Member Function Documentation

◆ getNewPositions()

const QList< Point > & getNewPositions ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ operator=()

MoveAlignDialog & operator= ( const MoveAlignDialog rhs)
delete

◆ positionsChanged

void positionsChanged ( const QList< Point > &  positions)
signal
+ Here is the caller graph for this function:

◆ eventFilter()

bool eventFilter ( QObject *  watched,
QEvent *  event 
)
overrideprivatevirtualnoexcept

◆ updateNewPositions()

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

◆ calcCenter()

Point calcCenter ( const QList< Point > &  p)
staticprivatenoexcept
+ Here is the call graph for this function:

Member Data Documentation

◆ mUi

QScopedPointer<Ui::MoveAlignDialog> mUi
private

◆ mSettingsPrefix

const QString mSettingsPrefix
private

◆ mPositions

const QList<Point> mPositions
private

◆ mPositionsOrdered

QList<Point> mPositionsOrdered
private

Unique; First item = reference position;.

◆ mDefaultInterval

Point mDefaultInterval
private

◆ mNewPositions

QList<Point> mNewPositions
private

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