|
int | _pixmapWidth |
|
int | _pixmapHeight |
|
◆ YQImage()
YQImage::YQImage |
( |
YWidget * | parent, |
|
|
const std::string & | imageFileName, |
|
|
bool | animated = false ) |
Constructor.
'animated' indicates if 'imageFileName' is an animated image format (e.g., MNG).
◆ ~YQImage()
◆ preferredHeight()
int YQImage::preferredHeight |
( |
| ) |
|
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
◆ preferredWidth()
int YQImage::preferredWidth |
( |
| ) |
|
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
◆ setAutoScale()
void YQImage::setAutoScale |
( |
bool | autoScale = true | ) |
|
|
virtual |
Make the image fit into the available space.
Reimplemented from YImage.
◆ setEnabled()
void YQImage::setEnabled |
( |
bool | enabled | ) |
|
|
virtual |
if false, the image will be displayed in gray
◆ setImage()
void YQImage::setImage |
( |
const std::string & | imageFileName, |
|
|
bool | animated = false ) |
|
virtual |
Set and display a new image.
Reimplemented from YImage.
◆ setSize()
void YQImage::setSize |
( |
int | newWidth, |
|
|
int | newHeight ) |
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt/src/YQImage.h
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt/src/YQImage.cc