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:Public Member Functions | |
| BpsImageField (const QString &aHeader, const QString &aColumn, const QSize &aThumbSize) | |
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.
| BpsImageField::BpsImageField | ( | const QString & | aHeader, |
| const QString & | aColumn, | ||
| const QSize & | aThumbSize | ||
| ) |
| [in] | aHeader | The column header. |
| [in] | aColumn | The 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] | aThumbSize | The display (thumbnail) size. |