Home · All Classes · Main Classes · Deprecated
Enumerations | Variables

M Namespace Reference

Enumerations

enum  AssemblyType { Library, Application, AssemblyNone }
enum  OrientationAngle { Angle0 = 0, Angle90 = 90, Angle180 = 180, Angle270 = 270 }
enum  Orientation { Portrait, Landscape }
enum  Position {
  DefaultPosition, TopLeftPosition, TopCenterPosition, TopRightPosition,
  CenterLeftPosition, CenterPosition, CenterRightPosition, BottomLeftPosition,
  BottomCenterPosition, BottomRightPosition, HorizontalLeftPosition, HorizontalCenterPosition,
  HorizontalRightPosition, VerticalTopPosition, VerticalCenterPosition, VerticalBottomPosition
}
enum  RecursionMode { Recursive, NonRecursive }
enum  InputMethodQueryExtensions {
  VisualizationPriorityQuery = 10001, PreeditRectangleQuery, ImCorrectionEnabledQuery, ImModeQuery,
  InputMethodToolbarIdQuery, InputMethodAttributeExtensionIdQuery = InputMethodToolbarIdQuery, InputMethodToolbarQuery, InputMethodAttributeExtensionQuery = InputMethodToolbarQuery
}
enum  PreeditFace { PreeditDefault, PreeditNoCandidates }
enum  TextContentType {
  FreeTextContentType, NumberContentType, PhoneNumberContentType, EmailContentType,
  UrlContentType, CustomContentType
}
enum  InputMethodMode { InputMethodModeNormal, InputMethodModeDirect, InputMethodModeProxy }
enum  PrestartMode {
  NoPrestart, LazyShutdown, TerminateOnClose, LazyShutdownMultiWindow,
  TerminateOnCloseMultiWindow
}
enum  ButtonRole {
  InvalidRole = QMessageBox::InvalidRole, AcceptRole = QMessageBox::AcceptRole, RejectRole = QMessageBox::RejectRole, DestructiveRole = QMessageBox::DestructiveRole,
  ActionRole = QMessageBox::ActionRole, HelpRole = QMessageBox::HelpRole, YesRole = QMessageBox::YesRole, NoRole = QMessageBox::NoRole,
  ResetRole = QMessageBox::ResetRole, ApplyRole = QMessageBox::ApplyRole, NRoles = QMessageBox::NRoles
}
enum  StandardButton {
  NoStandardButton = QMessageBox::NoButton, OkButton = QMessageBox::Ok, SaveButton = QMessageBox::Save, SaveAllButton = QMessageBox::SaveAll,
  OpenButton = QMessageBox::Open, YesButton = QMessageBox::Yes, YesToAllButton = QMessageBox::YesToAll, NoButton = QMessageBox::No,
  NoToAllButton = QMessageBox::NoToAll, AbortButton = QMessageBox::Abort, RetryButton = QMessageBox::Retry, IgnoreButton = QMessageBox::Ignore,
  CloseButton = QMessageBox::Close, CancelButton = QMessageBox::Cancel, DiscardButton = QMessageBox::Discard, HelpButton = QMessageBox::Help,
  ApplyButton = QMessageBox::Apply, ResetButton = QMessageBox::Reset, RestoreDefaultsButton = QMessageBox::RestoreDefaults, DoneButton = 0x10000000,
  FirstButton = OkButton, LastButton = DoneButton
}

Variables

M_CORE_EXPORT const char * NoMStyle = "NoMStyle"
M_CORE_EXPORT const char * NoMNavigationBar = "NoMNavigationBar"
M_CORE_EXPORT const char * NoMStatusBar = "NoMStatusBar"

Enumeration Type Documentation

Enumerator:
Library 
Application 
AssemblyNone 

This enum describes the roles that can be used to describe buttons in the button box. Currently they are used to determine primary order of buttons. Positive roles like AcceptRole, ActionRole, YesRole will be placed always before buttons with negative role: CancelRole, RejectRole.

Enumerator:
InvalidRole 

The button is invalid.

AcceptRole 

Clicking the button causes the dialog to be accepted (e.g. OK).

RejectRole 

Clicking the button causes the dialog to be rejected (e.g. Cancel).

DestructiveRole 

Clicking the button causes a destructive change (e.g. for Discarding Changes) and closes the dialog.

ActionRole 

Clicking the button causes changes to the elements within the dialog.

HelpRole 

The button can be clicked to request help.

YesRole 

The button is a "Yes"-like button.

NoRole 

The button is a "No"-like button.

ResetRole 

The button resets the dialog's fields to default values.

ApplyRole 

The button applies current changes.

NRoles 
Enumerator:
InputMethodModeNormal 

Normal mode allows to use preedit and error correction.

InputMethodModeDirect 

Virtual keyboard sends QKeyEvent for every key press or release.

InputMethodModeProxy 

Used with proxy widget.

extensions for Qt::inputMethodQuery

Enumerator:
VisualizationPriorityQuery 

Tells if input method widget wants to have high.

priority for visualization. Input method should honor this and stay out of widgets space.

PreeditRectangleQuery 

