ui/widgets/glxzoomwidget/inc/glxzoomwidget.h
changeset 58 383b67fbdb11
parent 54 0f0f3f26f787
child 62 36d93b4dc635
equal deleted inserted replaced
54:0f0f3f26f787 58:383b67fbdb11
    29 class QPinchGesture;
    29 class QPinchGesture;
    30 class HbIconItem;
    30 class HbIconItem;
    31 class GlxImageDecoderWrapper;
    31 class GlxImageDecoderWrapper;
    32 class QTimeLine;
    32 class QTimeLine;
    33 
    33 
    34 const int MAXZVALUE = 100;
    34 
    35 const int MINZVALUE = 0;
       
    36 const int NOOFSTEPS = 20;
       
    37 const float MAXDTZOOMIN = 3.5;
       
    38 
    35 
    39 class GLXZOOMWIDGETSHARED_EXPORT GlxZoomWidget : public HbScrollArea
    36 class GLXZOOMWIDGETSHARED_EXPORT GlxZoomWidget : public HbScrollArea
    40 {
    37 {
    41     Q_OBJECT
    38     Q_OBJECT
    42 
    39 
   150 
   147 
   151     //stores the incremental scalingfactor(sf) while performing double tap animation
   148     //stores the incremental scalingfactor(sf) while performing double tap animation
   152     qreal mIncSF;
   149     qreal mIncSF;
   153     //stores the scalingfactor increment applicable for each step of double tap animation
   150     //stores the scalingfactor increment applicable for each step of double tap animation
   154     qreal msfInc;
   151     qreal msfInc;
   155     //stores the item size before performing zoomout(zo)
   152     //stores the item size before performing zoomout or zoomin
   156     QSizeF mzoSize;
   153     QSizeF minitSize;
   157     //counter to track the double tap animation steps
   154     //counter to track the double tap animation steps
   158     int mdoubletapSteps;
   155     int mdoubletapSteps;
   159 };
   156 };
   160 #endif  //GLXZOOMWIDGET_H
   157 #endif  //GLXZOOMWIDGET_H