AlbumShaper
1.0a3
|
#include <addPhotosDialog.h>
Public Member Functions | |
GeneratePreviewThread (FilePreview *previewWidget) | |
void | start (QString filename) |
virtual void | run () |
Private Attributes | |
QString | filename |
current file being processed More... | |
FilePreview * | previewWidget |
handle on preview widget necessary for posting an update event once the current file has been processed More... | |
bool | updating |
is the worker thread currently generating a file preview? More... | |
QString | queue |
next file to be processed by worker thread More... | |
QMutex | lockingMutex |
locking mutex - necessary to prevent multiple threads from accessing the updating bool or queue variable simultaniously More... | |
Definition at line 33 of file addPhotosDialog.h.
GeneratePreviewThread::GeneratePreviewThread | ( | FilePreview * | previewWidget | ) |
Definition at line 63 of file addPhotosDialog.cpp.
|
virtual |
Definition at line 97 of file addPhotosDialog.cpp.
References getImageSize(), MIN_HEIGHT, MIN_WIDTH, scaleImage(), and UpdatePreviewEvent::UpdatePreviewEvent().
void GeneratePreviewThread::start | ( | QString | filename | ) |
Definition at line 75 of file addPhotosDialog.cpp.
Referenced by FilePreview::updatePreview().
|
private |
current file being processed
Definition at line 42 of file addPhotosDialog.h.
|
private |
locking mutex - necessary to prevent multiple threads from accessing the updating bool or queue variable simultaniously
Definition at line 56 of file addPhotosDialog.h.
|
private |
handle on preview widget necessary for posting an update event once the current file has been processed
Definition at line 46 of file addPhotosDialog.h.
|
private |
next file to be processed by worker thread
Definition at line 52 of file addPhotosDialog.h.
|
private |
is the worker thread currently generating a file preview?
Definition at line 49 of file addPhotosDialog.h.