Documents > BPS V2 C++ API
BpsImageField Class Reference

Table field for images, where the image is stores in a byte array as JPG or PNG file. More...

#include <bpstablefield.h>

+ Inheritance diagram for BpsImageField:

List of all members.

Public Member Functions

 BpsImageField (const QString &aHeader, const QString &aColumn, const QSize &aThumbSize)

Detailed Description

Table field for images, where the image is stores in a byte array as JPG or PNG file.

BpsPixmapEdit is used as editor to load new images. The maximum image dimensions are taken from the central system settings at Settings/Validators/table in the values column.maxwidth and column.maxheight. When no such settings are found, the maximum width and/or hight defaults to 1024.


Constructor & Destructor Documentation

BpsImageField::BpsImageField ( const QString &  aHeader,
const QString &  aColumn,
const QSize &  aThumbSize 
)
Parameters:
[in]aHeaderThe column header.
[in]aColumnThe whole column expression. This may also be something like "func(c_key) as c_fcol" where the whole expression will be returned as wholeColumn(), and column() will return the alias part "c_fcol" only.
[in]aThumbSizeThe display (thumbnail) size.

The documentation for this class was generated from the following file: