| Home · All Classes · Main Classes · Deprecated |
MScene is the scene graph of MeeGo Touch UI applications. More...


Public Member Functions | |
| MScene (QObject *parent=0) | |
| virtual | ~MScene () |
| MSceneManager * | sceneManager () |
MScene is the scene graph of MeeGo Touch UI applications.
The scene of an application is a virtual infinite surface on which primitive items or full featured widgets can be placed. For general information of how the scene functions, please refer to the QGraphicsScene documentation.
MScene inherits from and extends QGraphicsScene with the following features:
Definition at line 58 of file corelib/scene/mscene.h.
| MScene::MScene | ( | QObject * | parent = 0 |
) | [explicit] |
Constructs a MScene.
Definition at line 429 of file mscene.cpp.
: QGraphicsScene(parent), d_ptr(new MScenePrivate) { Q_D(MScene); d->q_ptr = this; d->manager = 0; QColor fpsBackgroundColor(FpsBackgroundColor); fpsBackgroundColor.setAlphaF(FpsBackgroundOpacity); d->fpsBackgroundBrush = QBrush(fpsBackgroundColor); QColor boundingRectLineColor(BoundingRectLineColor); d->boundingRectLinePen = QPen(boundingRectLineColor); QColor boundingRectFillColor(BoundingRectFillColor); d->boundingRectFillBrush = QBrush(boundingRectFillColor); setItemIndexMethod(QGraphicsScene::NoIndex); }

| MScene::~MScene | ( | ) | [virtual] |
| MSceneManager * MScene::sceneManager | ( | ) |
Returns the scene manager of the scene.
Note that the scene manager is not owned by the scene, instead it's the scene that is owned by the scene manager.
If no manager has been assigned, 0 is returned.
Definition at line 455 of file mscene.cpp.
{
Q_D(MScene);
return d->manager;
}
| Copyright © 2010 Nokia Corporation | Generated on Thu Nov 4 2010 18:14:26 (PDT) Doxygen 1.7.1 |
MeeGo Touch |