|
AlbumShaper 1.0a3
|
#include <scaledPreviewInterface.h>


Signals | |
| void | resized () |
Public Member Functions | |
| ScaledPreviewInterface (QString imageFilename, QWidget *parent=0, const char *name=0) | |
| Creates layout. | |
| virtual QSize | sizeHint () const |
| virtual QSize | minimumSizeHint () const |
Public Member Functions inherited from SplitViewInterface | |
| SplitViewInterface (QWidget *parent=0, const char *name=0) | |
| Creates layout. | |
| void | setPreviewMode (PREVIEW_MODE mode, bool forceDrawLabel=false) |
| Sets preview mode. | |
| void | setImages (QImage origImage, QImage adjustedImage) |
| void | setAdjustedImage (QImage adjustedImage) |
| sets adjusted image and repaints | |
| QImage & | getOrigImage () |
| returns orig image object | |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *) |
Protected Member Functions inherited from SplitViewInterface | |
| void | paintEvent (QPaintEvent *e) |
| void | mousePressEvent (QMouseEvent *e) |
| void | mouseReleaseEvent (QMouseEvent *) |
| void | mouseMoveEvent (QMouseEvent *e) |
Private Attributes | |
| QImage | fullScreenImage |
| Full screen version of image. | |
| QSize | origImageSize |
| original image dimensions | |
Definition at line 21 of file scaledPreviewInterface.h.
| ScaledPreviewInterface::ScaledPreviewInterface | ( | QString | imageFilename, |
| QWidget * | parent = 0, | ||
| const char * | name = 0 ) |
Creates layout.
Definition at line 22 of file scaledPreviewInterface.cpp.
References fullScreenImage, getImageSize(), origImageSize, and scaleImage().
|
virtual |
Reimplemented from SplitViewInterface.
Definition at line 61 of file scaledPreviewInterface.cpp.
References SplitViewInterface::minimumSizeHint(), and origImageSize.
|
signal |
Referenced by resizeEvent().
|
protectedvirtual |
Implements SplitViewInterface.
Definition at line 36 of file scaledPreviewInterface.cpp.
References fullScreenImage, height, resized(), SplitViewInterface::setImages(), and width.
|
virtual |
Implements SplitViewInterface.
Definition at line 50 of file scaledPreviewInterface.cpp.
References origImageSize.
|
private |
Full screen version of image.
Definition at line 37 of file scaledPreviewInterface.h.
Referenced by resizeEvent(), and ScaledPreviewInterface().
|
private |
original image dimensions
Definition at line 40 of file scaledPreviewInterface.h.
Referenced by minimumSizeHint(), ScaledPreviewInterface(), and sizeHint().