QSkinny 0.8.0
C++/Qt UI toolkit
|
Definition at line 40 of file QskItemAnchors.h.
Public Member Functions | |
QskItemAnchors (QQuickItem *attachedItem=nullptr) | |
QQuickItem * | attachedItem () const |
QQuickItem * | settledItem (Qt::AnchorPoint) const |
Qt::AnchorPoint | settledItemAnchorPoint (Qt::AnchorPoint) const |
bool | operator== (const QskItemAnchors &) const noexcept |
bool | operator!= (const QskItemAnchors &) const noexcept |
QMarginsF | margins () const |
void | setMargins (const QMarginsF &) |
void | setCenterOffsets (qreal horizontalOffset, qreal verticalOffset) |
void | setCenterOffset (Qt::Orientation, qreal offset) |
qreal | centerOffset (Qt::Orientation) |
void | addAnchor (Qt::AnchorPoint, QQuickItem *, Qt::AnchorPoint) |
void | addAnchors (Qt::Corner, QQuickItem *, Qt::Corner) |
void | removeAnchor (Qt::AnchorPoint) |
void | clearAnchors () |
void | setBorderAnchors (QQuickItem *, Qt::Orientations=Qt::Horizontal|Qt::Vertical) |
void | setCenterAnchors (QQuickItem *, Qt::Orientations=Qt::Horizontal|Qt::Vertical) |
QskItemAnchors::QskItemAnchors | ( | QQuickItem * | attachedItem = nullptr | ) |
Definition at line 131 of file QskItemAnchors.cpp.
QskItemAnchors::~QskItemAnchors | ( | ) |
Definition at line 136 of file QskItemAnchors.cpp.
void QskItemAnchors::addAnchor | ( | Qt::AnchorPoint | edge, |
QQuickItem * | settledItem, | ||
Qt::AnchorPoint | settledItemEdge | ||
) |
Definition at line 275 of file QskItemAnchors.cpp.
void QskItemAnchors::addAnchors | ( | Qt::Corner | corner, |
QQuickItem * | settledItem, | ||
Qt::Corner | settledItemCorner | ||
) |
Definition at line 256 of file QskItemAnchors.cpp.
QQuickItem * QskItemAnchors::attachedItem | ( | ) | const |
Definition at line 145 of file QskItemAnchors.cpp.
qreal QskItemAnchors::centerOffset | ( | Qt::Orientation | orientation | ) |
Definition at line 227 of file QskItemAnchors.cpp.
void QskItemAnchors::clearAnchors | ( | ) |
Definition at line 332 of file QskItemAnchors.cpp.
QMarginsF QskItemAnchors::margins | ( | ) | const |
Definition at line 150 of file QskItemAnchors.cpp.
|
inlinenoexcept |
Definition at line 76 of file QskItemAnchors.h.
|
noexcept |
Definition at line 140 of file QskItemAnchors.cpp.
void QskItemAnchors::removeAnchor | ( | Qt::AnchorPoint | edge | ) |
Definition at line 288 of file QskItemAnchors.cpp.
void QskItemAnchors::setBorderAnchors | ( | QQuickItem * | settledItem, |
Qt::Orientations | orientations = Qt::Horizontal | Qt::Vertical |
||
) |
Definition at line 350 of file QskItemAnchors.cpp.
void QskItemAnchors::setCenterAnchors | ( | QQuickItem * | settledItem, |
Qt::Orientations | orientations = Qt::Horizontal | Qt::Vertical |
||
) |
Definition at line 399 of file QskItemAnchors.cpp.
void QskItemAnchors::setCenterOffset | ( | Qt::Orientation | orientation, |
qreal | offset | ||
) |
Definition at line 215 of file QskItemAnchors.cpp.
void QskItemAnchors::setCenterOffsets | ( | qreal | horizontalOffset, |
qreal | verticalOffset | ||
) |
Definition at line 205 of file QskItemAnchors.cpp.
void QskItemAnchors::setMargins | ( | const QMarginsF & | margins | ) |
Definition at line 166 of file QskItemAnchors.cpp.
QQuickItem * QskItemAnchors::settledItem | ( | Qt::AnchorPoint | edge | ) | const |
Definition at line 240 of file QskItemAnchors.cpp.
Qt::AnchorPoint QskItemAnchors::settledItemAnchorPoint | ( | Qt::AnchorPoint | edge | ) | const |
Definition at line 437 of file QskItemAnchors.cpp.