#include <photoDescEdit.h>
Inheritance diagram for PhotoDescEdit:
Public Slots | |
void | hide () |
Public Member Functions | |
PhotoDescEdit (PhotoPreviewWidget *ppw, bool useAnimation, QWidget *parent=0, const char *name=0) | |
~PhotoDescEdit () | |
Private Slots | |
void | animate () |
this method is iteratively called and animates the opening/closing of the image | |
void | disappear () |
this method is called by the acceptAndClose and rejectAndClose slots and actually initiates the closing process | |
Private Attributes | |
bool | useAnimation |
actually animate the opening/closing process? | |
PhotoPreviewWidget * | ppw |
photo preview widget pointer | |
QImage * | imageLarge |
beginning and end pixmaps | |
QImage * | textRectangle |
text area widget used to computing painting surface | |
QPoint | initPos |
QPoint | finalPos |
int | left |
bounaries of entire animation | |
int | right |
bounaries of entire animation | |
int | top |
bounaries of entire animation | |
int | bottom |
bounaries of entire animation | |
int | idealTextSize |
ultimate text dimension | |
QPixmap * | backgroundImage |
this pixmap contains the screen contents for the entire region which we will be painting on top of | |
int | smallWidth |
small size | |
int | smallHeight |
small size | |
QGridLayout * | mainGrid |
------------------------------------- | |
QLabel * | animationLabel |
label which shows moving and expanding photo on background | |
QPixmap * | buffer |
buffer we'll iteratively update and use for the label which shows the animation taking place | |
QGridLayout * | staticGrid |
grid static widgets placed in | |
QWidget * | staticFrame |
frame which contains static widget | |
QLabel * | staticPhoto |
photo being displayed | |
TextEdit * | photoDesc |
photo description | |
int | initDelay |
------------------------------------- Animation Stuff | |
int | accel |
------------------------------------- Animation Stuff | |
int | minDelay |
------------------------------------- Animation Stuff | |
int | step |
------------------------------------- Animation Stuff | |
int | delay |
------------------------------------- Animation Stuff | |
int | mode |
bool | dropShadowsEnabled |
are drop shadows enabled in windows (xp)? | |
QTimer * | timer |
QTime | lastTime |
QTime | currentTime |
|
Definition at line 47 of file photoDescEdit.cpp. References accel, animate(), animationLabel, APPEARING, backgroundImage, bottom, buffer, calcScaledImageDimensions(), delay, disappear(), dropShadowsEnabled, EDIT_MARGIN, finalPos, getImageSize(), idealTextSize, imageLarge, initDelay, initPos, lastTime, left, mainGrid, minDelay, mode, TextEdit::paintNow(), photoDesc, PhotoDescEdit(), right, smallHeight, smallWidth, STATIC, staticFrame, staticGrid, staticPhoto, step, textRectangle, timer, and top. Referenced by PhotoDescEdit().
|
|
Definition at line 389 of file photoDescEdit.cpp. References backgroundImage, buffer, imageLarge, textRectangle, and timer.
|
|
this method is iteratively called and animates the opening/closing of the image
Definition at line 398 of file photoDescEdit.cpp. References accel, animationLabel, APPEARING, backgroundImage, buffer, currentTime, delay, DISAPPEARED, dropShadowsEnabled, EDIT_MARGIN, finalPos, hide(), idealTextSize, imageLarge, initPos, lastTime, left, minDelay, mode, photoDesc, smallHeight, smallWidth, STATIC, staticFrame, step, textRectangle, timer, and top. Referenced by disappear(), and PhotoDescEdit().
|
|
this method is called by the acceptAndClose and rejectAndClose slots and actually initiates the closing process
Definition at line 518 of file photoDescEdit.cpp. References accel, animate(), animationLabel, DISAPPEARING, PhotoPreviewWidget::getPhoto(), initDelay, lastTime, minDelay, mode, photoDesc, ppw, Photo::setDescription(), PhotoPreviewWidget::setText(), staticFrame, step, textRectangle, and useAnimation. Referenced by hide(), and PhotoDescEdit().
|
|
Definition at line 544 of file photoDescEdit.cpp. References disappear(), DISAPPEARED, mode, ppw, and STATIC. Referenced by animate().
|
|
------------------------------------- Animation Stuff
Definition at line 111 of file photoDescEdit.h. Referenced by animate(), disappear(), and PhotoDescEdit(). |
|
label which shows moving and expanding photo on background
Definition at line 89 of file photoDescEdit.h. Referenced by animate(), disappear(), and PhotoDescEdit(). |
|
this pixmap contains the screen contents for the entire region which we will be painting on top of
Definition at line 78 of file photoDescEdit.h. Referenced by animate(), PhotoDescEdit(), and ~PhotoDescEdit(). |
|
bounaries of entire animation
Definition at line 71 of file photoDescEdit.h. Referenced by PhotoDescEdit(). |
|
buffer we'll iteratively update and use for the label which shows the animation taking place
Definition at line 92 of file photoDescEdit.h. Referenced by animate(), PhotoDescEdit(), and ~PhotoDescEdit(). |
|
Definition at line 121 of file photoDescEdit.h. Referenced by animate(). |
|
------------------------------------- Animation Stuff
Definition at line 111 of file photoDescEdit.h. Referenced by animate(), and PhotoDescEdit(). |
|
are drop shadows enabled in windows (xp)?
Definition at line 117 of file photoDescEdit.h. Referenced by animate(), and PhotoDescEdit(). |
|
Definition at line 68 of file photoDescEdit.h. Referenced by animate(), and PhotoDescEdit(). |
|
ultimate text dimension
Definition at line 74 of file photoDescEdit.h. Referenced by animate(), and PhotoDescEdit(). |
|
beginning and end pixmaps
Definition at line 62 of file photoDescEdit.h. Referenced by animate(), PhotoDescEdit(), and ~PhotoDescEdit(). |
|
------------------------------------- Animation Stuff
Definition at line 111 of file photoDescEdit.h. Referenced by disappear(), and PhotoDescEdit(). |
|
Definition at line 68 of file photoDescEdit.h. Referenced by animate(), and PhotoDescEdit(). |
|
Definition at line 121 of file photoDescEdit.h. Referenced by animate(), disappear(), and PhotoDescEdit(). |
|
bounaries of entire animation
Definition at line 71 of file photoDescEdit.h. Referenced by animate(), and PhotoDescEdit(). |
|
-------------------------------------
Definition at line 84 of file photoDescEdit.h. Referenced by PhotoDescEdit(). |
|
------------------------------------- Animation Stuff
Definition at line 111 of file photoDescEdit.h. Referenced by animate(), disappear(), and PhotoDescEdit(). |
|
Definition at line 114 of file photoDescEdit.h. Referenced by animate(), disappear(), hide(), and PhotoDescEdit(). |
|
photo description
Definition at line 106 of file photoDescEdit.h. Referenced by animate(), disappear(), and PhotoDescEdit(). |
|
photo preview widget pointer
Definition at line 59 of file photoDescEdit.h. Referenced by disappear(), and hide(). |
|
bounaries of entire animation
Definition at line 71 of file photoDescEdit.h. Referenced by PhotoDescEdit(). |
|
small size
Definition at line 81 of file photoDescEdit.h. Referenced by animate(), and PhotoDescEdit(). |
|
small size
Definition at line 81 of file photoDescEdit.h. Referenced by animate(), and PhotoDescEdit(). |
|
frame which contains static widget
Definition at line 100 of file photoDescEdit.h. Referenced by animate(), disappear(), and PhotoDescEdit(). |
|
grid static widgets placed in
Definition at line 97 of file photoDescEdit.h. Referenced by PhotoDescEdit(). |
|
photo being displayed
Definition at line 103 of file photoDescEdit.h. Referenced by PhotoDescEdit(). |
|
------------------------------------- Animation Stuff
Definition at line 111 of file photoDescEdit.h. Referenced by animate(), disappear(), and PhotoDescEdit(). |
|
text area widget used to computing painting surface
Definition at line 65 of file photoDescEdit.h. Referenced by animate(), disappear(), PhotoDescEdit(), and ~PhotoDescEdit(). |
|
Definition at line 120 of file photoDescEdit.h. Referenced by animate(), PhotoDescEdit(), and ~PhotoDescEdit(). |
|
bounaries of entire animation
Definition at line 71 of file photoDescEdit.h. Referenced by animate(), and PhotoDescEdit(). |
|
actually animate the opening/closing process?
Definition at line 56 of file photoDescEdit.h. Referenced by disappear(). |