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

#include <WindowManagerBase.h>

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

Public Member Functions

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

Protected Member Functions

void raiseChild (QGraphicsItem *child)
 

Protected Attributes

QRectF m_boundingRect
 

Constructor & Destructor Documentation

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

Member Function Documentation

void WindowManagerBase::addWindow ( Window win)
virtual
void WindowManagerBase::addWindowTimedOut ( Window win)
virtual

Reimplemented in CardWindowManager.

QRectF WindowManagerBase::boundingRect ( ) const
virtual
virtual bool WindowManagerBase::doReticle ( QPointF  pos)
inlinevirtual

Reimplemented in InputWindowManager.

void WindowManagerBase::focusWindow ( Window win)
virtual
bool WindowManagerBase::handleNavigationEvent ( QKeyEvent *  keyEvent,
bool &  propogate 
)
virtual
virtual bool WindowManagerBase::okToResize ( )
inlinevirtual
void WindowManagerBase::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
virtual
void WindowManagerBase::prepareAddWindow ( Window win)
virtual
void WindowManagerBase::raiseChild ( QGraphicsItem child)
protected
void WindowManagerBase::removeWindow ( Window win)
virtual
void WindowManagerBase::setScreenBounds ( int  x,
int  y,
int  w,
int  h 
)
void WindowManagerBase::unfocusWindow ( Window win)
virtual

Reimplemented in DashboardWindowManager.

Member Data Documentation

QRectF WindowManagerBase::m_boundingRect
protected

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