Home · All Classes · Main Classes · Deprecated |
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.
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 |
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.
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] |
Qt::Alignment MSceneWindowView::alignment | ( | ) | const |
Returns the current alignment. Alignment defines how scene manager will position the window on the screen.
void MSceneWindowView::geometryAttributesChanged | ( | ) | [signal] |
Emitted every time when the style of the scene window changes.
QPointF MSceneWindowView::offset | ( | ) | const |
Returns the current offset.
Qt::Alignment MSceneWindowView::alignment [read] |
QPointF MSceneWindowView::offset [read] |
Copyright © 2010 Nokia Corporation | MeeGo Touch |