|
libyui-qt
2.52.4
|


Public Member Functions | |
| YQImage (YWidget *parent, const std::string &imageFileName, bool animated=false) | |
| Constructor. More... | |
| virtual | ~YQImage () |
| Destructor. | |
| virtual void | setImage (const std::string &imageFileName, bool animated=false) |
| Set and display a new image. More... | |
| virtual void | setAutoScale (bool autoScale=true) |
| Make the image fit into the available space. More... | |
| virtual void | setEnabled (bool enabled) |
| if false, the image will be displayed in gray | |
| virtual int | preferredWidth () |
| Preferred width of the widget. More... | |
| virtual int | preferredHeight () |
| Preferred height of the widget. More... | |
| virtual void | setSize (int newWidth, int newHeight) |
| Set the new size of the widget. More... | |
Protected Attributes | |
| int | _pixmapWidth |
| int | _pixmapHeight |
| YQImage::YQImage | ( | YWidget * | parent, |
| const std::string & | imageFileName, | ||
| bool | animated = false |
||
| ) |
Constructor.
'animated' indicates if 'imageFileName' is an animated image format (e.g., MNG).
Definition at line 43 of file YQImage.cc.

|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 164 of file YQImage.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 142 of file YQImage.cc.
|
virtual |
Make the image fit into the available space.
Reimplemented from YImage.
Definition at line 129 of file YQImage.cc.

|
virtual |
Set and display a new image.
Reimplemented from YImage.
Definition at line 67 of file YQImage.cc.

|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 186 of file YQImage.cc.