Home · All Classes · Main Classes · Deprecated

mpannablewidgetstyle.h

Go to the documentation of this file.
00001 /***************************************************************************
00002 **
00003 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
00004 ** All rights reserved.
00005 ** Contact: Nokia Corporation (directui@nokia.com)
00006 **
00007 ** This file is part of libmeegotouch.
00008 **
00009 ** If you have questions regarding the use of this file, please contact
00010 ** Nokia at directui@nokia.com.
00011 **
00012 ** This library is free software; you can redistribute it and/or
00013 ** modify it under the terms of the GNU Lesser General Public
00014 ** License version 2.1 as published by the Free Software Foundation
00015 ** and appearing in the file LICENSE.LGPL included in the packaging
00016 ** of this file.
00017 **
00018 ****************************************************************************/
00019 
00020 #ifndef MPANNABLEWIDGETSTYLE_H
00021 #define MPANNABLEWIDGETSTYLE_H
00022 
00023 #include <mwidgetstyle.h>
00024 
00050 class M_VIEWS_EXPORT MPannableWidgetStyle : public MWidgetStyle
00051 {
00052     Q_OBJECT
00053     M_STYLE(MPannableWidgetStyle)
00054 
00055     M_STYLE_ATTRIBUTE(qreal, panThreshold,     PanThreshold)
00056     M_STYLE_ATTRIBUTE(qreal, pointerSpringK,   PointerSpringK)
00057     M_STYLE_ATTRIBUTE(qreal, frictionC,        FrictionC)
00058     M_STYLE_ATTRIBUTE(qreal, slidingFrictionC, SlidingFrictionC)
00059     M_STYLE_ATTRIBUTE(qreal, borderSpringK,    BorderSpringK)
00060     M_STYLE_ATTRIBUTE(qreal, borderFrictionC,  BorderFrictionC)
00061     M_STYLE_ATTRIBUTE(qreal, panClickThreshold, PanClickThreshold)
00062 
00063     M_STYLE_ATTRIBUTE(qreal, maximumVelocity, MaximumVelocity)
00064 };
00065 
00066 class M_VIEWS_EXPORT MPannableWidgetStyleContainer : public MWidgetStyleContainer
00067 {
00068     M_STYLE_CONTAINER(MPannableWidgetStyle)
00069 };
00070 
00071 #endif

Copyright © 2010 Nokia Corporation Generated on Thu Nov 4 2010 18:14:21 (PDT)
Doxygen 1.7.1
MeeGo Touch