src/hbcore/style/hbstyleoptionprogressbar.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
    28 
    28 
    29 #include <hbglobal.h>
    29 #include <hbglobal.h>
    30 #include <hbicon.h>
    30 #include <hbicon.h>
    31 #include <hbstyleoption.h>
    31 #include <hbstyleoption.h>
    32 
    32 
       
    33 //Deprecated
    33 class HB_CORE_EXPORT HbStyleOptionProgressBar : public  HbStyleOption
    34 class HB_CORE_EXPORT HbStyleOptionProgressBar : public  HbStyleOption
    34 {
    35 {
    35 public:
    36 public:
    36     HbStyleOptionProgressBar();
    37     HbStyleOptionProgressBar();
    37     HbStyleOptionProgressBar(const HbStyleOptionProgressBar &other);
    38     HbStyleOptionProgressBar(const HbStyleOptionProgressBar &other);
    39 
    40 
    40 public:
    41 public:
    41     enum StyleOptionType { Type = HbSO_ProgressBar };
    42     enum StyleOptionType { Type = HbSO_ProgressBar };
    42     enum StyleOptionVersion { Version = 1 };
    43     enum StyleOptionVersion { Version = 1 };
    43     
    44     
    44     // deprecated
    45     enum HandleState {          // deprecated
    45     enum HandleState {
       
    46         PlayNormal,
    46         PlayNormal,
    47         PlayPressed,
    47         PlayPressed,
    48         PauseNormal,
    48         PauseNormal,
    49         PausePressed
    49         PausePressed
    50     };
    50     };
    51 
    51 
    52     enum SliderState
    52     enum SliderState            // deprecated
    53     {
    53     {
    54         SliderStatePlayNormal,
    54         SliderStatePlayNormal,
    55         SliderStatePlayPressed,
    55         SliderStatePlayPressed,
    56         SliderStatePauseNormal,
    56         SliderStatePauseNormal,
    57         SliderStatePausePressed
    57         SliderStatePausePressed
    58     };
    58     };
    59 
    59 
    60     int progressValue;
    60     int progressValue;
    61     int minimum;
    61     int minimum;
    62     int maximum;
    62     int maximum;
    63     uint inverted : 1;//mirrored
    63     uint inverted : 1;  //mirrored
    64     QString text; // deprecated
    64     QString text;               // deprecated
    65     bool isSlider;
    65     bool isSlider;
    66     uint stopWaitAnimation : 1;
    66     uint stopWaitAnimation : 1;
    67     QString minText;
    67     QString minText;
    68     QString maxText;
    68     QString maxText;
    69     Qt::Orientation orientation;
    69     Qt::Orientation orientation;
    70 
    70 
    71     int sliderValue;    
    71     int sliderValue;            // deprecated  
    72     QRectF handleRect;  
    72     QRectF handleRect;          // deprecated
    73     HbIcon thumbIcon;   // deprecated
    73     HbIcon thumbIcon;           // deprecated
    74     qreal maskWidth;    
    74     qreal maskWidth;            // deprecated
    75     bool secondoryType;
    75     bool secondaryType;         // deprecated
    76     HandleState handleState;    // deprecated
    76     HandleState handleState;    // deprecated
    77     SliderState sliderState;    // deprecated
    77     SliderState sliderState;    // deprecated
    78     Qt::Alignment minMaxTextAlignment;
    78     Qt::Alignment minMaxTextAlignment;
    79 };
    79 };
    80 
    80