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

#include <DockModeAppMenuContainer.h>

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

Signals

void signalDockModeAppSelected (DockModeLaunchPoint *dlp)
 
void signalContainerSizeChanged ()
 

Public Member Functions

 DockModeAppMenuContainer (DockModeMenuManager *parent, int width, int height)
 
 ~DockModeAppMenuContainer ()
 
QRectF boundingRect () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
void addMenuItem (DockModeLaunchPoint *dlp)
 
void removeMenuItem (DockModeLaunchPoint *dlp)
 
void resize (int screenWidth, int screenHeight)
 
virtual void mousePressEvent (QGraphicsSceneMouseEvent *mouseEvent)
 
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *mouseEvent)
 
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *mouseEvent)
 
const QFont font () const
 
Q_INVOKABLE const int getWidth () const
 
Q_INVOKABLE const int getHeight () const
 
Q_INVOKABLE int getMaximumHeightForMenu () const
 
Q_INVOKABLE void mouseWasGrabbedByParent ()
 
void appSelected (DockModeLaunchPoint *dlp)
 

Public Attributes

QPixmap m_menuItemBgSelected
 
QPixmap m_menuItemSeparator
 

Constructor & Destructor Documentation

DockModeAppMenuContainer::DockModeAppMenuContainer ( DockModeMenuManager parent,
int  width,
int  height 
)
DockModeAppMenuContainer::~DockModeAppMenuContainer ( )

Member Function Documentation

void DockModeAppMenuContainer::addMenuItem ( DockModeLaunchPoint dlp)
void DockModeAppMenuContainer::appSelected ( DockModeLaunchPoint dlp)
QRectF DockModeAppMenuContainer::boundingRect ( ) const
const QFont DockModeAppMenuContainer::font ( ) const
inline
Q_INVOKABLE const int DockModeAppMenuContainer::getHeight ( ) const
inline
Q_INVOKABLE int DockModeAppMenuContainer::getMaximumHeightForMenu ( ) const
inline
Q_INVOKABLE const int DockModeAppMenuContainer::getWidth ( ) const
inline
void DockModeAppMenuContainer::mouseMoveEvent ( QGraphicsSceneMouseEvent *  mouseEvent)
virtual
void DockModeAppMenuContainer::mousePressEvent ( QGraphicsSceneMouseEvent *  mouseEvent)
virtual
void DockModeAppMenuContainer::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  mouseEvent)
virtual
void DockModeAppMenuContainer::mouseWasGrabbedByParent ( )
void DockModeAppMenuContainer::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
inline
void DockModeAppMenuContainer::removeMenuItem ( DockModeLaunchPoint dlp)
void DockModeAppMenuContainer::resize ( int  screenWidth,
int  screenHeight 
)
void DockModeAppMenuContainer::signalContainerSizeChanged ( )
signal
void DockModeAppMenuContainer::signalDockModeAppSelected ( DockModeLaunchPoint dlp)
signal

Member Data Documentation

QPixmap DockModeAppMenuContainer::m_menuItemBgSelected
QPixmap DockModeAppMenuContainer::m_menuItemSeparator

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