Retrieve bounding rectangle for current preedit text.

ImCorrectionEnabledQuery 

explicit correction enabling for text entries

ImModeQuery 

Retrieve mode: normal, direct or proxy.

InputMethodToolbarIdQuery 

custom toolbar identifier for text entry.

Deprecated:
use InputMethodAttributeExtensionIdQuery instead.
InputMethodAttributeExtensionIdQuery 

attribute extension identifier for text entry

InputMethodToolbarQuery 

custom toolbar file name for text entry.

Deprecated:
use InputMethodAttributeExtensionQuery instead.
InputMethodAttributeExtensionQuery 

attribute extension file name for text entry

This enum contains values that defines a basic relationship between the width and height of windows, displays, rectangles, etc.

See also:
OrientationAngle
Enumerator:
Portrait 

Window's or display's height is larger than its width.

Landscape 

Window's or display's width is larger than (or equal to) its height.

An enumeration of different rotation angles.

See also:
Orientation
Enumerator:
Angle0 

No rotation.

Angle90 

90 degrees of rotation, clockwise.

Angle180 

180 degrees of rotation, clockwise.

Angle270 

270 degrees of rotation, clockwise.

This enum contains all possible positions for a tile in a layout

           .---.          .-----------------------.
         /       \      /        |         |        \
        | Default |    |   H-L   x   H-C   x   H-R   |
         \       /      \        |         |        /
           '---'          '-----------------------'

           .---.          .-----------------------.
         /       \      /        |         |        \
        |   V-T   |    |   TL    x   TC    x    TR   |
        |         |    |         |         |         |
        |----x----|    |----x---------x---------x----|
        |         |    |         |         |         |
        |   V-C   |    |   CL    x  Center x    CR   |
        |         |    |         |         |         |
        |----x----|    |----x---------x---------x----|
        |         |    |         |         |         |
        |   V-B   |    |   BL    x   BC    x    BR   |
         \       /      \        |         |        /
           '---'          '-----------------------'
Enumerator:
DefaultPosition 
TopLeftPosition 
TopCenterPosition 
TopRightPosition 
CenterLeftPosition 
CenterPosition 
CenterRightPosition 
BottomLeftPosition 
BottomCenterPosition 
BottomRightPosition 
HorizontalLeftPosition 
HorizontalCenterPosition 
HorizontalRightPosition 
VerticalTopPosition 
VerticalCenterPosition 
VerticalBottomPosition 
Deprecated:
do not use
Enumerator:
PreeditDefault 
PreeditNoCandidates 
Enumerator:
NoPrestart 

Default mode: no prestarting.

LazyShutdown 

enable prestart mode and return back to the prestarted state after being launched and closed

TerminateOnClose 

enable prestart mode and restart automatically after being launched and closed

LazyShutdownMultiWindow 

enable multi-windowed prestart mode and return back to the prestarted state after being launched and closed

TerminateOnCloseMultiWindow 

enable multi-windowed prestart mode and restart automatically after being launched and closed

Defines whether directories should be traversed recursively.

Enumerator:
Recursive 
NonRecursive 

This enum describes flags for standard buttons. Each button has a defined caption.

Enumerator:
NoStandardButton 

An invalid button. NOTE: it's not the button witn "No" caption.

OkButton 

An "OK" button.

SaveButton 

A "Save" button.

SaveAllButton 

A "Save All" button.

OpenButton 

A "Open" button.

YesButton 

A "Yes" button.

YesToAllButton 

A "Yes to all" button.

NoButton 

A "No" button.

NoToAllButton 

A "No to all" button.

AbortButton 

An "Abort" button.

RetryButton 

A "Retry" button.

IgnoreButton 

An "Ignore" button.

CloseButton 

A "Close" button.

CancelButton 

A "Cancel" button.

DiscardButton 

A "Discard" button.

HelpButton 

A "Help" button.

ApplyButton 

An "Apply" button.

ResetButton 

A "Reset" button.

RestoreDefaultsButton 

A "Restore defaults" button.

DoneButton 

A "Done" button.

FirstButton 
LastButton 

Content type for text entries. Used at least with MTextEdit.

Enumerator:
FreeTextContentType 

all characters allowed

NumberContentType 

only integer numbers allowed

PhoneNumberContentType 

allows numbers and certain other characters used in phone numbers

EmailContentType 

allows only characters permitted in email address

UrlContentType 

allows only character permitted in URL address

CustomContentType 

allows content with user defined format


Variable Documentation

M_CORE_EXPORT const char * M::NoMNavigationBar = "NoMNavigationBar"

setting a dynamic property to QApplication named NoMNavigationBar will hide the navigationbar from qt maemo 6 style

M_CORE_EXPORT const char * M::NoMStatusBar = "NoMStatusBar"

setting a dynamic property to QApplication named NoMStatusBar will hide the statusbar from qt maemo 6 style

M_CORE_EXPORT const char * M::NoMStyle = "NoMStyle"

setting a dynamic porperty to any QWidget or QApplication will cause the object not to be styled like M does.


Copyright © 2010 Nokia Corporation
MeeGo Touch