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

#include <DockModeWindowManager.h>

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

Signals

void signalDockModeStatusChanged (bool enabled)
 
void signalCloseDashboard (bool forceClose)
 
void signalDockModeAppChanged (DockModeLaunchPoint *lp)
 

Public Member Functions

 DockModeWindowManager (uint32_t maxWidth, uint32_t maxHeight)
 
virtual ~DockModeWindowManager ()
 
virtual void init ()
 
virtual void addWindow (Window *win)
 
virtual void prepareAddWindow (Window *win)
 
virtual void removeWindow (Window *win)
 
bool appLoadingTimedOut (DockModeLaunchPoint *dlp)
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
void setDockModeState (bool enabled)
 
void setInModeAnimation (bool animating)
 
void resize (int width, int height)
 
virtual void mousePressEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 
void setDashboardOpened (bool val, bool softDismissable)
 
bool isDashboardOpened ()
 
bool isDashboardSoftDismissable ()
 
void closeDashboard (bool force)
 
bool enableDockModeLaunchPoint (const LaunchPoint *lp)
 
bool disableDockModeLaunchPoint (const LaunchPoint *lp)
 
WindowgetActiveDockModeWindow () const
 
void switchApplication (DockModeLaunchPoint *)
 
void addPuckIdAndDefaultApp (const std::string &puckId, const std::string &appId)
 
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 okToResize ()
 
virtual bool doReticle (QPointF pos)
 
virtual QRectF boundingRect () const
 
virtual void addWindowTimedOut (Window *win)
 
virtual void focusWindow (Window *win)
 
virtual void unfocusWindow (Window *win)
 

Additional Inherited Members

- Protected Member Functions inherited from WindowManagerBase
void raiseChild (QGraphicsItem *child)
 
- Protected Attributes inherited from WindowManagerBase
QRectF m_boundingRect
 

Constructor & Destructor Documentation

DockModeWindowManager::DockModeWindowManager ( uint32_t  maxWidth,
uint32_t  maxHeight 
)
DockModeWindowManager::~DockModeWindowManager ( )
virtual

Member Function Documentation

void DockModeWindowManager::addPuckIdAndDefaultApp ( const std::string &  puckId,
const std::string &  appId 
)
void DockModeWindowManager::addWindow ( Window win)
virtual

Reimplemented from WindowManagerBase.

bool DockModeWindowManager::appLoadingTimedOut ( DockModeLaunchPoint dlp)
void DockModeWindowManager::closeDashboard ( bool  force)
bool DockModeWindowManager::disableDockModeLaunchPoint ( const LaunchPoint lp)
bool DockModeWindowManager::enableDockModeLaunchPoint ( const LaunchPoint lp)
Window* DockModeWindowManager::getActiveDockModeWindow ( ) const
inline
bool DockModeWindowManager::handleNavigationEvent ( QKeyEvent *  keyEvent,
bool &  propogate 
)
virtual

Reimplemented from WindowManagerBase.

void DockModeWindowManager::init ( )
virtual

Reimplemented from WindowManagerBase.

bool DockModeWindowManager::isDashboardOpened ( )
bool DockModeWindowManager::isDashboardSoftDismissable ( )
void DockModeWindowManager::mouseMoveEvent ( QGraphicsSceneMouseEvent *  event)
virtual
void DockModeWindowManager::mousePressEvent ( QGraphicsSceneMouseEvent *  event)
virtual
void DockModeWindowManager::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
virtual
void DockModeWindowManager::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
virtual

Reimplemented from WindowManagerBase.

void DockModeWindowManager::prepareAddWindow ( Window win)
virtual

Reimplemented from WindowManagerBase.

void DockModeWindowManager::removeWindow ( Window win)
virtual

Reimplemented from WindowManagerBase.

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

Reimplemented from WindowManagerBase.

void DockModeWindowManager::setDashboardOpened ( bool  val,
bool  softDismissable 
)
void DockModeWindowManager::setDockModeState ( bool  enabled)
void DockModeWindowManager::setInModeAnimation ( bool  animating)
void DockModeWindowManager::signalCloseDashboard ( bool  forceClose)
signal
void DockModeWindowManager::signalDockModeAppChanged ( DockModeLaunchPoint lp)
signal
void DockModeWindowManager::signalDockModeStatusChanged ( bool  enabled)
signal
void DockModeWindowManager::switchApplication ( DockModeLaunchPoint dlp)

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