User Tools

Site Tools


imagebox

ImageBox (QFrame)

The Qt documentation in C++ of this class can be read here: http://doc.trolltech.com/4.3/qframe.html

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.

PROPERTIES

Value

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.


OldValue

Property OldValue As String (ReadOnly)


Text

Property Text As String (ReadWrite)

Same as Value. Provided for easy-use.


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