equal
deleted
inserted
replaced
73 |
73 |
74 mBackGroundItem = new HbIconItem( this ); |
74 mBackGroundItem = new HbIconItem( this ); |
75 mBackGroundItem->setBrush( QBrush( Qt::black ) ); |
75 mBackGroundItem->setBrush( QBrush( Qt::black ) ); |
76 mAnimItem = new HbIconItem( this ); |
76 mAnimItem = new HbIconItem( this ); |
77 mAnimItem->setAlignment( Qt::AlignCenter ); |
77 mAnimItem->setAlignment( Qt::AlignCenter ); |
|
78 mAnimItem->setIconScaling( false ); |
78 |
79 |
79 // Now load the view and the contents. |
80 // Now load the view and the contents. |
80 // and then set the play icon to the button |
81 // and then set the play icon to the button |
81 mContinueButton = static_cast<HbPushButton*>( DocLoader->findWidget( GLXSLIDESHOW_PB ) ); |
82 mContinueButton = static_cast<HbPushButton*>( DocLoader->findWidget( GLXSLIDESHOW_PB ) ); |
82 mContinueButton->setIcon( HbIcon( GLXICON_PLAY ) ); |
83 mContinueButton->setIcon( HbIcon( GLXICON_PLAY ) ); |
85 |
86 |
86 for ( int i = 0; i < NBR_ITEM ; i++) { |
87 for ( int i = 0; i < NBR_ITEM ; i++) { |
87 mSelIndex[ i ] = -1; |
88 mSelIndex[ i ] = -1; |
88 mIconItems[ i ] = new HbIconItem( this ); |
89 mIconItems[ i ] = new HbIconItem( this ); |
89 mIconItems[ i ]->setAlignment( Qt::AlignCenter ); |
90 mIconItems[ i ]->setAlignment( Qt::AlignCenter ); |
|
91 mIconItems[ i ]->setIconScaling( false ); |
90 mIconItems[ i ]->setObjectName( QString( "SlideShowIcon%1" ).arg( i ) ); |
92 mIconItems[ i ]->setObjectName( QString( "SlideShowIcon%1" ).arg( i ) ); |
91 } |
93 } |
92 |
94 |
93 mSlideTimer = new QTimer(); |
95 mSlideTimer = new QTimer(); |
94 mItemList.clear(); |
96 mItemList.clear(); |