ui/views/slideshowsettingsview/inc/glxslideshowsettingsview.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 12:31:32 +0300
changeset 26 c499df2dbb33
child 29 2c833fc9e98f
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
* 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_ */