| Home · All Classes · Main Classes · Deprecated |
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 MDIALOGSTYLE_H 00021 #define MDIALOGSTYLE_H 00022 00023 #include <mscenewindowstyle.h> 00024 00057 class M_VIEWS_EXPORT MDialogStyle : public MSceneWindowStyle 00058 { 00059 Q_OBJECT 00060 M_STYLE_INTERNAL(MDialogStyle) 00061 00062 00066 M_STYLE_ATTRIBUTE(qreal, verticalSpacing, VerticalSpacing) 00067 00072 M_STYLE_ATTRIBUTE(qreal, titleBarHeight, TitleBarHeight) 00073 00078 M_STYLE_ATTRIBUTE(qreal, buttonSpacing, ButtonSpacing) 00079 00086 M_STYLE_ATTRIBUTE(Qt::Alignment, dialogVerticalAlignment, DialogVerticalAlignment) 00087 00094 M_STYLE_ATTRIBUTE(qreal, dialogTopMargin, DialogTopMargin) 00095 00102 M_STYLE_ATTRIBUTE(qreal, dialogBottomMargin, DialogBottomMargin) 00103 00110 M_STYLE_ATTRIBUTE(qreal, dialogLeftMargin, DialogLeftMargin) 00111 00118 M_STYLE_ATTRIBUTE(qreal, dialogRightMargin, DialogRightMargin) 00119 00124 M_STYLE_ATTRIBUTE(QSize, dialogPreferredSize, DialogPreferredSize) 00125 00130 M_STYLE_ATTRIBUTE(QSize, dialogMinimumSize, DialogMinimumSize) 00131 00136 M_STYLE_ATTRIBUTE(Qt::Orientation, buttonBoxOrientation, ButtonBoxOrientation) 00137 00142 M_STYLE_ATTRIBUTE(bool, buttonBoxCentered, ButtonBoxCentered) 00143 00148 M_STYLE_ATTRIBUTE(qreal, dialogButtonFixedWidth, DialogButtonFixedWidth) 00149 00154 M_STYLE_ATTRIBUTE(int, maximumHorizontalButtons, MaximumHorizontalButtons) 00155 00160 M_STYLE_ATTRIBUTE(Qt::Alignment, titleBarAlignment, TitleBarAlignment) 00161 00166 M_STYLE_ATTRIBUTE(bool, titleCapitalization, titleCapitalization) 00167 00175 M_STYLE_ATTRIBUTE(bool, hasTitleBar, HasTitleBar) 00176 00184 M_STYLE_ATTRIBUTE(bool, hasCloseButton, HasCloseButton) 00185 }; 00186 00194 class M_VIEWS_EXPORT MDialogStyleContainer : public MSceneWindowStyleContainer 00195 { 00196 M_STYLE_CONTAINER_INTERNAL(MDialogStyle) 00197 }; 00198 00199 #endif 00200
| Copyright © 2010 Nokia Corporation | Generated on Thu Nov 4 2010 18:14:20 (PDT) Doxygen 1.7.1 |
MeeGo Touch |