15 * of Drop down box for settings the trnasition effect and the transition delay. |
15 * of Drop down box for settings the trnasition effect and the transition delay. |
16 |
16 |
17 * |
17 * |
18 */ |
18 */ |
19 |
19 |
20 |
|
21 #ifndef GLXSLIDESHOWSETTINGSVIEW_H |
20 #ifndef GLXSLIDESHOWSETTINGSVIEW_H |
22 #define GLXSLIDESHOWSETTINGSVIEW_H |
21 #define GLXSLIDESHOWSETTINGSVIEW_H |
23 |
22 |
24 #include "glxview.h" |
23 #include "glxview.h" |
25 |
|
26 |
24 |
27 //Qt/Orbit forward declarations |
25 //Qt/Orbit forward declarations |
28 class HbLabel; |
26 class HbLabel; |
29 class HbView; |
27 class HbView; |
30 class HbMainWindow; |
28 class HbMainWindow; |
31 class HbComboBox; |
29 class HbComboBox; |
|
30 class HbPushButton; |
32 class QAbstractItemModel; |
31 class QAbstractItemModel; |
33 class GlxSettingInterface; |
32 class GlxSettingInterface; |
34 |
33 |
35 class GlxSlideShowSettingsView : public GlxView |
34 class GlxSlideShowSettingsView: public GlxView |
36 { |
35 { |
37 Q_OBJECT |
36 Q_OBJECT |
38 |
37 |
39 public : |
38 public: |
40 GlxSlideShowSettingsView(HbMainWindow *window); |
39 GlxSlideShowSettingsView( HbMainWindow *window ); |
41 ~GlxSlideShowSettingsView(); |
40 ~GlxSlideShowSettingsView(); |
42 void activate() ; |
41 void activate(); |
43 void deActivate(); |
42 void deActivate(); |
44 void setModel (QAbstractItemModel *model); |
43 void setModel( QAbstractItemModel *model ); |
45 |
44 |
46 private slots: |
45 private slots: |
47 void orientationChanged(Qt::Orientation); |
46 void orientationChanged( Qt::Orientation ); |
48 |
47 void playSlideShow( ); |
|
48 |
49 private: |
49 private: |
50 void setLayout(); |
50 void setLayout(); |
51 |
51 |
52 private: |
52 private: |
53 HbComboBox *mEffect; //Drop down box to display transition effect |
53 HbComboBox *mEffect; //Drop down box to display transition effect |
54 HbComboBox *mDelay; //Drop down box to display transition delay |
54 HbComboBox *mDelay; //Drop down box to display transition delay |
55 HbMainWindow *mWindow; //no ownership |
55 HbMainWindow *mWindow; //no ownership |
56 HbLabel *mContextlabel; //Display SlideShow label |
56 HbLabel *mContextlabel; //Display SlideShow label |
57 HbLabel *mEffectlabel; //Display "Transition Effect: " |
57 HbLabel *mEffectlabel; //Display "Transition Effect: " |
58 HbLabel *mDelaylabel; //Display "Transition delay: " |
58 HbLabel *mDelaylabel; //Display "Transition delay: " |
59 GlxSettingInterface *mSettings; //no ownership |
59 HbPushButton *mPlaySlideShow; //For playing slide show |
|
60 GlxSettingInterface *mSettings; //no ownership |
60 }; |
61 }; |
61 |
62 |
62 #endif /* GLXGRIDVIEW_H_ */ |
63 #endif /* GLXGRIDVIEW_H_ */ |