Home · All Namespaces · All Classes |
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 mhome. 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 00021 #ifndef SWITCHERBASESTYLE_H_ 00022 #define SWITCHERBASESTYLE_H_ 00023 00024 #include <MWidgetStyle> 00025 #include <QEasingCurve> 00026 00027 class SwitcherBaseStyle : public MWidgetStyle 00028 { 00029 Q_OBJECT 00030 M_STYLE(SwitcherBaseStyle) 00031 00032 00035 M_STYLE_ATTRIBUTE(qreal, pinchLength, PinchLength) 00036 00037 00040 M_STYLE_ATTRIBUTE(qreal, pinchCancelThreshold, PinchCancelThreshold) 00041 00042 00047 M_STYLE_ATTRIBUTE(qreal, bounceScale, BounceScale) 00048 00049 00052 M_STYLE_ATTRIBUTE(int, bounceDuration, BounceDuration) 00053 00054 00057 M_STYLE_ATTRIBUTE(QEasingCurve, bounceCurve, BounceCurve) 00058 }; 00059 00060 class SwitcherBaseStyleContainer : public MWidgetStyleContainer 00061 { 00062 M_STYLE_CONTAINER(SwitcherBaseStyle) 00063 }; 00064 00065 #endif
Copyright © 2011 Nokia Corporation | Generated on Thu Jul 7 2011 22:14:50 Doxygen 1.7.1 |
MeeGo Touch |