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

#include <DashboardWindowManager.h>

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

Public Types

enum  AlertWindowFadeOption { Invalid = 0, FadeInOnly, FadeInAndOut, FadeOutOnly }
 

Signals

void signalActiveAlertWindowChanged ()
 
void signalOpen ()
 
void signalClose (bool forceClose)
 
void signalAlertWindowActivated (AlertWindow *)
 
void signalAlertWindowDeactivated ()
 

Public Member Functions

 DashboardWindowManager (int maxWidth, int maxHeight)
 
 ~DashboardWindowManager ()
 
void init ()
 
void hideOrCloseAlertWindow (AlertWindow *win)
 
void notifyActiveAlertWindowActivated (AlertWindow *win)
 
void notifyActiveAlertWindowDeactivated (AlertWindow *win)
 
void notifyTransientAlertWindowActivated (AlertWindow *win)
 
void notifyTransientAlertWindowDeactivated (AlertWindow *win)
 
void setBannerHasContent (bool val)
 
void raiseAlertWindow (AlertWindow *window)
 
void raiseDashboardWindowContainer ()
 
void raiseBackgroundWindow ()
 
void openDashboard ()
 
void sendClicktoDashboardWindow (int num, int x, int y, bool whileLocked)
 
void focusWindow (Window *win)
 
void unfocusWindow (Window *win)
 
void hideDashboardWindow ()
 
void animateAlertWindow ()
 
void animateTransientAlertWindow (bool in)
 
int bannerWindowHeight ()
 
void resizeAlertWindowContainer (AlertWindow *, bool)
 
void setInDockMode (bool dockMode)
 
bool alertOpen () const
 
bool alertVisible () const
 
const WindowgetActiveAlertWin () const
 
const WindowgetActiveTransientAlertWin () const
 
NotificationPolicynotificationPolicy () const
 
AlertWindowtopAlertWindow () const
 
DashboardWindowContainerdashboardWindowContainer () const
 
QGraphicsObjectdashboardMenu () const
 
void currentStateChanged (DWMStateBase *state)
 
bool isInDockModeAnimation () const
 
bool hasDashboardContent () const
 
bool canCloseDashboard () const
 
bool dashboardOpen () const
 
bool isOverlay () const
 
AlertWindowFadeOption getWindowFadeOption () const
 
- 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 paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
virtual void prepareAddWindow (Window *win)
 
virtual void addWindowTimedOut (Window *win)
 
virtual bool handleNavigationEvent (QKeyEvent *keyEvent, bool &propogate)
 

Static Public Member Functions

static int sTabletUiWidth ()
 

Friends

class BannerWindow
 

Additional Inherited Members

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

Member Enumeration Documentation

Enumerator
Invalid 
FadeInOnly 
FadeInAndOut 
FadeOutOnly 

Constructor & Destructor Documentation

DashboardWindowManager::DashboardWindowManager ( int  maxWidth,
int  maxHeight 
)
DashboardWindowManager::~DashboardWindowManager ( )

Member Function Documentation

bool DashboardWindowManager::alertOpen ( ) const
inline
bool DashboardWindowManager::alertVisible ( ) const
inline
void DashboardWindowManager::animateAlertWindow ( )
void DashboardWindowManager::animateTransientAlertWindow ( bool  in)
int DashboardWindowManager::bannerWindowHeight ( )
bool DashboardWindowManager::canCloseDashboard ( ) const
void DashboardWindowManager::currentStateChanged ( DWMStateBase state)
inline
QGraphicsObject* DashboardWindowManager::dashboardMenu ( ) const
inline
bool DashboardWindowManager::dashboardOpen ( ) const
DashboardWindowContainer* DashboardWindowManager::dashboardWindowContainer ( ) const
inline
void DashboardWindowManager::focusWindow ( Window win)
virtual

Reimplemented from WindowManagerBase.

const Window* DashboardWindowManager::getActiveAlertWin ( ) const
inline
const Window* DashboardWindowManager::getActiveTransientAlertWin ( ) const
inline
AlertWindowFadeOption DashboardWindowManager::getWindowFadeOption ( ) const
inline
bool DashboardWindowManager::hasDashboardContent ( ) const
void DashboardWindowManager::hideDashboardWindow ( )
void DashboardWindowManager::hideOrCloseAlertWindow ( AlertWindow win)
void DashboardWindowManager::init ( )
virtual

Reimplemented from WindowManagerBase.

bool DashboardWindowManager::isInDockModeAnimation ( ) const
inline
bool DashboardWindowManager::isOverlay ( ) const
inline
NotificationPolicy* DashboardWindowManager::notificationPolicy ( ) const
inline
void DashboardWindowManager::notifyActiveAlertWindowActivated ( AlertWindow win)
void DashboardWindowManager::notifyActiveAlertWindowDeactivated ( AlertWindow win)
void DashboardWindowManager::notifyTransientAlertWindowActivated ( AlertWindow win)
void DashboardWindowManager::notifyTransientAlertWindowDeactivated ( AlertWindow win)
void DashboardWindowManager::openDashboard ( )
void DashboardWindowManager::raiseAlertWindow ( AlertWindow window)
void DashboardWindowManager::raiseBackgroundWindow ( )
void DashboardWindowManager::raiseDashboardWindowContainer ( )
void DashboardWindowManager::resizeAlertWindowContainer ( AlertWindow w,
bool  repositionWindow 
)
void DashboardWindowManager::sendClicktoDashboardWindow ( int  num,
int  x,
int  y,
bool  whileLocked 
)
void DashboardWindowManager::setBannerHasContent ( bool  val)
void DashboardWindowManager::setInDockMode ( bool  dockMode)
void DashboardWindowManager::signalActiveAlertWindowChanged ( )
signal
void DashboardWindowManager::signalAlertWindowActivated ( AlertWindow )
signal
void DashboardWindowManager::signalAlertWindowDeactivated ( )
signal
void DashboardWindowManager::signalClose ( bool  forceClose)
signal
void DashboardWindowManager::signalOpen ( )
signal
int DashboardWindowManager::sTabletUiWidth ( )
static
AlertWindow* DashboardWindowManager::topAlertWindow ( ) const
inline
void DashboardWindowManager::unfocusWindow ( Window win)
virtual

Reimplemented from WindowManagerBase.

Friends And Related Function Documentation

friend class BannerWindow
friend

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