AlbumShaper
1.0a3
|
Extension of iconview, used to list all photos in a subalbum. supports drag-n-drop within iconview. More...
#include <photosIconView.h>
Public Slots | |
void | clearPseudoSelection () |
void | repaintGroup (Q3IconViewItem *pseudoSelection) |
Signals | |
void | itemHasMoved () |
void | addPhotos (QStringList) |
void | removeSelectedPhotos () |
void | rotate90SelectedPhotos () |
void | rotate270SelectedPhotos () |
void | editSelectedPhoto () |
Public Member Functions | |
PhotosIconView (QWidget *parent) | |
int | numSelected () |
Protected Member Functions | |
Q3DragObject * | dragObject () |
void | drawContents (QPainter *p, int clipx, int clipy, int clipw, int cliph) |
void | drawBackground (QPainter *p, const QRect &r) |
void | contextMenuEvent (QContextMenuEvent *e) |
void | contentsMouseMoveEvent (QMouseEvent *e) |
void | contentsMousePressEvent (QMouseEvent *e) |
void | keyPressEvent (QKeyEvent *e) |
Private Slots | |
void | setAlbumImage () |
void | setSubalbumImage () |
void | captureClick (Q3IconViewItem *, const QPoint &) |
Private Member Functions | |
void | contentsDropEvent (QDropEvent *e) |
bool | findNearestUnselectedPhoto (const QPoint &pos, Q3IconViewItem **nearestItem, bool &posIsleftOfItem) |
Private Attributes | |
PhotoPreviewWidget * | rightClickedPhoto |
QPixmap * | backgroundImage |
QPixmap | bufferPixmap |
QPixmap * | dragIcon |
PhotoPreviewWidget * | currentPseudoSelection |
bool | handCursorShown |
QPoint | dragStartPos |
PhotoDescEdit * | curPhotoDescEdit |
Extension of iconview, used to list all photos in a subalbum. supports drag-n-drop within iconview.
Definition at line 36 of file photosIconView.h.
PhotosIconView::PhotosIconView | ( | QWidget * | parent | ) |
Definition at line 51 of file photosIconView.cpp.
References backgroundImage, captureClick(), clearPseudoSelection(), curPhotoDescEdit, currentPseudoSelection, dragIcon, handCursorShown, IMAGE_PATH, repaintGroup(), and rightClickedPhoto.
|
signal |
Referenced by contentsDropEvent().
|
privateslot |
Definition at line 399 of file photosIconView.cpp.
References curPhotoDescEdit, and topLeft.
Referenced by PhotosIconView().
|
slot |
Definition at line 381 of file photosIconView.cpp.
References currentPseudoSelection, and PhotoPreviewWidget::setMousedOver().
Referenced by PhotosIconView(), and repaintGroup().
|
private |
Definition at line 228 of file photosIconView.cpp.
References addPhotos(), findNearestUnselectedPhoto(), and itemHasMoved().
|
protected |
Definition at line 437 of file photosIconView.cpp.
References currentPseudoSelection, PhotoPreviewWidget::getPhotoInfoRect(), and handCursorShown.
|
protected |
|
protected |
Definition at line 318 of file photosIconView.cpp.
References IMAGE_PATH, rightClickedPhoto, setAlbumImage(), and setSubalbumImage().
|
protected |
!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!
Definition at line 81 of file photosIconView.cpp.
References dragIcon.
|
protected |
|
protected |
|
signal |
Referenced by keyPressEvent().
|
private |
Definition at line 115 of file photosIconView.cpp.
References width.
Referenced by contentsDropEvent().
|
signal |
Referenced by contentsDropEvent().
|
protected |
Definition at line 471 of file photosIconView.cpp.
References curPhotoDescEdit, editSelectedPhoto(), numSelected(), removeSelectedPhotos(), rotate270SelectedPhotos(), and rotate90SelectedPhotos().
int PhotosIconView::numSelected | ( | ) |
Definition at line 305 of file photosIconView.cpp.
Referenced by keyPressEvent(), SubalbumWidget::rotate270ImageAction(), and SubalbumWidget::rotate90ImageAction().
|
signal |
Referenced by keyPressEvent().
|
slot |
Definition at line 367 of file photosIconView.cpp.
References clearPseudoSelection(), currentPseudoSelection, and PhotoPreviewWidget::setMousedOver().
Referenced by PhotosIconView().
|
signal |
Referenced by keyPressEvent().
|
signal |
Referenced by keyPressEvent().
|
privateslot |
Definition at line 335 of file photosIconView.cpp.
References PhotoPreviewWidget::getPhoto(), and rightClickedPhoto.
Referenced by contextMenuEvent().
|
privateslot |
Definition at line 341 of file photosIconView.cpp.
References PhotoPreviewWidget::getPhoto(), and rightClickedPhoto.
Referenced by contextMenuEvent().
|
private |
Definition at line 79 of file photosIconView.h.
Referenced by drawBackground(), and PhotosIconView().
|
private |
Definition at line 80 of file photosIconView.h.
Referenced by drawContents().
|
private |
Definition at line 86 of file photosIconView.h.
Referenced by captureClick(), keyPressEvent(), and PhotosIconView().
|
private |
Definition at line 82 of file photosIconView.h.
Referenced by clearPseudoSelection(), contentsMouseMoveEvent(), PhotosIconView(), and repaintGroup().
|
private |
Definition at line 81 of file photosIconView.h.
Referenced by dragObject(), and PhotosIconView().
|
private |
Definition at line 84 of file photosIconView.h.
Referenced by contentsMousePressEvent().
|
private |
Definition at line 83 of file photosIconView.h.
Referenced by contentsMouseMoveEvent(), and PhotosIconView().
|
private |
Definition at line 78 of file photosIconView.h.
Referenced by contextMenuEvent(), PhotosIconView(), setAlbumImage(), and setSubalbumImage().