Home · All Classes · Main Classes · Deprecated
Signals | Public Member Functions | Protected Member Functions | Properties

MSceneWindowView Class Reference

This is a default view class for MSceneWindow. More...

Inherits MWidgetView.

Inherited by MApplicationMenuView, MApplicationPageView, MBannerView, MCompleterView, MDialogView, MEscapeButtonPanelView, MHomeButtonPanelView, MInfoBannerEventView, MInfoBannerInformationView, MMenuObjectView, MModalSceneWindowView, MNavigationBarView, MObjectMenuBasicView, MObjectMenuView, MOverlayView, and MSheetView.

List of all members.

Signals

void geometryAttributesChanged ()

Public Member Functions

 MSceneWindowView (MSceneWindow *controller)
virtual ~MSceneWindowView ()
Qt::Alignment alignment () const
QPointF offset () const

Protected Member Functions

 MSceneWindowView (MSceneWindowViewPrivate &dd, MSceneWindow *controller)

Properties

Qt::Alignment alignment
QPointF offset

Detailed Description

This is a default view class for MSceneWindow.

The MSceneWindowView provides an interface to notify the scene manager about changes in scene window's geometry-related style attributes. It is the preferred base class for views of all types of scene windows. Once its style changes, it emits a geometryAttributesChanged() signal, which is propagated to the MSceneManager instance, causing the window geometry and position to be recalculated.


Constructor & Destructor Documentation

MSceneWindowView::MSceneWindowView ( MSceneWindow controller  ) 

Creates a new instance of the view for the given /a controller.

MSceneWindowView::~MSceneWindowView (  )  [virtual]

A destructor.

MSceneWindowView::MSceneWindowView ( MSceneWindowViewPrivate &  dd,
MSceneWindow controller 
) [protected]

Member Function Documentation

Qt::Alignment MSceneWindowView::alignment (  )  const

Returns the current alignment. Alignment defines how scene manager will position the window on the screen.

Returns:
The current alignment.
void MSceneWindowView::geometryAttributesChanged (  )  [signal]

Emitted every time when the style of the scene window changes.

QPointF MSceneWindowView::offset (  )  const

Returns the current offset.

Returns:
The current offset.

Property Documentation

Qt::Alignment MSceneWindowView::alignment [read]
QPointF MSceneWindowView::offset [read]

Copyright © 2010 Nokia Corporation
MeeGo Touch