C

Constraints Class

(SafeRenderer::Constraints)

A struct that holds various constraint values for Qt Safe Renderer. More...

Header: #include <Constraints>
Since: QtSafeRenderer 1.0

Static Public Members

const quint32 BITMAPDATA_HEADER_SIZE = 12U
const quint32 LAYOUTDATA_HEADER_SIZE = 24U
const quint32 LAYOUTDATA_SIZE = 272U
const quint32 MAX_AMOUNT_OF_BITMAPS = 32U
const quint32 MAX_FILENAME_LEN = 256U
const quint32 MAX_IMAGE_PIXELS = 256U * 128U
const quint32 MAX_ITEM_COUNT = 128U
const quint32 MAX_LAYOUT_SIZE = 4096U
const quint32 MAX_NUM_OF_CONNECTIONS = 256U
const quint32 MAX_NUM_OF_LAYOUTS = 2U
const quint32 MAX_NUM_OF_STATES = 256U

Detailed Description

A struct that holds various constraint values for Qt Safe Renderer.

Member Variable Documentation

const quint32 Constraints::BITMAPDATA_HEADER_SIZE = 12U

The size of the header data in the safe bitmap file.

This value should not be changed.

const quint32 Constraints::LAYOUTDATA_HEADER_SIZE = 24U

The size of the header data in the safe layout file.

This value should not be changed.

const quint32 Constraints::LAYOUTDATA_SIZE = 272U

The size of the layout data in bytes.

This value should not be changed.

const quint32 Constraints::MAX_AMOUNT_OF_BITMAPS = 32U

The maximum amount of bitmaps.

This value can be changed in qsafeconstraints.h.

const quint32 Constraints::MAX_FILENAME_LEN = 256U

The maximum length of the file name.

This value should not be changed.

const quint32 Constraints::MAX_IMAGE_PIXELS = 256U * 128U

The maximum amount of pixels in the bitmap.

This value can be changed in qsafeconstraints.h.

const quint32 Constraints::MAX_ITEM_COUNT = 128U

The maximum amount of the layout items.

This value can be changed in qsafeconstraints.h.

const quint32 Constraints::MAX_LAYOUT_SIZE = 4096U

The maximum size of the layout's x-coordinate and y-coordinate values.

This value should not be changed.

const quint32 Constraints::MAX_NUM_OF_CONNECTIONS = 256U

The maximum amount of connections in the StateManager class.

This value should not be changed.

const quint32 Constraints::MAX_NUM_OF_LAYOUTS = 2U

The maximum amount of the safe layouts that can be loaded in Safe Renderer.

This value can be changed in qsafeconstraints.h. Default value is 2.

const quint32 Constraints::MAX_NUM_OF_STATES = 256U

The maximum amount of the safe items that can be handled in Safe Renderer.

This value can be changed in qsafeconstraints.h.

Available under certain Qt licenses.
Find out more.