3 #include <Q3GridLayout>
18 #ifndef GUI_PHOTODESCEDIT_H
19 #define GUI_PHOTODESCEDIT_H
35 #define DISAPPEARING 2
39 #include <qdatetime.h>
40 #include <q3textedit.h>
void disappear()
this method is called by the acceptAndClose and rejectAndClose slots and actually initiates the closi...
void animate()
this method is iteratively called and animates the opening/closing of the image
QLabel * staticPhoto
photo being displayed
bool dropShadowsEnabled
are drop shadows enabled in windows (xp)?
QLabel * animationLabel
label which shows moving and expanding photo on background
Q3GridLayout * staticGrid
grid static widgets placed in
QImage * imageLarge
beginning and end pixmaps
TextEdit * photoDesc
photo description
int left
bounaries of entire animation
PhotoDescEdit(PhotoPreviewWidget *ppw, bool useAnimation, QWidget *parent=0, const char *name=0)
QPixmap * backgroundImage
this pixmap contains the screen contents for the entire region which we will be painting on top of
QWidget * staticFrame
frame which contains static widget
QPixmap * buffer
buffer we'll iteratively update and use for the label which shows the animation taking place
int idealTextSize
ultimate text dimension
QImage * textRectangle
text area widget used to computing painting surface
PhotoPreviewWidget * ppw
photo preview widget pointer
bool useAnimation
actually animate the opening/closing process?
void focusOutEvent(QFocusEvent *)
TextEdit(QWidget *parent=0, const char *name=0)
Q3PopupMenu * contextMenu
void keyPressEvent(QKeyEvent *e)
Q3PopupMenu * createPopupMenu(const QPoint &pos)