Home · All Classes · Main Classes · Deprecated
Properties

MDialogStyle Class Reference

Style class for standard m dialogs. More...

Inheritance diagram for MDialogStyle:
Inheritance graph
[legend]
Collaboration diagram for MDialogStyle:
Collaboration graph
[legend]

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

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;
        }
See also:
MWidgetStyle MDialog MDialogView

Definition at line 57 of file mdialogstyle.h.


Property Documentation

MDialogStyle::buttonBoxCentered [read, write]

Centering buttons on dialog.

Definition at line 142 of file mdialogstyle.h.

MDialogStyle::buttonBoxOrientation [read, write]

Orientation of dialog button box.

Definition at line 136 of file mdialogstyle.h.

MDialogStyle::buttonSpacing [read, write]

Space between buttons.

Definition at line 78 of file mdialogstyle.h.

MDialogStyle::dialogBottomMargin [read, write]

Bottom margin of the dialog.

Empty space below dialog contents.

Definition at line 102 of file mdialogstyle.h.

MDialogStyle::dialogButtonFixedWidth [read, write]

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

Definition at line 148 of file mdialogstyle.h.

MDialogStyle::dialogLeftMargin [read, write]

Left margin of the dialog.

Empty space on the left of dialog contents.

Definition at line 110 of file mdialogstyle.h.

MDialogStyle::dialogMinimumSize [read, write]

Dialog minimum size.

Definition at line 130 of file mdialogstyle.h.

MDialogStyle::dialogPreferredSize [read, write]

Dialog preffered size.

Definition at line 124 of file mdialogstyle.h.

MDialogStyle::dialogRightMargin [read, write]

Right margin of the dialog.

Empty space on the right of dialog contents.

Definition at line 118 of file mdialogstyle.h.

MDialogStyle::dialogTopMargin [read, write]

Top margin of the dialog.

Empty space above dialog contents.

Definition at line 94 of file mdialogstyle.h.

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

Definition at line 86 of file mdialogstyle.h.

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.

Definition at line 184 of file mdialogstyle.h.

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.

Definition at line 175 of file mdialogstyle.h.

MDialogStyle::maximumHorizontalButtons [read, write]

Maximum number of buttons aligned horizontally.

Definition at line 154 of file mdialogstyle.h.

MDialogStyle::titleBarAlignment [read, write]

Alignment of title bar text.

Definition at line 160 of file mdialogstyle.h.

MDialogStyle::titleBarHeight [read, write]

Height of the titlebar.

Definition at line 72 of file mdialogstyle.h.

MDialogStyle::titleCapitalization [read, write]

If true, title text will be all uppercase.

Definition at line 166 of file mdialogstyle.h.

MDialogStyle::verticalSpacing [read, write]

Vertical spacing between dialog contents and button box.

Definition at line 66 of file mdialogstyle.h.


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