ui/views/slideshowsettingsview/inc/glxslideshowsettingsview.h
changeset 26 c499df2dbb33
child 29 2c833fc9e98f
equal deleted inserted replaced
24:99ad1390cd33 26:c499df2dbb33
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   View for Slide show Settings. Slide Show settings consists
       
    15 * of Drop down box for settings the trnasition effect and the transition delay.
       
    16 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef GLXSLIDESHOWSETTINGSVIEW_H
       
    22 #define GLXSLIDESHOWSETTINGSVIEW_H
       
    23 
       
    24 #include "glxview.h"
       
    25 
       
    26 
       
    27 //Qt/Orbit forward declarations
       
    28 class HbLabel;
       
    29 class HbView;
       
    30 class HbMainWindow;
       
    31 class HbComboBox;
       
    32 class QAbstractItemModel;
       
    33 
       
    34 class GlxSlideShowSettingsView : public GlxView
       
    35 {
       
    36     Q_OBJECT
       
    37 
       
    38 public :
       
    39     GlxSlideShowSettingsView(HbMainWindow *window);
       
    40     ~GlxSlideShowSettingsView();
       
    41     void activate() ;		
       
    42     void deActivate();
       
    43     void setModel (QAbstractItemModel *model);
       
    44 
       
    45 private slots:
       
    46     void orientationChanged(Qt::Orientation); 
       
    47 	
       
    48 private:
       
    49 void setLayout();
       
    50   
       
    51 private:
       
    52 	HbComboBox          *mEffect;  //Drop down box to display transition effect
       
    53 	HbComboBox          *mDelay; 	 //Drop down box to display transition delay
       
    54 	HbMainWindow        *mWindow;  //no ownership
       
    55 	HbLabel *mContextlabel;				 //Display SlideShow label
       
    56 	HbLabel *mEffectlabel;				 //Display "Transition Effect: "
       
    57 	HbLabel *mDelaylabel;					 //Display "Transition delay: "
       
    58 	int     mTempEffect;					 //To store the index of effect.Temporary usage, Will be removed.
       
    59 	int     mTempDelay;						 //To store the index of effect.Temporary usage, Will be removed.
       
    60 };
       
    61 
       
    62 #endif /* GLXGRIDVIEW_H_ */