LibrePCB Developers Documentation
|
#include <alignment.h>
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 |
Alignment & | mirror () noexcept |
Alignment & | mirrorH () noexcept |
Alignment & | mirrorV () noexcept |
Alignment | mirrored () const noexcept |
Alignment | mirroredH () const noexcept |
Alignment | mirroredV () const noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. | |
Alignment & | operator= (const Alignment &rhs) noexcept |
bool | operator== (const Alignment &rhs) const noexcept |
bool | operator!= (const Alignment &rhs) const noexcept |
Static Public Member Functions | |
static Alignment | fromQt (Qt::Alignment align, const Alignment &fallback=Alignment()) noexcept |
Private Attributes | |
HAlign | mH |
VAlign | mV |
The Alignment class.
|
inlinenoexcept |
|
explicit |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |
|
private |