User Tools

Site Tools


ImageBox (QFrame)

The Qt documentation in C++ of this class can be read here:

A control for the form object, provides a image representation.

Most important

Methods None
Properties Value
Events None

Please read the control class overview Control as well.

If you need scaling, you might consider using Label with Icon and Scale instead.



Property Value As String (ReadWrite)

Contains the path of the image to be displayed. It can be an absolute path to an image file (png, jpg,…) like c:\myfolder\myimage.png or can be an relative path to the current project like myimage.png (which is present in the current project directory). Relative paths are recommended.

Might be an identifier of the pixmap array (Pixmaps).

Might be a String containing binary data. See the binary project example for using.


Property OldValue As String (ReadOnly)


Property Text As String (ReadWrite)

Same as Value. Provided for easy-use.

imagebox.txt · Last modified: 2013/04/09 22:57 (external edit)