Home · All Classes · Main Classes · Deprecated
Properties

MDialogStyle Class Reference

Style class for standard m dialogs. More...

Inherits MSceneWindowStyle.

Inherited by MMessageBoxStyle, and MPopupListStyle.

List of all members.

Properties

qreal verticalSpacing
qreal titleBarHeight
qreal buttonSpacing
Qt::Alignment dialogVerticalAlignment
qreal dialogTopMargin
qreal dialogBottomMargin
qreal dialogLeftMargin
qreal dialogRightMargin
QSize dialogPreferredSize
QSize dialogMinimumSize
Qt::Orientation buttonBoxOrientation
bool buttonBoxCentered
qreal dialogButtonFixedWidth
int maximumHorizontalButtons
Qt::Alignment titleBarAlignment
bool titleCapitalization
bool hasTitleBar
bool hasCloseButton
QString contentsViewportStyleName
QString buttonBoxStyleName
QString titleBarStyleName
QString titleLabelStyleName

Detailed Description

Style class for standard m dialogs.

        MDialogStyle {
            vertical-spacing: 10;
            button-spacing: 10;

            title-bar-height: 5.2mm;

            dialog-vertical-alignment: bottom;

            dialog-top-margin: 5;
            dialog-bottom-margin: 0;
            dialog-left-margin: 10;
            dialog-right-margin: 10;

            dialog-minimum-size: 1mm 1mm;
            dialog-preferred-size: 100% -1;

            button-box-orientation: horizontal;
            button-box-centered: false;

            has-close-button: true;
            has-title-bar: true;

            contents-viewport-style-name: "MDialogContentsViewport";
            button-box-style-name: "MDialogButtonBox";
            title-bar-style-name: "MDialogTItleBar";
            title-label-style-name: "CommonDialogHeader";
        }
See also:
MWidgetStyle MDialog MDialogView

Property Documentation

MDialogStyle::buttonBoxCentered [read, write]

Centering buttons on dialog.

MDialogStyle::buttonBoxOrientation [read, write]

Orientation of dialog button box.

MDialogStyle::buttonBoxStyleName [read, write]

Style name of the button box.

MDialogStyle::buttonSpacing [read, write]

Space between buttons.

MDialogStyle::contentsViewportStyleName [read, write]

Style name of the pannable viewport.

Reimplemented in MPopupListStyle.

MDialogStyle::dialogBottomMargin [read, write]

Bottom margin of the dialog.

Empty space below dialog contents.

MDialogStyle::dialogButtonFixedWidth [read, write]

Fixed width of single dialog button. If set to -1 button will be sized automatically.

MDialogStyle::dialogLeftMargin [read, write]

Left margin of the dialog.

Empty space on the left of dialog contents.

MDialogStyle::dialogMinimumSize [read, write]

Dialog minimum size.

MDialogStyle::dialogPreferredSize [read, write]

Dialog preferred size.

MDialogStyle::dialogRightMargin [read, write]

Right margin of the dialog.

Empty space on the right of dialog contents.

MDialogStyle::dialogTopMargin [read, write]

Top margin of the dialog.

Empty space above dialog contents.

Qt::Alignment MDialogStyle::dialogVerticalAlignment [read, write]
MDialogStyle::hasCloseButton [read, write]

Whether the dialog should have a close button.

The dialog's optional close button is provided as a convenient way of rejecting the dialog and discarding all changes.

MDialogStyle::hasTitleBar [read, write]

Whether the dialog should have a title bar.

The title bar usually sits on top of the dialog and contains a title text, an optional close button and an optional progress indicator.

MDialogStyle::maximumHorizontalButtons [read, write]

Maximum number of buttons aligned horizontally.

MDialogStyle::titleBarAlignment [read, write]

Alignment of title bar text.

MDialogStyle::titleBarHeight [read, write]

Height of the titlebar.

MDialogStyle::titleBarStyleName [read, write]

Style name of the title bar.

MDialogStyle::titleCapitalization [read, write]

If true, title text will be all uppercase.

MDialogStyle::titleLabelStyleName [read, write]

Style name of the title bar label.

MDialogStyle::verticalSpacing [read, write]

Vertical spacing between dialog contents and button box.


Copyright © 2010 Nokia Corporation
MeeGo Touch