C

LayoutData Class

class SafeRenderer::LayoutData

The LayoutData class encapsulates the layout data. More...

Header: #include <LayoutData>
Since: QtSafeRenderer 1.1

This class was introduced in QtSafeRenderer 1.1.

Public Functions

SafeRenderer::quint8 alpha() const
SafeRenderer::quint32 filenameHash() const
SafeRenderer::quint32 id() const
const SafeRenderer::QSafePoint &position() const
void setAlpha(const SafeRenderer::quint8 alphaArg)
void setFilenameHash(const SafeRenderer::quint32 aFilenameHash)
void setId(const SafeRenderer::quint32 anID)
void setLayoutType(const SafeRenderer::LayoutType typeArg)
void setPosition(const SafeRenderer::QSafePoint &aPosition)
void setSize(const SafeRenderer::QSafeSize &aSize)
const SafeRenderer::QSafeSize &size() const
SafeRenderer::LayoutType type() const

Detailed Description

The class provides functions for setting and getting the layout details.

Member Function Documentation

SafeRenderer::quint8 LayoutData::alpha() const

Returns the layout item global alpha value.

This function was introduced in QtSafeRenderer 1.2.

See also setAlpha().

SafeRenderer::quint32 LayoutData::filenameHash() const

Returns the filename's hash.

See also setFilenameHash().

SafeRenderer::quint32 LayoutData::id() const

Returns the layout's id.

See also setId().

const SafeRenderer::QSafePoint &LayoutData::position() const

Returns the layout's position.

See also setPosition().

void LayoutData::setAlpha(const SafeRenderer::quint8 alphaArg)

Sets the layout item's global alpha value alphaArg.

This function was introduced in QtSafeRenderer 1.2.

See also alpha().

void LayoutData::setFilenameHash(const SafeRenderer::quint32 aFilenameHash)

Sets the file name hash value to aFilenameHash.

See also filenameHash().

void LayoutData::setId(const SafeRenderer::quint32 anID)

Sets the layout's id to anID.

See also id().

void LayoutData::setLayoutType(const SafeRenderer::LayoutType typeArg)

Sets the layout type with parameter typeArg.

This function was introduced in QtSafeRenderer 1.1.

void LayoutData::setPosition(const SafeRenderer::QSafePoint &aPosition)

Sets the position of the layout to aPosition.

See also position().

void LayoutData::setSize(const SafeRenderer::QSafeSize &aSize)

Sets the layout's aSize.

See also size().

const SafeRenderer::QSafeSize &LayoutData::size() const

Returns the layout's size.

See also setSize().

SafeRenderer::LayoutType LayoutData::type() const

Returns the layout type.

This function was introduced in QtSafeRenderer 1.1.

Available under certain Qt licenses.
Find out more.