diff -r 99ad1390cd33 -r c499df2dbb33 ui/views/slideshowsettingsview/inc/glxslideshowsettingsview.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/views/slideshowsettingsview/inc/glxslideshowsettingsview.h Mon May 03 12:31:32 2010 +0300 @@ -0,0 +1,62 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: View for Slide show Settings. Slide Show settings consists +* of Drop down box for settings the trnasition effect and the transition delay. + +* +*/ + + +#ifndef GLXSLIDESHOWSETTINGSVIEW_H +#define GLXSLIDESHOWSETTINGSVIEW_H + +#include "glxview.h" + + +//Qt/Orbit forward declarations +class HbLabel; +class HbView; +class HbMainWindow; +class HbComboBox; +class QAbstractItemModel; + +class GlxSlideShowSettingsView : public GlxView +{ + Q_OBJECT + +public : + GlxSlideShowSettingsView(HbMainWindow *window); + ~GlxSlideShowSettingsView(); + void activate() ; + void deActivate(); + void setModel (QAbstractItemModel *model); + +private slots: + void orientationChanged(Qt::Orientation); + +private: +void setLayout(); + +private: + HbComboBox *mEffect; //Drop down box to display transition effect + HbComboBox *mDelay; //Drop down box to display transition delay + HbMainWindow *mWindow; //no ownership + HbLabel *mContextlabel; //Display SlideShow label + HbLabel *mEffectlabel; //Display "Transition Effect: " + HbLabel *mDelaylabel; //Display "Transition delay: " + int mTempEffect; //To store the index of effect.Temporary usage, Will be removed. + int mTempDelay; //To store the index of effect.Temporary usage, Will be removed. +}; + +#endif /* GLXGRIDVIEW_H_ */