LibrePCB Developers Documentation
HAlign Class Referencefinal

The HAlign class. More...

#include <alignment.h>

+ Collaboration diagram for HAlign:

Public Member Functions

 HAlign () noexcept
 
 HAlign (const HAlign &other) noexcept
 
Qt::AlignmentFlag toQtAlignFlag () const noexcept
 
HAlignmirror () noexcept
 
HAlign mirrored () const noexcept
 
HAlignoperator= (const HAlign &rhs) noexcept
 
bool operator== (const HAlign &rhs) const noexcept
 
bool operator!= (const HAlign &rhs) const noexcept
 

Static Public Member Functions

static HAlign left () noexcept
 
static HAlign center () noexcept
 
static HAlign right () noexcept
 

Private Member Functions

 HAlign (Qt::AlignmentFlag align) noexcept
 

Private Attributes

Qt::AlignmentFlag mAlign
 

Detailed Description

The HAlign class.

Constructor & Destructor Documentation

◆ HAlign() [1/3]

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

◆ HAlign() [2/3]

HAlign ( const HAlign other)
inlinenoexcept

◆ HAlign() [3/3]

HAlign ( Qt::AlignmentFlag  align)
inlineexplicitprivatenoexcept

Member Function Documentation

◆ toQtAlignFlag()

Qt::AlignmentFlag toQtAlignFlag ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ mirror()

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

◆ mirrored()

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

◆ left()

static HAlign left ( )
inlinestaticnoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ center()

static HAlign center ( )
inlinestaticnoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ right()

static HAlign right ( )
inlinestaticnoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

HAlign & operator= ( const HAlign rhs)
inlinenoexcept

◆ operator==()

bool operator== ( const HAlign rhs) const
inlinenoexcept

◆ operator!=()

bool operator!= ( const HAlign rhs) const
inlinenoexcept

Member Data Documentation

◆ mAlign

Qt::AlignmentFlag mAlign
private

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