C
QSafeLayoutException Class
class SafeRenderer::QSafeLayoutExceptionAn 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.
Constant | Value | Description |
---|---|---|
SafeRenderer::QSafeLayoutException::UnknownBitmapId | 0 | The bitmap ID is not found from layout. |
SafeRenderer::QSafeLayoutException::UnknownItem | 1 | The item is not found. |
SafeRenderer::QSafeLayoutException::ItemOutOfBounds | 2 | The item's new position is out of bounds. |
SafeRenderer::QSafeLayoutException::SizeErrorWidth | 4 | The width of the layout size too long. |
SafeRenderer::QSafeLayoutException::SizeErrorHeight | 5 | The height of the layout size too long. |
SafeRenderer::QSafeLayoutException::DataSizeMismatch | 3 | The layout file size is not multiple of the layout data size, or the layout data size is too small. |
SafeRenderer::QSafeLayoutException::InvalidLayoutVersion | 6 | Layout version is not supported. |
SafeRenderer::QSafeLayoutException::CheckSumFailed | 7 | Layout file checksum fails |
SafeRenderer::QSafeLayoutException::TooLongFilename | 8 | Bitmap's filename is too long to fit in temporary buffer. |
SafeRenderer::QSafeLayoutException::InvalidLayoutType | 9 | The layout type is Invalid. |
Available under certain Qt licenses.
Find out more.