AlbumShaper
1.0a3
|
Extension of iconview, used to list all subalbums in album. Supports drag-n-drop within iconview such that subalbums can be reordered, as well as dropping photos from subalbums to allow photos to be moved from one subalbum to another. More...
#include <subalbumsIconView.h>
Signals | |
void | itemHasMoved () |
Public Member Functions | |
SubalbumsIconView (QWidget *parent) | |
int | getTextWidth () |
QSize | minimumSizeHint () const |
QSize | sizeHint () const |
Protected Member Functions | |
void | drawContents (QPainter *p, int clipx, int clipy, int clipw, int cliph) |
Q3DragObject * | dragObject () |
void | contentsMousePressEvent (QMouseEvent *e) |
void | contentsDragMoveEvent (QDragMoveEvent *e) |
Private Slots | |
void | repaintGroup (Q3IconViewItem *pseudoSelection) |
void | clearPseudoSelection () |
Private Member Functions | |
void | contentsDropEvent (QDropEvent *e) |
Private Attributes | |
QPixmap | bufferPixmap |
QPoint | dragStartPos |
SubalbumPreviewWidget * | currentPseudoSelection |
int | textWidth |
Extension of iconview, used to list all subalbums in album. Supports drag-n-drop within iconview such that subalbums can be reordered, as well as dropping photos from subalbums to allow photos to be moved from one subalbum to another.
Definition at line 36 of file subalbumsIconView.h.
SubalbumsIconView::SubalbumsIconView | ( | QWidget * | parent | ) |
Definition at line 32 of file subalbumsIconView.cpp.
References clearPseudoSelection(), currentPseudoSelection, repaintGroup(), and textWidth.
|
privateslot |
Definition at line 171 of file subalbumsIconView.cpp.
References currentPseudoSelection, and SubalbumPreviewWidget::setMousedOver().
Referenced by repaintGroup(), and SubalbumsIconView().
|
protected |
Definition at line 115 of file subalbumsIconView.cpp.
References currentPseudoSelection, and SubalbumPreviewWidget::setMousedOver().
|
private |
|
protected |
|
protected |
Definition at line 84 of file subalbumsIconView.cpp.
References buffer, and dragStartPos.
|
protected |
int SubalbumsIconView::getTextWidth | ( | ) |
Definition at line 182 of file subalbumsIconView.cpp.
References textWidth.
Referenced by SubalbumPreviewWidget::initializeItemRect(), and SubalbumPreviewWidget::setText().
|
signal |
Referenced by contentsDropEvent().
QSize SubalbumsIconView::minimumSizeHint | ( | ) | const |
|
privateslot |
Definition at line 160 of file subalbumsIconView.cpp.
References clearPseudoSelection(), currentPseudoSelection, and SubalbumPreviewWidget::setMousedOver().
Referenced by SubalbumsIconView().
QSize SubalbumsIconView::sizeHint | ( | ) | const |
|
private |
Definition at line 64 of file subalbumsIconView.h.
Referenced by drawContents().
|
private |
Definition at line 66 of file subalbumsIconView.h.
Referenced by clearPseudoSelection(), contentsDragMoveEvent(), repaintGroup(), and SubalbumsIconView().
|
private |
Definition at line 65 of file subalbumsIconView.h.
Referenced by contentsMousePressEvent(), and dragObject().
|
private |
Definition at line 70 of file subalbumsIconView.h.
Referenced by getTextWidth(), and SubalbumsIconView().