| Home · All Namespaces · All Classes |
#include <home.h>


Public Member Functions | |
| Home (QGraphicsItem *parent=NULL) | |
| virtual | ~Home () |
| virtual QRectF | boundingRect () const |
| REIMPLEMENTATION | |
The main widget of the Home application. Acts as container for the desktop and the notification area.
Definition at line 32 of file home.h.
| Home::Home | ( | QGraphicsItem * | parent = NULL |
) |
Constructs a Home widget.
| parent | the parent widget of the Home, defaults to NULL |
Definition at line 29 of file home.cpp.
:
MSceneWindow(parent),
statusBar(new MStatusBar),
desktop(new Desktop)
{
setObjectName("Home");
// Show the status bar
statusBar->appear();
// Use the desktop as the central widget
QGraphicsLinearLayout *layout = new QGraphicsLinearLayout(Qt::Vertical);
layout->setContentsMargins(0, 0, 0, 0);
layout->addItem(desktop);
setLayout(layout);
}
| QRectF Home::boundingRect | ( | ) | const [virtual] |
| Copyright © 2010 Nokia Corporation | Generated on Thu Nov 4 2010 18:20:42 Doxygen 1.7.1 |
MeeGo Touch |