ui/views/slideshowsettingsview/inc/glxslideshowsettingsview.h
branchRCL_3
changeset 59 8e5f6eea9c9f
equal deleted inserted replaced
57:ea65f74e6de4 59:8e5f6eea9c9f
       
     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 class GlxSettingInterface;
       
    34 
       
    35 class GlxSlideShowSettingsView : public GlxView
       
    36 {
       
    37     Q_OBJECT
       
    38 
       
    39 public :
       
    40     GlxSlideShowSettingsView(HbMainWindow *window);
       
    41     ~GlxSlideShowSettingsView();
       
    42     void activate() ;		
       
    43     void deActivate();
       
    44     void setModel (QAbstractItemModel *model);
       
    45 
       
    46 private slots:
       
    47     void orientationChanged(Qt::Orientation); 
       
    48 	
       
    49 private:
       
    50     void setLayout();
       
    51   
       
    52 private:
       
    53 	HbComboBox          *mEffect;    //Drop down box to display transition effect
       
    54 	HbComboBox          *mDelay; 	 //Drop down box to display transition delay
       
    55 	HbMainWindow        *mWindow;    //no ownership
       
    56 	HbLabel *mContextlabel;				 //Display SlideShow label
       
    57 	HbLabel *mEffectlabel;				 //Display "Transition Effect: "
       
    58 	HbLabel *mDelaylabel;				 //Display "Transition delay: "
       
    59 	GlxSettingInterface *mSettings;      //no ownership
       
    60 };
       
    61 
       
    62 #endif /* GLXGRIDVIEW_H_ */