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

#include <CardWindowManager.h>

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

Signals

void signalFocusWindow (CardWindow *win)
 
void signalLoadingActiveWindow ()
 
void signalPreparingWindow (CardWindow *win)
 
void signalMaximizeActiveWindow ()
 
void signalMinimizeActiveWindow ()
 
void signalEnterReorder (QPoint pt, int slice)
 
void signalExitReorder (bool canceled=true)
 
void signalFirstCardRun ()
 

Public Member Functions

 CardWindowManager (int maxWidth, int maxHeight)
 
virtual ~CardWindowManager ()
 
virtual void init ()
 
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)
 
CardWindowactiveWindow () const
 
CardGroupactiveGroup () const
 
void setInModeAnimation (bool animating)
 
bool isLastWindowAddedModal () const
 
void resize (int width, int height)
 
bool isModalDismissed () const
 
void setModalDismissed (bool val)
 
virtual bool okToResize ()
 
CardWindowmodalParent () const
 
void firstCardAlert ()
 
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 unfocusWindow (Window *win)
 

Protected Member Functions

void tapGestureEvent (QTapGesture *event)
 
void tapAndHoldGestureEvent (QTapAndHoldGesture *event)
 
void flickGestureEvent (QGestureEvent *event)
 
virtual bool sceneEvent (QEvent *event)
 
- Protected Member Functions inherited from WindowManagerBase
void raiseChild (QGraphicsItem *child)
 

Friends

class CardWindowManagerState
 
class MinimizeState
 
class MaximizeState
 
class PreparingState
 
class LoadingState
 
class FocusState
 
class ReorderState
 

Additional Inherited Members

- Protected Attributes inherited from WindowManagerBase
QRectF m_boundingRect
 

Constructor & Destructor Documentation

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

Member Function Documentation

CardGroup * CardWindowManager::activeGroup ( ) const
CardWindow * CardWindowManager::activeWindow ( ) const
void CardWindowManager::addWindow ( Window win)
virtual

Reimplemented from WindowManagerBase.

void CardWindowManager::addWindowTimedOut ( Window win)
virtual

Reimplemented from WindowManagerBase.

void CardWindowManager::firstCardAlert ( )
void CardWindowManager::flickGestureEvent ( QGestureEvent *  event)
protected
void CardWindowManager::focusWindow ( Window win)
virtual

Reimplemented from WindowManagerBase.

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

Reimplemented from WindowManagerBase.

void CardWindowManager::init ( )
virtual

Reimplemented from WindowManagerBase.

bool CardWindowManager::isLastWindowAddedModal ( ) const
inline
bool CardWindowManager::isModalDismissed ( ) const
inline
CardWindow* CardWindowManager::modalParent ( ) const
inline
bool CardWindowManager::okToResize ( )
virtual

Reimplemented from WindowManagerBase.

void CardWindowManager::prepareAddWindow ( Window win)
virtual

Reimplemented from WindowManagerBase.

void CardWindowManager::removeWindow ( Window win)
virtual

Reimplemented from WindowManagerBase.

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

Reimplemented from WindowManagerBase.

bool CardWindowManager::sceneEvent ( QEvent event)
protectedvirtual
void CardWindowManager::setInModeAnimation ( bool  animating)
void CardWindowManager::setModalDismissed ( bool  val)
inline
void CardWindowManager::signalEnterReorder ( QPoint  pt,
int  slice 
)
signal
void CardWindowManager::signalExitReorder ( bool  canceled = true)
signal
void CardWindowManager::signalFirstCardRun ( )
signal
void CardWindowManager::signalFocusWindow ( CardWindow win)
signal
void CardWindowManager::signalLoadingActiveWindow ( )
signal
void CardWindowManager::signalMaximizeActiveWindow ( )
signal
void CardWindowManager::signalMinimizeActiveWindow ( )
signal
void CardWindowManager::signalPreparingWindow ( CardWindow win)
signal
void CardWindowManager::tapAndHoldGestureEvent ( QTapAndHoldGesture *  event)
protected
void CardWindowManager::tapGestureEvent ( QTapGesture *  event)
protected

Friends And Related Function Documentation

friend class CardWindowManagerState
friend
friend class FocusState
friend
friend class LoadingState
friend
friend class MaximizeState
friend
friend class MinimizeState
friend
friend class PreparingState
friend
friend class ReorderState
friend

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