equal
deleted
inserted
replaced
243 } |
243 } |
244 option.state&= ~( QStyle::State_Sunken ); |
244 option.state&= ~( QStyle::State_Sunken ); |
245 } |
245 } |
246 option.sliderElementIcon = icons.value( HbSlider::IconElement ); |
246 option.sliderElementIcon = icons.value( HbSlider::IconElement ); |
247 q->style( )->updatePrimitive( elementItemMap[HbSlider::IconElement].item,HbStyle::P_SliderElement_icon,&option ); |
247 q->style( )->updatePrimitive( elementItemMap[HbSlider::IconElement].item,HbStyle::P_SliderElement_icon,&option ); |
|
248 q->setProperty("changeincrementState" ,false); |
|
249 q->setProperty("changedecrementState" ,false); |
|
250 q->setProperty("state", "normal"); |
248 |
251 |
249 } |
252 } |
250 |
253 |
251 |
254 |
252 /*! |
255 /*! |
400 void HbVolumeSlider::mouseReleaseEvent( QGraphicsSceneMouseEvent *event ) |
403 void HbVolumeSlider::mouseReleaseEvent( QGraphicsSceneMouseEvent *event ) |
401 { |
404 { |
402 Q_D( HbVolumeSlider ); |
405 Q_D( HbVolumeSlider ); |
403 HbSlider::mouseReleaseEvent( event ); |
406 HbSlider::mouseReleaseEvent( event ); |
404 d->stopRepeatAction( ); |
407 d->stopRepeatAction( ); |
|
408 setProperty("changeincrementState" ,false); |
|
409 setProperty("changedecrementState" ,false); |
405 setProperty("state", "normal"); |
410 setProperty("state", "normal"); |
406 } |
411 } |
407 |
412 |
408 /*! |
413 /*! |
409 \reimp |
414 \reimp |