QSafeLayoutException Class

class SafeRenderer::QSafeLayoutException

An instance of QSafeLayoutException is thrown in case of an exception. More...

Header: #include <QSafeLayoutException>
Since: QtSafeRenderer 2.1
Inherits: SafeRenderer::QSafeException

Public Types

enum LayoutException { UnknownBitmapId, UnknownItem, ItemOutOfBounds, SizeErrorWidth, SizeErrorHeight, …, InvalidLayoutType }

Detailed Description

Instance of this class is thrown when an exception occurs related to layouts and layout readers.

Member Type Documentation

enum QSafeLayoutException::LayoutException

This enum describes the id of a thrown layout exception.

SafeRenderer::QSafeLayoutException::UnknownBitmapId0The bitmap ID is not found from layout.
SafeRenderer::QSafeLayoutException::UnknownItem1The item is not found.
SafeRenderer::QSafeLayoutException::ItemOutOfBounds2The item's new position is out of bounds.
SafeRenderer::QSafeLayoutException::SizeErrorWidth4The width of the layout size too long.
SafeRenderer::QSafeLayoutException::SizeErrorHeight5The height of the layout size too long.
SafeRenderer::QSafeLayoutException::DataSizeMismatch3The layout file size is not multiple of the layout data size, or the layout data size is too small.
SafeRenderer::QSafeLayoutException::InvalidLayoutVersion6Layout version is not supported.
SafeRenderer::QSafeLayoutException::CheckSumFailed7Layout file checksum fails
SafeRenderer::QSafeLayoutException::TooLongFilename8Bitmap's filename is too long to fit in temporary buffer.
SafeRenderer::QSafeLayoutException::InvalidLayoutType9The layout type is Invalid.

Available under certain Qt licenses.
Find out more.