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

#include <DashboardWindowContainer.h>

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

Signals

void signalWindowAdded (DashboardWindow *w)
 
void signalWindowsRemoved (DashboardWindow *w)
 
void signalViewportHeightChanged ()
 
void signalEmpty ()
 
void signalContainerSizeChanged ()
 
void signalItemDragState (bool itemBeingDragged)
 

Public Member Functions

 DashboardWindowContainer (DashboardWindowManager *wm, int width, int height)
 
virtual ~DashboardWindowContainer ()
 
void layoutAllWindowsInMenu ()
 
void setScrollBottom (int newBottom)
 
void addWindow (DashboardWindow *win)
 
void removeWindow (DashboardWindow *win)
 
bool empty () const
 
int scrollBottom () const
 
int viewportHeight () const
 
int contentsHeight () const
 
void resizeWindowsEventSync (int w)
 
void focusAllWindows (bool focus)
 
void sendClickToDashboardWindow (int num, QPointF tap, bool whileLocked)
 
void resetLocalState (bool forceReset=false)
 
int getMaximumHeightForMenu () const
 
QRectF boundingRect () const
 
Q_INVOKABLE int getWidth ()
 
Q_INVOKABLE int getHeight ()
 
Q_INVOKABLE void mouseWasGrabbedByParent ()
 
QList< DashboardWindow * > windows () const
 
- Public Member Functions inherited from GraphicsItemContainer
 GraphicsItemContainer (int width, int height, t_backgroundType backgroundType=NoBackground)
 
 ~GraphicsItemContainer ()
 
void setBackgroundType (t_backgroundType backgroundType)
 
bool hasBackground () const
 
void setBlockGesturesAndMouse (bool block)
 
void setBrush (const QBrush &brush)
 
void raiseChild (QGraphicsItem *item)
 
void resize (int width, int height)
 
int width () const
 
int height () const
 
int getMarginOffset ()
 

Static Public Member Functions

static int getDashboardWindowHeight ()
 

Additional Inherited Members

- Public Types inherited from GraphicsItemContainer
enum  ContainerBackgroundType { NoBackground = 0, SolidRectBackground, PopupBackground, TransientAlertBackground }
 
typedef enum
GraphicsItemContainer::ContainerBackgroundType 
t_backgroundType
 
- Protected Member Functions inherited from GraphicsItemContainer
virtual void paintPopup (QPainter *painter)
 
- Protected Attributes inherited from GraphicsItemContainer
int m_contentWidth
 
int m_contentHeight
 
int m_bkgImgMarging
 
t_backgroundType m_bkgType
 
bool m_blockGesturesAndMouse
 
QBrush m_brush
 
Pixmap9TileObjectm_background9Tile
 

Constructor & Destructor Documentation

DashboardWindowContainer::DashboardWindowContainer ( DashboardWindowManager wm,
int  width,
int  height 
)
DashboardWindowContainer::~DashboardWindowContainer ( )
virtual

Member Function Documentation

void DashboardWindowContainer::addWindow ( DashboardWindow win)
QRectF DashboardWindowContainer::boundingRect ( ) const
virtual

Reimplemented from GraphicsItemContainer.

int DashboardWindowContainer::contentsHeight ( ) const
inline
bool DashboardWindowContainer::empty ( ) const
void DashboardWindowContainer::focusAllWindows ( bool  focus)
static int DashboardWindowContainer::getDashboardWindowHeight ( )
inlinestatic
Q_INVOKABLE int DashboardWindowContainer::getHeight ( )
inline
int DashboardWindowContainer::getMaximumHeightForMenu ( ) const
Q_INVOKABLE int DashboardWindowContainer::getWidth ( )
inline
void DashboardWindowContainer::layoutAllWindowsInMenu ( )
void DashboardWindowContainer::mouseWasGrabbedByParent ( )
void DashboardWindowContainer::removeWindow ( DashboardWindow win)
void DashboardWindowContainer::resetLocalState ( bool  forceReset = false)
void DashboardWindowContainer::resizeWindowsEventSync ( int  w)
int DashboardWindowContainer::scrollBottom ( ) const
inline
void DashboardWindowContainer::sendClickToDashboardWindow ( int  num,
QPointF  tap,
bool  whileLocked 
)
void DashboardWindowContainer::setScrollBottom ( int  newBottom)
void DashboardWindowContainer::signalContainerSizeChanged ( )
signal
void DashboardWindowContainer::signalEmpty ( )
signal
void DashboardWindowContainer::signalItemDragState ( bool  itemBeingDragged)
signal
void DashboardWindowContainer::signalViewportHeightChanged ( )
signal
void DashboardWindowContainer::signalWindowAdded ( DashboardWindow w)
signal
void DashboardWindowContainer::signalWindowsRemoved ( DashboardWindow w)
signal
int DashboardWindowContainer::viewportHeight ( ) const
inline
QList<DashboardWindow*> DashboardWindowContainer::windows ( ) const
inline

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