C

SafeRenderer::LayoutItem Class

class SafeRenderer::LayoutItem

The LayoutItem class encapsulates a single layout item. More...

Header: #include <LayoutItem>
Since: QtSafeRenderer 1.1

Public Functions

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

Detailed Description

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

Member Function Documentation

[since QtSafeRenderer 1.2] SafeRenderer::quint8 LayoutItem::alpha() const

Returns the layout item global alpha value.

This function was introduced in QtSafeRenderer 1.2.

See also setAlpha().

SafeRenderer::quint32 LayoutItem::filenameHash() const

Returns the filename's hash.

See also setFilenameHash().

SafeRenderer::quint32 LayoutItem::id() const

Returns the layout's id.

See also setId().

[since QtSafeRenderer 1.2] void LayoutItem::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 LayoutItem::setFilenameHash(const SafeRenderer::quint32 aFilenameHash)

Sets the file name hash value to aFilenameHash.

See also filenameHash().

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

Sets the layout's id to anID.

See also id().

[since QtSafeRenderer 1.1] void LayoutItem::setLayoutType(const SafeRenderer::LayoutType typeArg)

Sets the layout type with parameter typeArg.

This function was introduced in QtSafeRenderer 1.1.

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

Sets the position of the layout to aPosition.

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

Sets the layout's aSize.

[since QtSafeRenderer 1.1] SafeRenderer::LayoutType LayoutItem::type() const

Returns the layout type.

This function was introduced in QtSafeRenderer 1.1.

Available under certain Qt licenses.
Find out more.