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

#include <AlertWindow.h>

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

Public Member Functions

 AlertWindow (WindowType::Type type, int width, int height, bool hasAlpha)
 
 AlertWindow (WindowType::Type type, HostWindowData *window, IpcClientHost *clientHost=0)
 
virtual ~AlertWindow ()
 
virtual void onMessageReceived (const PIpcMessage &msg)
 
void onSetContentRect (int left, int right, int top, int bottom)
 
void setSoundParams (const std::string &fileName, const std::string &soundClass)
 
void setContentRect (const QRect &r)
 
QRect contentRect () const
 
void activate ()
 
void deactivate ()
 
bool isIncomingCallAlert () const
 
void setTransient (bool transient)
 
bool isTransientAlert ()
 
- Public Member Functions inherited from HostWindow
 HostWindow (WindowType::Type type, int width, int height, bool hasAlpha)
 
 HostWindow (WindowType::Type type, HostWindowData *data, IpcClientHost *clientHost=0)
 
virtual ~HostWindow ()
 
int routingId () const
 
bool isIpcWindow () const
 
void channelRemoved ()
 
void setClientHost (IpcClientHost *clientHost)
 
virtual void close ()
 
virtual void setVisibleDimensions (int width, int height)
 
virtual void resizeEventSync (int w, int h, bool forceSync=false)
 
virtual void flipEventSync (bool fromQueue=false)
 
virtual void flipEventAsync (QRect windowScreenBounds, bool fromQueue=false)
 
virtual void asynchFlipCompleted (int newWidth, int newHeight, int newScreenWidth, int newScreenHeight)
 
virtual void queuedFlipCanceled (QRect windowScreenBounds)
 
virtual void onDisconnected ()
 
virtual void onUpdateWindowRequest ()
 
void onAsynchFlipCompleted (int newWidth, int newHeight, int newScreenWidth, int newScreenHeight)
 
virtual const QPixmap * acquireScreenPixmap ()
 
virtual void setComposingText (const std::string &text)
 
virtual void commitComposingText ()
 
virtual void commitText (const std::string &text)
 
virtual void performEditorAction (PalmIME::FieldAction action)
 
virtual void removeInputFocus ()
 
virtual const HostWindowDatahostWindowData () const
 
- Public Member Functions inherited from Window
 Window (WindowType::Type type, const uint32_t bufWidth, const uint32_t bufHeight, bool hasAlpha=false)
 
 Window (WindowType::Type type, const QPixmap &pix)
 
virtual ~Window ()
 
virtual int type () const
 
virtual QRectF boundingRect () const
 
virtual bool mouseGrabbed () const
 
virtual void setMouseGrabbed (bool grabbed)
 
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
void setName (const std::string &name)
 
std::string name () const
 
virtual void setAppId (const std::string &id)
 
std::string appId () const
 
void setProcessId (const std::string &id)
 
std::string processId () const
 
void setLaunchingAppId (const std::string &id)
 
std::string launchingAppId () const
 
void setLaunchingProcessId (const std::string &id)
 
std::string launchingProcessId () const
 
ApplicationDescriptionappDescription () const
 
void setRemoved ()
 
bool removed () const
 
void setDisableKeepAlive ()
 
bool disableKeepAlive () const
 
virtual void setWindowProperties (const WindowProperties &attr)
 
virtual void setVisibleDimensions (uint32_t width, uint32_t height)
 
virtual QSize getVisibleDimensions () const
 
virtual void resize (int w, int h)
 
int initialWidth () const
 
int initialHeight () const
 
- Public Member Functions inherited from InputClient
 InputClient ()
 
virtual bool inputFocus () const
 
virtual const
PalmIME::EditorState & 
inputState () const
 
void setInputFocus (bool focus)
 

Protected Member Functions

virtual void onUpdateWindowRegion (int x, int y, int w, int h)
 
virtual void onUpdateFullWindow ()
 
virtual void mousePressEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
 
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 
- Protected Member Functions inherited from HostWindow
virtual void wheelEvent (QGraphicsSceneWheelEvent *event)
 
virtual void onEditorFocusChanged (bool focus, const PalmIME::EditorState &state)
 
void onAutoCapChanged (bool enabled)
 
virtual void onEnableTouchEvents (bool)
 
- Protected Member Functions inherited from Window
virtual void lock ()
 
virtual void unlock ()
 
 Window (const Window &)
 
Windowoperator= (const Window &)
 
- Protected Member Functions inherited from InputClient
void setInputState (const PalmIME::EditorState &state)
 

Additional Inherited Members

- Protected Attributes inherited from HostWindow
HostWindowDatam_data
 
bool m_isIpcWindow
 
IpcClientHostm_clientHost
 
- Properties inherited from Window
bool grabMouse
 

Constructor & Destructor Documentation

AlertWindow::AlertWindow ( WindowType::Type  type,
int  width,
int  height,
bool  hasAlpha 
)
AlertWindow::AlertWindow ( WindowType::Type  type,
HostWindowData window,
IpcClientHost clientHost = 0 
)
AlertWindow::~AlertWindow ( )
virtual

Member Function Documentation

void AlertWindow::activate ( )
QRect AlertWindow::contentRect ( ) const
void AlertWindow::deactivate ( )
bool AlertWindow::isIncomingCallAlert ( ) const
bool AlertWindow::isTransientAlert ( )
inline
void AlertWindow::mouseMoveEvent ( QGraphicsSceneMouseEvent *  event)
protectedvirtual
void AlertWindow::mousePressEvent ( QGraphicsSceneMouseEvent *  event)
protectedvirtual
void AlertWindow::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
protectedvirtual
void AlertWindow::onMessageReceived ( const PIpcMessage &  msg)
virtual

Reimplemented from HostWindow.

void AlertWindow::onSetContentRect ( int  left,
int  right,
int  top,
int  bottom 
)
void AlertWindow::onUpdateFullWindow ( )
protectedvirtual

Reimplemented from HostWindow.

void AlertWindow::onUpdateWindowRegion ( int  x,
int  y,
int  w,
int  h 
)
protectedvirtual

Reimplemented from HostWindow.

void AlertWindow::setContentRect ( const QRect &  r)
void AlertWindow::setSoundParams ( const std::string &  fileName,
const std::string &  soundClass 
)
void AlertWindow::setTransient ( bool  transient)
inline

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