Relacs
0.9.8
|
#include <scaledimage.h>
Public Member Functions | |
ScaledImage (QWidget *parent=0) | |
ScaledImage (const QPixmap &image, QWidget *parent=0) | |
ScaledImage (const QImage &image, QWidget *parent=0) | |
void | setImage (const QPixmap &image) |
void | setImage (const QImage &image) |
Protected Member Functions | |
virtual void | resizeEvent (QResizeEvent *event) |
A label that displays an image scaled to the maximum available size.
ScaledImage | ( | QWidget * | parent = 0 | ) |
Constructs an empty ScaledImage.
ScaledImage | ( | const QPixmap & | image, |
QWidget * | parent = 0 |
||
) |
Constructs an ScaledImage with image image.
References ScaledImage::setImage().
ScaledImage | ( | const QImage & | image, |
QWidget * | parent = 0 |
||
) |
Constructs an ScaledImage with image image.
References ScaledImage::setImage().
void setImage | ( | const QPixmap & | image | ) |
Set the image to be displayed to image.
Referenced by ScaledImage::ScaledImage().
void setImage | ( | const QImage & | image | ) |
Set the image to be displayed to image.
|
protectedvirtual |