![]() |
Home · All Namespaces · All Classes |
#include <statusindicatormenu.h>


Signals | |
| void | showRequested () |
| | |
| void | hideRequested () |
Public Member Functions | |
| StatusIndicatorMenu (QGraphicsItem *parent=NULL) | |
| virtual | ~StatusIndicatorMenu () |
| virtual void | showStatusIndicatorMenu () |
| REIMPLEMENTATION | |
| virtual void | hideStatusIndicatorMenu () |
| void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
| void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) |
The StatusIndicatorMenu shows the status indicator menu extensions
Definition at line 31 of file statusindicatormenu.h.
| StatusIndicatorMenu::StatusIndicatorMenu | ( | QGraphicsItem * | parent = NULL |
) |
Constructs a StatusIndicatorMenu widget.
Definition at line 29 of file statusindicatormenu.cpp.
:
MSceneWindow(parent)
{
}
| StatusIndicatorMenu::~StatusIndicatorMenu | ( | ) | [virtual] |
| void StatusIndicatorMenu::hideRequested | ( | ) | [signal] |
Emitted when the status indicator menu should be hidden
| void StatusIndicatorMenu::hideStatusIndicatorMenu | ( | ) | [virtual] |
Hides the status indicator menu window.
Implements MStatusIndicatorMenuInterface.
Definition at line 62 of file statusindicatormenu.cpp.
{
emit hideRequested();
}

| void StatusIndicatorMenu::mousePressEvent | ( | QGraphicsSceneMouseEvent * | event | ) |
Definition at line 67 of file statusindicatormenu.cpp.
{
/* Ignore the event if this isn't the topmost item,
otherwise the subsequent mouse events are passed to this item */
if (sceneManager()->scene()->itemAt(event->scenePos()) != this) {
event->ignore();
}
}
| void StatusIndicatorMenu::mouseReleaseEvent | ( | QGraphicsSceneMouseEvent * | event | ) |
Definition at line 76 of file statusindicatormenu.cpp.
{
Q_UNUSED(event);
/* Close the menu as the user pressed outside the content */
emit hideRequested();
}

| void StatusIndicatorMenu::showRequested | ( | ) | [signal] |
Emitted when the status indicator menu should be shown
| void StatusIndicatorMenu::showStatusIndicatorMenu | ( | ) | [virtual] |
REIMPLEMENTATION
Implements MStatusIndicatorMenuInterface.
Definition at line 57 of file statusindicatormenu.cpp.
{
emit showRequested();
}

| Copyright © 2010 Nokia Corporation | Generated on Thu Nov 4 2010 18:19:35 Doxygen 1.7.1 |
MeeGo Touch |