LibrePCB Developers Documentation
Alignment Class Referencefinal

The Alignment class. More...

#include <alignment.h>

+ Collaboration diagram for Alignment:

Public Member Functions

 Alignment () noexcept
 
 Alignment (const Alignment &other) noexcept
 
 Alignment (const HAlign &h, const VAlign &v) noexcept
 
 Alignment (const SExpression &node)
 
const HAlign getH () const noexcept
 
const VAlign getV () const noexcept
 
void setH (const HAlign &h) noexcept
 
void setV (const VAlign &v) noexcept
 
Qt::Alignment toQtAlign () const noexcept
 
Alignmentmirror () noexcept
 
AlignmentmirrorH () noexcept
 
AlignmentmirrorV () noexcept
 
Alignment mirrored () const noexcept
 
Alignment mirroredH () const noexcept
 
Alignment mirroredV () const noexcept
 
void serialize (SExpression &root) const
 Serialize into librepcb::SExpression node. More...
 
Alignmentoperator= (const Alignment &rhs) noexcept
 
bool operator== (const Alignment &rhs) const noexcept
 
bool operator!= (const Alignment &rhs) const noexcept
 

Private Attributes

HAlign mH
 
VAlign mV
 

Detailed Description

The Alignment class.

Constructor & Destructor Documentation

◆ Alignment() [1/4]

Alignment ( )
inlinenoexcept

◆ Alignment() [2/4]

Alignment ( const Alignment other)
inlinenoexcept

◆ Alignment() [3/4]

Alignment ( const HAlign h,
const VAlign v 
)
inlineexplicitnoexcept

◆ Alignment() [4/4]

Alignment ( const SExpression node)
explicit

Member Function Documentation

◆ getH()

const HAlign getH ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getV()

const VAlign getV ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ setH()

void setH ( const HAlign h)
inlinenoexcept
+ Here is the caller graph for this function:

◆ setV()

void setV ( const VAlign v)
inlinenoexcept
+ Here is the caller graph for this function:

◆ toQtAlign()

Qt::Alignment toQtAlign ( ) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mirror()

Alignment & mirror ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mirrorH()

Alignment & mirrorH ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mirrorV()

Alignment & mirrorV ( )
noexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mirrored()

Alignment mirrored ( ) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mirroredH()

Alignment mirroredH ( ) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mirroredV()

Alignment mirroredV ( ) const
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ serialize()

void serialize ( SExpression root) const

Serialize into librepcb::SExpression node.

Parameters
rootRoot node to serialize into.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

Alignment& operator= ( const Alignment rhs)
inlinenoexcept

◆ operator==()

bool operator== ( const Alignment rhs) const
inlinenoexcept

◆ operator!=()

bool operator!= ( const Alignment rhs) const
inlinenoexcept

Member Data Documentation

◆ mH

HAlign mH
private

◆ mV

VAlign mV
private

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