| Home · All Classes · Main Classes · Deprecated |
This is a default view class for MSceneWindow. More...


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.
Definition at line 42 of file views/mscenewindowview.h.
| MSceneWindowView::MSceneWindowView | ( | MSceneWindow * | controller | ) |
Creates a new instance of the view for the given /a controller.
Definition at line 45 of file mscenewindowview.cpp.
:
MWidgetView(*new MSceneWindowViewPrivate, controller)
{
Q_D(MSceneWindowView);
d->controller = controller;
connect(this, SIGNAL(geometryAttributesChanged()), controller, SIGNAL(repositionNeeded()));
connect(controller, SIGNAL(appearing()), this, SLOT(_q_playSceneWindowAppearingFeedback()));
}

| MSceneWindowView::~MSceneWindowView | ( | ) | [virtual] |
| MSceneWindowView::MSceneWindowView | ( | MSceneWindowViewPrivate & | dd, | |
| MSceneWindow * | controller | |||
| ) | [protected] |
Definition at line 55 of file mscenewindowview.cpp.
:
MWidgetView(dd, controller)
{
Q_D(MSceneWindowView);
d->controller = controller;
connect(this, SIGNAL(geometryAttributesChanged()), controller, SIGNAL(repositionNeeded()));
connect(controller, SIGNAL(appearing()), this, SLOT(_q_playSceneWindowAppearingFeedback()));
}

| 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] |
Definition at line 46 of file views/mscenewindowview.h.
QPointF MSceneWindowView::offset [read] |
Definition at line 47 of file views/mscenewindowview.h.
| Copyright © 2010 Nokia Corporation | Generated on Thu Nov 4 2010 18:14:26 (PDT) Doxygen 1.7.1 |
MeeGo Touch |