kstars
ThumbImage Class Reference
#include <thumbnaileditor.h>
Inheritance diagram for ThumbImage:

Signals | |
void | cropRegionModified () |
Public Member Functions | |
QPixmap | croppedImage () |
QRect * | cropRect () const |
QPixmap * | image () |
void | setCropRect (int x, int y, int w, int h) |
void | setImage (QPixmap *pm) |
ThumbImage (QWidget *parent, const char *name=0) | |
~ThumbImage () | |
Protected Member Functions | |
void | mouseMoveEvent (QMouseEvent *e) |
void | mousePressEvent (QMouseEvent *e) |
void | mouseReleaseEvent (QMouseEvent *e) |
void | paintEvent (QPaintEvent *) |
Detailed Description
Definition at line 28 of file thumbnaileditor.h.
Constructor & Destructor Documentation
ThumbImage::ThumbImage | ( | QWidget * | parent, | |
const char * | name = 0 | |||
) |
Definition at line 78 of file thumbnaileditor.cpp.
ThumbImage::~ThumbImage | ( | ) |
Definition at line 93 of file thumbnaileditor.cpp.
Member Function Documentation
QPixmap ThumbImage::croppedImage | ( | ) |
Definition at line 69 of file thumbnaileditor.cpp.
QRect* ThumbImage::cropRect | ( | ) | const [inline] |
Definition at line 40 of file thumbnaileditor.h.
void ThumbImage::cropRegionModified | ( | ) | [signal] |
QPixmap* ThumbImage::image | ( | void | ) | [inline] |
Definition at line 36 of file thumbnaileditor.h.
void ThumbImage::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected] |
Definition at line 167 of file thumbnaileditor.cpp.
void ThumbImage::mousePressEvent | ( | QMouseEvent * | e | ) | [protected] |
Definition at line 132 of file thumbnaileditor.cpp.
void ThumbImage::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected] |
Definition at line 159 of file thumbnaileditor.cpp.
void ThumbImage::paintEvent | ( | QPaintEvent * | ) | [protected] |
Definition at line 96 of file thumbnaileditor.cpp.
void ThumbImage::setCropRect | ( | int | x, | |
int | y, | |||
int | w, | |||
int | h | |||
) | [inline] |
Definition at line 39 of file thumbnaileditor.h.
void ThumbImage::setImage | ( | QPixmap * | pm | ) | [inline] |
Definition at line 35 of file thumbnaileditor.h.
The documentation for this class was generated from the following files: