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


Public Member Functions | |
| FilePreview (QWidget *parent=0) | |
| ~FilePreview () | |
| QSize | minimumSizeHint () const |
| void | previewUrl (const Q3Url &) |
| declared to make base class happy. we'll use an updatePreview function instead | |
| void | updatePreview (const QString &path) |
| call this function to update the file preview | |
Protected Member Functions | |
| void | customEvent (QCustomEvent *e) |
| handle update events that come from the GeneratePreviewThread | |
Private Attributes | |
| QLabel * | filePreview |
| preview of last selected file | |
| QLabel * | fileDetails |
| details about last selected file | |
| GeneratePreviewThread * | generatorThread |
| a worker thread that actually generates the file preview image and details information that is displayed. | |
Definition at line 59 of file addPhotosDialog.h.
| FilePreview::FilePreview | ( | QWidget * | parent = 0 | ) |
Definition at line 176 of file addPhotosDialog.cpp.
References fileDetails, filePreview, and generatorThread.
| FilePreview::~FilePreview | ( | ) |
Definition at line 196 of file addPhotosDialog.cpp.
References generatorThread.
|
protected |
handle update events that come from the GeneratePreviewThread
Definition at line 210 of file addPhotosDialog.cpp.
References fileDetails, filePreview, UpdatePreviewEvent::getDetails(), UpdatePreviewEvent::getImage(), and UPDATE_PREVIEW_DETAILS.
| QSize FilePreview::minimumSizeHint | ( | ) | const |
Definition at line 204 of file addPhotosDialog.cpp.
References MIN_HEIGHT, and MIN_WIDTH.
|
inline |
declared to make base class happy. we'll use an updatePreview function instead
Definition at line 67 of file addPhotosDialog.h.
| void FilePreview::updatePreview | ( | const QString & | path | ) |
call this function to update the file preview
Definition at line 229 of file addPhotosDialog.cpp.
References generatorThread, and GeneratePreviewThread::start().
Referenced by AddPhotosDialog::updatePreview().
|
private |
details about last selected file
Definition at line 81 of file addPhotosDialog.h.
Referenced by customEvent(), and FilePreview().
|
private |
preview of last selected file
Definition at line 78 of file addPhotosDialog.h.
Referenced by customEvent(), and FilePreview().
|
private |
a worker thread that actually generates the file preview image and details information that is displayed.
Definition at line 86 of file addPhotosDialog.h.
Referenced by FilePreview(), updatePreview(), and ~FilePreview().