|
AlbumShaper 1.0a3
|
Simple dialog for browsing and select photos to add to a subalbum. More...
#include <addPhotosDialog.h>


Public Member Functions | |
| AddPhotosDialog (QString path, QWidget *parent=0, const char *name=0) | |
| QStringList | getFilenames (bool &setDescriptions) |
| returns the list of selected filenames, while setting setDescritions to the state the checkbox was left in. | |
Private Slots | |
| void | updatePreview (const QString &filename) |
| handle the user selecting items by updating the file preview fields | |
Private Attributes | |
| QCheckBox * | setDescriptions |
| Checkbox asking if filenames should be used to set image descriptions. | |
| FilePreview * | filePreview |
| Used to preview selected files. | |
Simple dialog for browsing and select photos to add to a subalbum.
Definition at line 92 of file addPhotosDialog.h.
| AddPhotosDialog::AddPhotosDialog | ( | QString | path, |
| QWidget * | parent = 0, | ||
| const char * | name = 0 ) |
Definition at line 241 of file addPhotosDialog.cpp.
References filePreview, setDescriptions, and updatePreview().
| QStringList AddPhotosDialog::getFilenames | ( | bool & | setDescriptions | ) |
returns the list of selected filenames, while setting setDescritions to the state the checkbox was left in.
Definition at line 268 of file addPhotosDialog.cpp.
References setDescriptions.
Referenced by SubalbumWidget::addImageAction().
|
privateslot |
handle the user selecting items by updating the file preview fields
Definition at line 278 of file addPhotosDialog.cpp.
References filePreview, and FilePreview::updatePreview().
Referenced by AddPhotosDialog().
|
private |
Used to preview selected files.
Definition at line 108 of file addPhotosDialog.h.
Referenced by AddPhotosDialog(), and updatePreview().
|
private |
Checkbox asking if filenames should be used to set image descriptions.
Definition at line 105 of file addPhotosDialog.h.
Referenced by AddPhotosDialog(), and getFilenames().