Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQuickGeometryChange Class Reference

#include <qquickitemchangelistener_p.h>

Collaboration diagram for QQuickGeometryChange:

Public Types

enum  Kind : int {
  Nothing = 0x00 , X = 0x01 , Y = 0x02 , Width = 0x04 ,
  Height = 0x08 , Size = Width | Height , All = X | Y | Size
}

Public Member Functions

 QQuickGeometryChange (int change=Nothing)
bool noChange () const
bool anyChange () const
bool xChange () const
bool yChange () const
bool widthChange () const
bool heightChange () const
bool positionChange () const
bool sizeChange () const
bool horizontalChange () const
bool verticalChange () const
void setXChange (bool enabled)
void setYChange (bool enabled)
void setWidthChange (bool enabled)
void setHeightChange (bool enabled)
void setSizeChange (bool enabled)
void setAllChanged (bool enabled)
void setHorizontalChange (bool enabled)
void setVerticalChange (bool enabled)
void set (int bits, bool enabled)
bool matches (QQuickGeometryChange other) const

Detailed Description

Definition at line 30 of file qquickitemchangelistener_p.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Nothing 
Width 
Height 
Size 
All 

Definition at line 33 of file qquickitemchangelistener_p.h.

Constructor & Destructor Documentation

◆ QQuickGeometryChange()

QQuickGeometryChange::QQuickGeometryChange ( int change = Nothing)
inline

Definition at line 44 of file qquickitemchangelistener_p.h.

Member Function Documentation

◆ anyChange()

bool QQuickGeometryChange::anyChange ( ) const
inline

Definition at line 49 of file qquickitemchangelistener_p.h.

References noChange().

Here is the call graph for this function:

◆ heightChange()

bool QQuickGeometryChange::heightChange ( ) const
inline

Definition at line 54 of file qquickitemchangelistener_p.h.

References Height.

Referenced by sizeChange(), and verticalChange().

Here is the caller graph for this function:

◆ horizontalChange()

bool QQuickGeometryChange::horizontalChange ( ) const
inline

Definition at line 59 of file qquickitemchangelistener_p.h.

References widthChange(), and xChange().

Here is the call graph for this function:

◆ matches()

bool QQuickGeometryChange::matches ( QQuickGeometryChange other) const
inline

Definition at line 80 of file qquickitemchangelistener_p.h.

◆ noChange()

bool QQuickGeometryChange::noChange ( ) const
inline

Definition at line 48 of file qquickitemchangelistener_p.h.

References Nothing.

Referenced by anyChange().

Here is the caller graph for this function:

◆ positionChange()

bool QQuickGeometryChange::positionChange ( ) const
inline

Definition at line 56 of file qquickitemchangelistener_p.h.

References xChange(), and yChange().

Here is the call graph for this function:

◆ set()

void QQuickGeometryChange::set ( int bits,
bool enabled )
inline

Definition at line 71 of file qquickitemchangelistener_p.h.

Referenced by setAllChanged(), setHeightChange(), setHorizontalChange(), setSizeChange(), setVerticalChange(), setWidthChange(), setXChange(), and setYChange().

Here is the caller graph for this function:

◆ setAllChanged()

void QQuickGeometryChange::setAllChanged ( bool enabled)
inline

Definition at line 67 of file qquickitemchangelistener_p.h.

References All, and set().

Referenced by QQuickAnchorsPrivate::calculateDependency().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHeightChange()

void QQuickGeometryChange::setHeightChange ( bool enabled)
inline

Definition at line 65 of file qquickitemchangelistener_p.h.

References Height, and set().

Referenced by QQuickAnchorsPrivate::calculateDependency().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHorizontalChange()

void QQuickGeometryChange::setHorizontalChange ( bool enabled)
inline

Definition at line 68 of file qquickitemchangelistener_p.h.

References set(), Width, and X.

Referenced by QQuickAnchorsPrivate::calculateDependency().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSizeChange()

void QQuickGeometryChange::setSizeChange ( bool enabled)
inline

Definition at line 66 of file qquickitemchangelistener_p.h.

References set(), and Size.

Referenced by QQuickAnchorsPrivate::calculateDependency().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setVerticalChange()

void QQuickGeometryChange::setVerticalChange ( bool enabled)
inline

Definition at line 69 of file qquickitemchangelistener_p.h.

References Height, set(), and Y.

Referenced by QQuickAnchorsPrivate::calculateDependency().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setWidthChange()

void QQuickGeometryChange::setWidthChange ( bool enabled)
inline

Definition at line 64 of file qquickitemchangelistener_p.h.

References set(), and Width.

Referenced by QQuickAnchorsPrivate::calculateDependency().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setXChange()

void QQuickGeometryChange::setXChange ( bool enabled)
inline

Definition at line 62 of file qquickitemchangelistener_p.h.

References set(), and X.

Here is the call graph for this function:

◆ setYChange()

void QQuickGeometryChange::setYChange ( bool enabled)
inline

Definition at line 63 of file qquickitemchangelistener_p.h.

References set(), and Y.

Here is the call graph for this function:

◆ sizeChange()

bool QQuickGeometryChange::sizeChange ( ) const
inline

Definition at line 57 of file qquickitemchangelistener_p.h.

References heightChange(), and widthChange().

Here is the call graph for this function:

◆ verticalChange()

bool QQuickGeometryChange::verticalChange ( ) const
inline

Definition at line 60 of file qquickitemchangelistener_p.h.

References heightChange(), and yChange().

Here is the call graph for this function:

◆ widthChange()

bool QQuickGeometryChange::widthChange ( ) const
inline

Definition at line 53 of file qquickitemchangelistener_p.h.

References Width.

Referenced by horizontalChange(), and sizeChange().

Here is the caller graph for this function:

◆ xChange()

bool QQuickGeometryChange::xChange ( ) const
inline

Definition at line 51 of file qquickitemchangelistener_p.h.

References X.

Referenced by horizontalChange(), and positionChange().

Here is the caller graph for this function:

◆ yChange()

bool QQuickGeometryChange::yChange ( ) const
inline

Definition at line 52 of file qquickitemchangelistener_p.h.

References Y.

Referenced by positionChange(), and verticalChange().

Here is the caller graph for this function:

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