AlbumShaper
1.0a3
|
#include <presentationWidget.h>
Signals | |
void | endSlideshow () |
Public Member Functions | |
SlideshowWidget (QWidget *parent=0, const char *name=0, WFlags f=0) | |
void | beginSlideshow (Album *albm, Subalbum *startCollection=NULL, Photo *startPhoto=NULL) |
Subalbum * | getCurCollection () |
returns a pointer to the currently visible collection More... | |
Photo * | getCurPhoto () |
returns a pointer to the currently visible photo More... | |
Protected Member Functions | |
void | paintEvent (QPaintEvent *) |
void | keyPressEvent (QKeyEvent *e) |
void | mousePressEvent (QMouseEvent *e) |
void | mouseMoveEvent (QMouseEvent *e) |
void | contextMenuEvent (QContextMenuEvent *e) |
void | showCoverPage () |
void | showCollectionPage (Subalbum *subalbum) |
void | loadPhoto () |
void | showPhoto () |
void | refreshScreen () |
void | paintOverlaidControls () |
void | exchangePhotos () |
Private Slots | |
void | animate () |
void | advancePhoto () |
void | backupPhoto () |
void | skipToFirstPhoto () |
void | skipToLastPhoto () |
void | advanceCollection () |
void | backupCollection () |
void | hideMouse () |
void | toggleAutoPlay () |
void | stop () |
void | speedUp () |
void | slowDown () |
void | increaseTextSize () |
void | decreaseTextSize () |
void | contextMenuHiding () |
Definition at line 39 of file presentationWidget.h.
SlideshowWidget::SlideshowWidget | ( | QWidget * | parent = 0 , |
const char * | name = 0 , |
||
WFlags | f = 0 |
||
) |
Definition at line 36 of file presentationWidget.cpp.
References accel, advancePhoto(), animate(), animating, animatingTimer, autoPlay, autoPlayDelay, autoPlayTimer, collectionNum, contextMenuHidingBool, contextMenuShown, curAlbum, curCollection, curPhoto, currImage, displayAutoPlayDelay, displayDebugMessages, hideMouse(), IMAGE_PATH, IMMEDIATE, initDelay, interfaceAlphaMask, minDelay, mouseCursorTimer, paintBuffer1, paintBuffer2, paintBufferCurr, paintBufferPrev, pauseInterface, photoLoaded, photoNum, playInterface, prevImage, scaledImage1, scaledImage2, screenBuffer, screenHeight, screenWidth, speed1, speed2, speed4, speed8, and type.
|
privateslot |
Definition at line 728 of file presentationWidget.cpp.
References collectionNum, curAlbum, curCollection, curPhoto, exchangePhotos(), Subalbum::getFirst(), Album::getFirstSubalbum(), Subalbum::getNext(), IMMEDIATE, loadPhoto(), photoNum, SCROLL_RIGHT, SCROLL_UP, type, and USE_ANIMATION.
Referenced by advancePhoto(), contextMenuEvent(), keyPressEvent(), and mousePressEvent().
|
privateslot |
Definition at line 610 of file presentationWidget.cpp.
References advanceCollection(), animating, animatingMutex, autoPlayTimer, curPhoto, exchangePhotos(), Photo::getNext(), IMMEDIATE, loadPhoto(), photoNum, SCROLL_LEFT, type, and USE_ANIMATION.
Referenced by contextMenuEvent(), keyPressEvent(), mousePressEvent(), and SlideshowWidget().
|
privateslot |
Definition at line 796 of file presentationWidget.cpp.
References accel, animating, animatingTimer, autoPlay, autoPlayDelay, autoPlayTimer, currentTime, delay, displayDebugMessages, lastStep, lastTime, minDelay, paintBufferCurr, paintBufferPrev, paintOverlaidControls(), refreshScreen(), screenBuffer, screenHeight, screenWidth, SCROLL_DOWN, SCROLL_LEFT, SCROLL_RIGHT, SCROLL_UP, step, and type.
Referenced by exchangePhotos(), and SlideshowWidget().
|
privateslot |
Definition at line 762 of file presentationWidget.cpp.
References collectionNum, curAlbum, curCollection, curPhoto, exchangePhotos(), Subalbum::getLast(), Album::getLastSubalbum(), Subalbum::getNumPhotos(), Album::getNumSubalbums(), Subalbum::getPrev(), IMMEDIATE, loadPhoto(), photoNum, SCROLL_DOWN, SCROLL_RIGHT, type, and USE_ANIMATION.
Referenced by backupPhoto(), contextMenuEvent(), keyPressEvent(), and mousePressEvent().
|
privateslot |
Definition at line 642 of file presentationWidget.cpp.
References animating, animatingMutex, backupCollection(), curPhoto, exchangePhotos(), Photo::getPrev(), IMMEDIATE, loadPhoto(), photoNum, SCROLL_RIGHT, type, and USE_ANIMATION.
Referenced by contextMenuEvent(), keyPressEvent(), and mousePressEvent().
void SlideshowWidget::beginSlideshow | ( | Album * | albm, |
Subalbum * | startCollection = NULL , |
||
Photo * | startPhoto = NULL |
||
) |
Definition at line 475 of file presentationWidget.cpp.
References autoPlay, autoPlayDelay, autoPlayTimer, BL_TextBorder, Bottom_TextBorder, BR_TextBorder, collectionNum, curAlbum, curCollection, curPhoto, displayAutoPlayDelay, displayDebugMessages, fontSize, Subalbum::getFirst(), Album::getFirstSubalbum(), Subalbum::getNext(), Photo::getNext(), Album::getSaveLocation(), Album::getTheme(), Left_TextBorder, loadPhoto(), mouseShown, photoNum, refreshScreen(), Right_TextBorder, showCoverPage(), THEMES_PATH, TL_TextBorder, Top_TextBorder, and TR_TextBorder.
|
protected |
Definition at line 286 of file presentationWidget.cpp.
References advanceCollection(), advancePhoto(), autoPlay, autoPlayTimer, backupCollection(), backupPhoto(), contextMenuHiding(), contextMenuShown, decreaseTextSize(), IMAGE_PATH, increaseTextSize(), mouseCursorTimer, skipToFirstPhoto(), skipToLastPhoto(), slowDown(), speedUp(), stop(), and toggleAutoPlay().
|
privateslot |
Definition at line 345 of file presentationWidget.cpp.
References autoPlay, autoPlayDelay, autoPlayTimer, contextMenuHidingBool, HIDE_MOUSE_DELAY, and mouseCursorTimer.
Referenced by contextMenuEvent().
|
privateslot |
Definition at line 604 of file presentationWidget.cpp.
References fontSize, and refreshScreen().
Referenced by contextMenuEvent(), and keyPressEvent().
|
signal |
Referenced by stop().
|
protected |
Definition at line 929 of file presentationWidget.cpp.
References animate(), animating, delay, IMMEDIATE, initDelay, lastStep, lastTime, paintBufferCurr, paintBufferPrev, refreshScreen(), showPhoto(), step, and type.
Referenced by advanceCollection(), advancePhoto(), backupCollection(), backupPhoto(), skipToFirstPhoto(), and skipToLastPhoto().
Subalbum * SlideshowWidget::getCurCollection | ( | ) |
returns a pointer to the currently visible collection
Definition at line 1067 of file presentationWidget.cpp.
References curCollection.
Photo * SlideshowWidget::getCurPhoto | ( | ) |
returns a pointer to the currently visible photo
Definition at line 1069 of file presentationWidget.cpp.
References curPhoto.
|
privateslot |
Definition at line 374 of file presentationWidget.cpp.
References mouseShown, and refreshScreen().
Referenced by SlideshowWidget().
|
privateslot |
Definition at line 598 of file presentationWidget.cpp.
References fontSize, and refreshScreen().
Referenced by contextMenuEvent(), and keyPressEvent().
|
protected |
Definition at line 140 of file presentationWidget.cpp.
References advanceCollection(), advancePhoto(), backupCollection(), backupPhoto(), contextMenuShown, decreaseTextSize(), displayDebugMessages, increaseTextSize(), refreshScreen(), skipToFirstPhoto(), skipToLastPhoto(), slowDown(), speedUp(), stop(), and toggleAutoPlay().
|
protected |
Definition at line 389 of file presentationWidget.cpp.
References curPhoto, currImage, Photo::getImageFilename(), photoLoaded, prevImage, scaleImage(), screenHeight, and screenWidth.
Referenced by advanceCollection(), advancePhoto(), backupCollection(), backupPhoto(), beginSlideshow(), showCollectionPage(), skipToFirstPhoto(), and skipToLastPhoto().
|
protected |
Definition at line 264 of file presentationWidget.cpp.
References HIDE_MOUSE_DELAY, mouseCursorTimer, mouseShown, paintOverlaidControls(), and photoLoaded.
|
protected |
Definition at line 199 of file presentationWidget.cpp.
References advanceCollection(), advancePhoto(), backupCollection(), backupPhoto(), HIDE_MOUSE_DELAY, interfaceAlphaMask, mouseCursorTimer, mouseShown, pauseInterface, screenHeight, screenWidth, TEXT_MARGIN, and toggleAutoPlay().
|
protected |
|
protected |
Definition at line 976 of file presentationWidget.cpp.
References autoPlay, autoPlayDelay, collectionNum, curAlbum, curCollection, displayAutoPlayDelay, displayDebugMessages, fontSize, Subalbum::getNumPhotos(), Album::getNumSubalbums(), mouseShown, pauseInterface, photoNum, playInterface, screenBuffer, screenHeight, screenWidth, speed1, speed2, speed4, speed8, and TEXT_MARGIN.
Referenced by animate(), mouseMoveEvent(), and refreshScreen().
|
protected |
Definition at line 961 of file presentationWidget.cpp.
References paintBufferCurr, paintOverlaidControls(), screenBuffer, and showPhoto().
Referenced by animate(), beginSlideshow(), decreaseTextSize(), exchangePhotos(), hideMouse(), increaseTextSize(), keyPressEvent(), showCollectionPage(), slowDown(), speedUp(), and toggleAutoPlay().
|
protected |
Definition at line 559 of file presentationWidget.cpp.
References autoPlay, autoPlayDelay, autoPlayTimer, curCollection, curPhoto, Subalbum::getFirst(), loadPhoto(), photoNum, and refreshScreen().
Referenced by showCoverPage().
|
protected |
Definition at line 552 of file presentationWidget.cpp.
References collectionNum, curAlbum, Album::getFirstSubalbum(), and showCollectionPage().
Referenced by beginSlideshow().
|
protected |
Definition at line 402 of file presentationWidget.cpp.
References BL_TextBorder, Bottom_TextBorder, BR_TextBorder, curPhoto, currImage, fontSize, Photo::getDescription(), Left_TextBorder, paintBufferCurr, Right_TextBorder, screenHeight, TEXT_MARGIN, TL_TextBorder, Top_TextBorder, and TR_TextBorder.
Referenced by exchangePhotos(), and refreshScreen().
|
privateslot |
Definition at line 671 of file presentationWidget.cpp.
References animating, animatingMutex, curCollection, curPhoto, exchangePhotos(), Subalbum::getFirst(), IMMEDIATE, loadPhoto(), photoNum, SCROLL_RIGHT, type, and USE_ANIMATION.
Referenced by contextMenuEvent(), and keyPressEvent().
|
privateslot |
Definition at line 699 of file presentationWidget.cpp.
References animating, animatingMutex, curCollection, curPhoto, exchangePhotos(), Subalbum::getLast(), Subalbum::getNumPhotos(), IMMEDIATE, loadPhoto(), photoNum, SCROLL_LEFT, type, and USE_ANIMATION.
Referenced by contextMenuEvent(), and keyPressEvent().
|
privateslot |
Definition at line 586 of file presentationWidget.cpp.
References autoPlay, autoPlayDelay, autoPlayTimer, displayAutoPlayDelay, and refreshScreen().
Referenced by contextMenuEvent(), and keyPressEvent().
|
privateslot |
Definition at line 574 of file presentationWidget.cpp.
References autoPlay, autoPlayDelay, autoPlayTimer, displayAutoPlayDelay, and refreshScreen().
Referenced by contextMenuEvent(), and keyPressEvent().
|
privateslot |
Definition at line 116 of file presentationWidget.cpp.
References animatingTimer, autoPlayTimer, endSlideshow(), mouseCursorTimer, mouseShown, and photoLoaded.
Referenced by contextMenuEvent(), and keyPressEvent().
|
privateslot |
Definition at line 357 of file presentationWidget.cpp.
References autoPlay, autoPlayDelay, autoPlayTimer, displayAutoPlayDelay, and refreshScreen().
Referenced by contextMenuEvent(), keyPressEvent(), and mousePressEvent().
|
private |
Definition at line 152 of file presentationWidget.h.
Referenced by animate(), and SlideshowWidget().
|
private |
Definition at line 165 of file presentationWidget.h.
Referenced by advancePhoto(), animate(), backupPhoto(), exchangePhotos(), skipToFirstPhoto(), skipToLastPhoto(), and SlideshowWidget().
|
private |
Definition at line 167 of file presentationWidget.h.
Referenced by advancePhoto(), backupPhoto(), skipToFirstPhoto(), and skipToLastPhoto().
|
private |
Definition at line 161 of file presentationWidget.h.
Referenced by animate(), SlideshowWidget(), and stop().
|
private |
Definition at line 157 of file presentationWidget.h.
Referenced by animate(), beginSlideshow(), contextMenuEvent(), contextMenuHiding(), paintOverlaidControls(), showCollectionPage(), SlideshowWidget(), slowDown(), speedUp(), and toggleAutoPlay().
|
private |
Definition at line 156 of file presentationWidget.h.
Referenced by animate(), beginSlideshow(), contextMenuHiding(), paintOverlaidControls(), showCollectionPage(), SlideshowWidget(), slowDown(), speedUp(), and toggleAutoPlay().
|
private |
Definition at line 155 of file presentationWidget.h.
Referenced by advancePhoto(), animate(), beginSlideshow(), contextMenuEvent(), contextMenuHiding(), showCollectionPage(), SlideshowWidget(), slowDown(), speedUp(), stop(), and toggleAutoPlay().
|
private |
Definition at line 132 of file presentationWidget.h.
Referenced by beginSlideshow(), and showPhoto().
|
private |
Definition at line 132 of file presentationWidget.h.
Referenced by beginSlideshow(), and showPhoto().
|
private |
Definition at line 132 of file presentationWidget.h.
Referenced by beginSlideshow(), and showPhoto().
|
private |
Definition at line 124 of file presentationWidget.h.
Referenced by advanceCollection(), backupCollection(), beginSlideshow(), paintOverlaidControls(), showCoverPage(), and SlideshowWidget().
|
private |
Definition at line 181 of file presentationWidget.h.
Referenced by contextMenuHiding(), and SlideshowWidget().
|
private |
Definition at line 180 of file presentationWidget.h.
Referenced by contextMenuEvent(), keyPressEvent(), and SlideshowWidget().
|
private |
Definition at line 120 of file presentationWidget.h.
Referenced by advanceCollection(), backupCollection(), beginSlideshow(), paintOverlaidControls(), showCoverPage(), and SlideshowWidget().
|
private |
Definition at line 121 of file presentationWidget.h.
Referenced by advanceCollection(), backupCollection(), beginSlideshow(), getCurCollection(), paintOverlaidControls(), showCollectionPage(), skipToFirstPhoto(), skipToLastPhoto(), and SlideshowWidget().
|
private |
Definition at line 122 of file presentationWidget.h.
Referenced by advanceCollection(), advancePhoto(), backupCollection(), backupPhoto(), beginSlideshow(), getCurPhoto(), loadPhoto(), showCollectionPage(), showPhoto(), skipToFirstPhoto(), skipToLastPhoto(), and SlideshowWidget().
|
private |
Definition at line 162 of file presentationWidget.h.
Referenced by animate().
|
private |
Definition at line 129 of file presentationWidget.h.
Referenced by loadPhoto(), showPhoto(), and SlideshowWidget().
|
private |
Definition at line 152 of file presentationWidget.h.
Referenced by animate(), and exchangePhotos().
|
private |
Definition at line 158 of file presentationWidget.h.
Referenced by beginSlideshow(), paintOverlaidControls(), SlideshowWidget(), slowDown(), speedUp(), and toggleAutoPlay().
|
private |
Definition at line 170 of file presentationWidget.h.
Referenced by animate(), beginSlideshow(), keyPressEvent(), paintOverlaidControls(), and SlideshowWidget().
|
private |
Definition at line 173 of file presentationWidget.h.
Referenced by beginSlideshow(), decreaseTextSize(), increaseTextSize(), paintOverlaidControls(), and showPhoto().
|
private |
Definition at line 152 of file presentationWidget.h.
Referenced by exchangePhotos(), and SlideshowWidget().
|
private |
Definition at line 145 of file presentationWidget.h.
Referenced by mousePressEvent(), and SlideshowWidget().
|
private |
Definition at line 151 of file presentationWidget.h.
Referenced by animate(), and exchangePhotos().
|
private |
Definition at line 162 of file presentationWidget.h.
Referenced by animate(), and exchangePhotos().
|
private |
Definition at line 132 of file presentationWidget.h.
Referenced by beginSlideshow(), and showPhoto().
|
private |
Definition at line 152 of file presentationWidget.h.
Referenced by animate(), and SlideshowWidget().
|
private |
Definition at line 176 of file presentationWidget.h.
Referenced by contextMenuEvent(), contextMenuHiding(), mouseMoveEvent(), mousePressEvent(), SlideshowWidget(), and stop().
|
private |
Definition at line 177 of file presentationWidget.h.
Referenced by beginSlideshow(), hideMouse(), mouseMoveEvent(), mousePressEvent(), paintOverlaidControls(), and stop().
|
private |
Definition at line 139 of file presentationWidget.h.
Referenced by SlideshowWidget().
|
private |
Definition at line 139 of file presentationWidget.h.
Referenced by SlideshowWidget().
|
private |
Definition at line 138 of file presentationWidget.h.
Referenced by animate(), exchangePhotos(), refreshScreen(), showPhoto(), and SlideshowWidget().
|
private |
Definition at line 138 of file presentationWidget.h.
Referenced by animate(), exchangePhotos(), and SlideshowWidget().
|
private |
Definition at line 145 of file presentationWidget.h.
Referenced by mousePressEvent(), paintOverlaidControls(), and SlideshowWidget().
|
private |
Definition at line 126 of file presentationWidget.h.
Referenced by loadPhoto(), mouseMoveEvent(), SlideshowWidget(), and stop().
|
private |
Definition at line 124 of file presentationWidget.h.
Referenced by advanceCollection(), advancePhoto(), backupCollection(), backupPhoto(), beginSlideshow(), paintOverlaidControls(), showCollectionPage(), skipToFirstPhoto(), skipToLastPhoto(), and SlideshowWidget().
|
private |
Definition at line 145 of file presentationWidget.h.
Referenced by paintOverlaidControls(), and SlideshowWidget().
|
private |
Definition at line 130 of file presentationWidget.h.
Referenced by loadPhoto(), and SlideshowWidget().
|
private |
Definition at line 132 of file presentationWidget.h.
Referenced by beginSlideshow(), and showPhoto().
|
private |
Definition at line 128 of file presentationWidget.h.
Referenced by SlideshowWidget().
|
private |
Definition at line 128 of file presentationWidget.h.
Referenced by SlideshowWidget().
|
private |
Definition at line 139 of file presentationWidget.h.
Referenced by animate(), paintEvent(), paintOverlaidControls(), refreshScreen(), and SlideshowWidget().
|
private |
Definition at line 148 of file presentationWidget.h.
Referenced by animate(), loadPhoto(), mousePressEvent(), paintOverlaidControls(), showPhoto(), and SlideshowWidget().
|
private |
Definition at line 148 of file presentationWidget.h.
Referenced by animate(), loadPhoto(), mousePressEvent(), paintOverlaidControls(), and SlideshowWidget().
|
private |
Definition at line 142 of file presentationWidget.h.
Referenced by paintOverlaidControls(), and SlideshowWidget().
|
private |
Definition at line 142 of file presentationWidget.h.
Referenced by paintOverlaidControls(), and SlideshowWidget().
|
private |
Definition at line 142 of file presentationWidget.h.
Referenced by paintOverlaidControls(), and SlideshowWidget().
|
private |
Definition at line 142 of file presentationWidget.h.
Referenced by paintOverlaidControls(), and SlideshowWidget().
|
private |
Definition at line 151 of file presentationWidget.h.
Referenced by animate(), and exchangePhotos().
|
private |
Definition at line 119 of file presentationWidget.h.
|
private |
Definition at line 132 of file presentationWidget.h.
Referenced by beginSlideshow(), and showPhoto().
|
private |
Definition at line 132 of file presentationWidget.h.
Referenced by beginSlideshow(), and showPhoto().
|
private |
Definition at line 132 of file presentationWidget.h.
Referenced by beginSlideshow(), and showPhoto().
|
private |
Definition at line 166 of file presentationWidget.h.
Referenced by advanceCollection(), advancePhoto(), animate(), backupCollection(), backupPhoto(), exchangePhotos(), skipToFirstPhoto(), skipToLastPhoto(), and SlideshowWidget().