videoplayback/hbvideoplaybackview/tsrc/testvideoplaybackcontrolscontroller/stub/inc/hbvolumesliderpopup.h
changeset 36 8aed59de29f9
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Implementation of HbVolumeSliderPopup
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version:   2 %
       
    19 
       
    20 
       
    21 
       
    22 #ifndef HBVOLUMESLIDERPOPUP_H
       
    23 #define HBVOLUMESLIDERPOPUP_H
       
    24 
       
    25 #include <hbwidget.h>
       
    26 
       
    27 
       
    28 class HbVolumeSliderPopup : public HbWidget
       
    29 {
       
    30     Q_OBJECT
       
    31 
       
    32     public:
       
    33         HbVolumeSliderPopup();
       
    34         virtual ~HbVolumeSliderPopup();
       
    35 
       
    36     public:
       
    37         void setEnabled( bool enabled );
       
    38         void setVisible( bool visible );
       
    39         bool isEnabled();
       
    40         bool isVisible();
       
    41         void setValue( int value );
       
    42         void setTimeout( int timeout );
       
    43         void setTickPosition( Hb::SliderTickPositions position );
       
    44         void setRange( int min, int max );
       
    45 
       
    46     public:
       
    47         bool mVisible;
       
    48         bool mEnabled;
       
    49         int  mValue;
       
    50         int  mTimeOut;
       
    51         int  mMin;
       
    52         int  mMax;
       
    53         Hb::SliderTickPositions mPosition;
       
    54 };
       
    55 
       
    56 #endif /*HBVOLUMESLIDERPOPUP_H*/
       
    57