C

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 class 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 class QSafeLayoutException::LayoutException

This enum describes the id of a thrown layout exception.

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

Available under certain Qt licenses.
Find out more.