#include <addPhotosDialog.h>
Inheritance diagram for FilePreview:
Public Member Functions | |
FilePreview (QWidget *parent=0) | |
~FilePreview () | |
QSize | minimumSizeHint () const |
void | previewUrl (const QUrl &) |
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 173 of file addPhotosDialog.cpp. References fileDetails, filePreview, FilePreview(), and generatorThread. Referenced by FilePreview().
|
|
Definition at line 193 of file addPhotosDialog.cpp. References generatorThread.
|
|
handle update events that come from the GeneratePreviewThread
Definition at line 207 of file addPhotosDialog.cpp. References customEvent(), fileDetails, filePreview, UpdatePreviewEvent::getDetails(), UpdatePreviewEvent::getImage(), and UPDATE_PREVIEW_DETAILS. Referenced by customEvent().
|
|
Definition at line 201 of file addPhotosDialog.cpp. References MIN_HEIGHT, and MIN_WIDTH.
|
|
declared to make base class happy. we'll use an updatePreview function instead
Definition at line 63 of file addPhotosDialog.h. References previewUrl(). Referenced by previewUrl().
|
|
call this function to update the file preview
Definition at line 226 of file addPhotosDialog.cpp. References generatorThread, GeneratePreviewThread::start(), and updatePreview(). Referenced by AddPhotosDialog::updatePreview(), and updatePreview().
|
|
details about last selected file
Definition at line 77 of file addPhotosDialog.h. Referenced by customEvent(), and FilePreview(). |
|
preview of last selected file
Definition at line 74 of file addPhotosDialog.h. Referenced by customEvent(), and FilePreview(). |
|
a worker thread that actually generates the file preview image and details information that is displayed.
Definition at line 82 of file addPhotosDialog.h. Referenced by FilePreview(), updatePreview(), and ~FilePreview(). |