mmsharing/livecommsui/lcui/tsrc/ut_lcui/hbstubs/hbsliderpopup.h
changeset 39 4bcc59142325
parent 22 496ad160a278
equal deleted inserted replaced
37:e9675fb210bd 39:4bcc59142325
       
     1 /*
       
     2 * Copyright (c) 2008-2009 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:  HbSliderPopup class definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef HB_SLIDERPOPUP_H
       
    20 #define HB_SLIDERPOPUP_H
       
    21 
       
    22 //#include <hbslider.h>
       
    23 #include <hbdialog.h>
       
    24 
       
    25 class HbSliderPopup : public HbDialog
       
    26 {
       
    27 
       
    28 public:
       
    29     explicit HbSliderPopup(QGraphicsItem *parent = 0);
       
    30     virtual ~HbSliderPopup();
       
    31 
       
    32     int maximum() const;
       
    33     void setMaximum(int max);
       
    34 
       
    35     int minimum() const;
       
    36     void setMinimum(int min);
       
    37 
       
    38     void setRange(int min, int max);
       
    39 
       
    40     int singleStep() const;
       
    41     void setSingleStep(int step);
       
    42     int value() const;
       
    43 
       
    44 public slots:
       
    45     void setValue(int value);
       
    46 
       
    47 private: // Data added for the unit testing stub
       
    48     int mMinValue;
       
    49     int mMaxValue;
       
    50     int mValue;
       
    51     int mSingleStep;
       
    52 };
       
    53 
       
    54 #endif // HB_SLIDERPOPUP_H