videoplayback/hbvideoplaybackview/tsrc/testvideoplaybackcontrolscontroller/stub/inc/mpxvideoplaybacknontouchvolumebar.h
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 37 4eb2df7f7cbe
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 QMPXVideoPlaybackNonTouchVolumeBar
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version:  1 %
       
    19 
       
    20 
       
    21 
       
    22 #ifndef MPXVIDEOPLAYBACKNONTOUCHVOLUMEBAR_H_
       
    23 #define MPXVIDEOPLAYBACKNONTOUCHVOLUMEBAR_H_
       
    24 
       
    25 
       
    26 #include <hbvolumeslider.h>
       
    27 
       
    28 class QTimer;
       
    29 class QGraphicsSceneMouseEvent;
       
    30 
       
    31 class QMPXVideoPlaybackNonTouchVolumeBar : public HbVolumeSlider
       
    32 {
       
    33     Q_OBJECT
       
    34 
       
    35     public:
       
    36         QMPXVideoPlaybackNonTouchVolumeBar( 
       
    37                 bool currentValueVisible = false, QGraphicsItem *parent = 0 );
       
    38 
       
    39         virtual ~QMPXVideoPlaybackNonTouchVolumeBar();
       
    40 
       
    41     public:
       
    42         void setVisible( bool visible );
       
    43         
       
    44         void setValue( int value );
       
    45 
       
    46     public:
       
    47 
       
    48         bool    mVisible;
       
    49         int     mValue;
       
    50         
       
    51 };
       
    52 
       
    53 #endif /*MPXVIDEOPLAYBACKNONTOUCHVOLUMEBAR_H_*/
       
    54