C

LayoutData Class

class SafeRenderer::LayoutData

The LayoutData class encapsulates layout data. More...

Header: #include <LayoutData>
Since: QtSafeRenderer 1.1

This class was introduced in QtSafeRenderer 1.1.

Public Types

enum LayoutType { BitmapLayout, TextLayout }

Public Functions

SafeRenderer::quint32 filenameHash() const
SafeRenderer::quint32 id() const
const SafeRenderer::QSafePoint &position() const
void setFilenameHash(const SafeRenderer::quint32 aFilenameHash)
void setId(const SafeRenderer::quint32 anID)
void setLayoutType(const SafeRenderer::LayoutData::LayoutType typeArg)
void setPosition(const SafeRenderer::QSafePoint &aPosition)
SafeRenderer::LayoutData::LayoutType type() const

Detailed Description

Member Type Documentation

enum LayoutData::LayoutType

This enum defines layout type.

ConstantValue
SafeRenderer::LayoutData::BitmapLayout0
SafeRenderer::LayoutData::TextLayout1

Member Function Documentation

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::setFilenameHash(const SafeRenderer::quint32 aFilenameHash)

aFilenameHash sets the filename's hash value of the layout.

See also filenameHash().

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

anID sets the layout's id.

See also id().

void LayoutData::setLayoutType(const SafeRenderer::LayoutData::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().

SafeRenderer::LayoutData::LayoutType LayoutData::type() const

Returns the layout type.

This function was introduced in QtSafeRenderer 1.1.

Available under certain Qt licenses.
Find out more.