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