radioapp/radiowidgets/src/radiostripbase.cpp
changeset 54 a8ba0c289b44
parent 39 ac7857bd5fdb
child 57 21be958eb3ce
equal deleted inserted replaced
51:bbebb0235466 54:a8ba0c289b44
    43     setClampingStyle( HbScrollArea::NoClamping );
    43     setClampingStyle( HbScrollArea::NoClamping );
    44     setScrollDirections( Qt::Horizontal );
    44     setScrollDirections( Qt::Horizontal );
    45     setFlag( QGraphicsItem::ItemClipsChildrenToShape, true );
    45     setFlag( QGraphicsItem::ItemClipsChildrenToShape, true );
    46     setContentWidget( mStripContainer );
    46     setContentWidget( mStripContainer );
    47     setFrictionEnabled( true );
    47     setFrictionEnabled( true );
    48     setLongPressEnabled( false );
       
    49     setHorizontalScrollBarPolicy( HbScrollArea::ScrollBarAlwaysOff );
    48     setHorizontalScrollBarPolicy( HbScrollArea::ScrollBarAlwaysOff );
    50     setVerticalScrollBarPolicy( HbScrollArea::ScrollBarAlwaysOff );
    49     setVerticalScrollBarPolicy( HbScrollArea::ScrollBarAlwaysOff );
    51 
    50 
    52     // mItemParent is used to hold the unused QGraphicsItem's in the pool.  It's visibility is set to false
    51     // mItemParent is used to hold the unused QGraphicsItem's in the pool.  It's visibility is set to false
    53     // so the visibility of the items doesn't need to be modified.
    52     // so the visibility of the items doesn't need to be modified.