Home · All Namespaces · All Classes
Signals | Public Member Functions

StatusIndicatorMenu Class Reference

#include <statusindicatormenu.h>

Inheritance diagram for StatusIndicatorMenu:
Inheritance graph
[legend]
Collaboration diagram for StatusIndicatorMenu:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

The StatusIndicatorMenu shows the status indicator menu extensions

Definition at line 31 of file statusindicatormenu.h.


Constructor & Destructor Documentation

StatusIndicatorMenu::StatusIndicatorMenu ( QGraphicsItem *  parent = NULL  ) 

Constructs a StatusIndicatorMenu widget.

Definition at line 29 of file statusindicatormenu.cpp.

                                                              :
    MSceneWindow(parent)
{
}

StatusIndicatorMenu::~StatusIndicatorMenu (  )  [virtual]

Destroys the StatusIndicatorMenu.

Definition at line 34 of file statusindicatormenu.cpp.

{
}


Member Function Documentation

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();
}

Here is the call graph for this function:

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();
}

Here is the call graph for this function:

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();
}

Here is the call graph for this function:


The documentation for this class was generated from the following files:

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