#include <DataAnalysis/Image/imagewidget.h>
Inherits QFrame.
◆ ImageWidget()
The default behavior of an ImageWidget is to keep the last image if a null image is passed to setImage().
◆ getCheckZoomFitAll()
bool getCheckZoomFitAll |
( |
| ) |
const |
◆ getImage()
const QImage & getImage |
( |
| ) |
const |
- Returns
- The currently set image.
- See also
- setImage()
◆ getKeepLast()
bool getKeepLast |
( |
| ) |
const |
◆ imageChanged
void imageChanged |
( |
const QImage & |
image | ) |
|
|
signal |
◆ setCheckZoomFitAll()
void setCheckZoomFitAll |
( |
bool |
val | ) |
|
◆ setImage()
void setImage |
( |
const QImage & |
image | ) |
|
- Parameters
-
image | The new image the widget should show. |
When this function is called, it also updates the widget's size hint and calls updateGeometry(). It then emits the imageChanged() signal before returning.
- See also
- getImage()
◆ setKeepLast()
void setKeepLast |
( |
bool |
b | ) |
|
- Parameters
-
b | If true, then the previous image will be kept if setImage() is called with a null image. |
- See also
- getKeepLast()
◆ updateView()
◆ collapseInIOTree
◆ image
◆ keepLast
◆ zoomToFitAll