69 { |
69 { |
70 connect(mWindow, SIGNAL(orientationChanged(Qt::Orientation)), this, SLOT(orientationChanged(Qt::Orientation))); |
70 connect(mWindow, SIGNAL(orientationChanged(Qt::Orientation)), this, SLOT(orientationChanged(Qt::Orientation))); |
71 |
71 |
72 if ( mContextlabel == NULL ) { |
72 if ( mContextlabel == NULL ) { |
73 mContextlabel = new HbLabel( GLX_MENU_SLIDESHOW, this ); |
73 mContextlabel = new HbLabel( GLX_MENU_SLIDESHOW, this ); |
|
74 mContextlabel->setObjectName( "SlideShow" ); |
74 } |
75 } |
75 |
76 |
76 if ( mEffectlabel == NULL ) { |
77 if ( mEffectlabel == NULL ) { |
77 mEffectlabel = new HbLabel( GLX_LABEL_TRANSITION_EFFECT, this ); |
78 mEffectlabel = new HbLabel( GLX_LABEL_TRANSITION_EFFECT, this ); |
|
79 mEffectlabel->setObjectName( "Effect" ); |
78 } |
80 } |
79 |
81 |
80 if ( mEffect == NULL ) { |
82 if ( mEffect == NULL ) { |
81 mEffect = new HbComboBox(this); |
83 mEffect = new HbComboBox(this); |
82 QStringList effectList = mSettings->slideShowEffectList(); |
84 QStringList effectList = mSettings->slideShowEffectList(); |
83 mEffect->addItems( effectList ); |
85 mEffect->addItems( effectList ); |
|
86 mEffect->setObjectName( "Effect List" ); |
84 } |
87 } |
85 |
88 |
86 if ( mDelaylabel == NULL ) { |
89 if ( mDelaylabel == NULL ) { |
87 mDelaylabel = new HbLabel( GLX_LABEL_TRANSITION_DELAY, this ); |
90 mDelaylabel = new HbLabel( GLX_LABEL_TRANSITION_DELAY, this ); |
|
91 mDelaylabel->setObjectName( "Delay" ); |
88 } |
92 } |
89 |
93 |
90 if ( mDelay == NULL ) { |
94 if ( mDelay == NULL ) { |
91 mDelay = new HbComboBox(this); |
95 mDelay = new HbComboBox(this); |
|
96 mDelay->setObjectName( "Delay List" ); |
92 QStringList delayList; |
97 QStringList delayList; |
93 delayList << GLX_VAL_SLOW << GLX_VAL_MEDIUM << GLX_VAL_FAST ; |
98 delayList << GLX_VAL_SLOW << GLX_VAL_MEDIUM << GLX_VAL_FAST ; |
94 mDelay->addItems( delayList ); |
99 mDelay->addItems( delayList ); |
95 } |
100 } |
96 |
101 |