LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EmergencyWindowManager Class Reference

#include <EmergencyWindowManager.h>

Inheritance diagram for EmergencyWindowManager:
[legend]
Collaboration diagram for EmergencyWindowManager:
[legend]

Public Member Functions

 EmergencyWindowManager (int maxWidth, int maxHeight)
 
virtual ~EmergencyWindowManager ()
 
virtual void addWindow (Window *win)
 
virtual void removeWindow (Window *win)
 
virtual void focusWindow (Window *win)
 
bool okToResize ()
 
void resize (int width, int height)
 
virtual bool handleNavigationEvent (QKeyEvent *keyEvent, bool &propogate)
 
- Public Member Functions inherited from WindowManagerBase
 WindowManagerBase (int maxWidth, int maxHeight)
 
virtual ~WindowManagerBase ()
 
void setScreenBounds (int x, int y, int w, int h)
 
virtual bool doReticle (QPointF pos)
 
virtual QRectF boundingRect () const
 
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
virtual void prepareAddWindow (Window *win)
 
virtual void addWindowTimedOut (Window *win)
 
virtual void unfocusWindow (Window *win)
 

Protected Member Functions

virtual void mousePressEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event)
 
virtual bool sceneEvent (QEvent *event)
 
- Protected Member Functions inherited from WindowManagerBase
void raiseChild (QGraphicsItem *child)
 

Additional Inherited Members

- Protected Attributes inherited from WindowManagerBase
QRectF m_boundingRect
 

Constructor & Destructor Documentation

EmergencyWindowManager::EmergencyWindowManager ( int  maxWidth,
int  maxHeight 
)
EmergencyWindowManager::~EmergencyWindowManager ( )
virtual

Member Function Documentation

void EmergencyWindowManager::addWindow ( Window win)
virtual

Reimplemented from WindowManagerBase.

void EmergencyWindowManager::focusWindow ( Window win)
virtual

Reimplemented from WindowManagerBase.

bool EmergencyWindowManager::handleNavigationEvent ( QKeyEvent *  keyEvent,
bool &  propogate 
)
virtual

Reimplemented from WindowManagerBase.

void EmergencyWindowManager::mouseDoubleClickEvent ( QGraphicsSceneMouseEvent *  event)
protectedvirtual
void EmergencyWindowManager::mousePressEvent ( QGraphicsSceneMouseEvent *  event)
protectedvirtual
bool EmergencyWindowManager::okToResize ( )
virtual

Reimplemented from WindowManagerBase.

void EmergencyWindowManager::removeWindow ( Window win)
virtual

Reimplemented from WindowManagerBase.

void EmergencyWindowManager::resize ( int  width,
int  height 
)
virtual

Reimplemented from WindowManagerBase.

bool EmergencyWindowManager::sceneEvent ( QEvent event)
protectedvirtual

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