LunaSysMgr
|
#include <HostWindow.h>
Public Member Functions | |
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 | onMessageReceived (const PIpcMessage &msg) |
virtual void | onDisconnected () |
virtual void | onUpdateWindowRegion (int x, int y, int w, int h) |
virtual void | onUpdateFullWindow () |
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 HostWindowData * | hostWindowData () 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 |
ApplicationDescription * | appDescription () 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 | 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 &) | |
Window & | operator= (const Window &) |
Protected Member Functions inherited from InputClient | |
void | setInputState (const PalmIME::EditorState &state) |
Protected Attributes | |
HostWindowData * | m_data |
bool | m_isIpcWindow |
IpcClientHost * | m_clientHost |
Protected Attributes inherited from Window | |
WindowType::Type | m_type |
std::string | m_name |
std::string | m_appId |
std::string | m_processId |
std::string | m_launchingAppId |
std::string | m_launchingProcId |
ApplicationDescription * | m_appDesc |
bool | m_removed |
bool | m_disableKeepAlive |
uint32_t | m_bufWidth |
uint32_t | m_bufHeight |
int | m_initialWidth |
int | m_initialHeight |
QRectF | m_visibleBounds |
QPixmap | m_screenPixmap |
Additional Inherited Members | |
Properties inherited from Window | |
bool | grabMouse |
HostWindow::HostWindow | ( | WindowType::Type | type, |
HostWindowData * | data, | ||
IpcClientHost * | clientHost = 0 |
||
) |
|
virtual |
|
virtual |
Reimplemented from Window.
|
virtual |
Reimplemented in CardWindow.
void HostWindow::channelRemoved | ( | ) |
|
virtual |
Reimplemented in VolumeControlAlertWindow, and QmlAlertWindow.
|
virtual |
Reimplemented from InputClient.
|
virtual |
Reimplemented from InputClient.
|
virtual |
Reimplemented in CardWindow.
|
virtual |
Reimplemented in CardWindow.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from Window.
void HostWindow::onAsynchFlipCompleted | ( | int | newWidth, |
int | newHeight, | ||
int | newScreenWidth, | ||
int | newScreenHeight | ||
) |
|
protected |
|
virtual |
|
protectedvirtual |
|
inlineprotectedvirtual |
Reimplemented in CardWindow.
|
virtual |
Reimplemented in CardWindow, DashboardWindow, and AlertWindow.
|
virtual |
Reimplemented in AlertWindow.
Reimplemented in AlertWindow.
|
virtual |
|
virtual |
Reimplemented from InputClient.
|
virtual |
Reimplemented in CardWindow.
|
virtual |
Reimplemented from InputClient.
int HostWindow::routingId | ( | ) | const |
void HostWindow::setClientHost | ( | IpcClientHost * | clientHost | ) |
|
virtual |
Reimplemented from InputClient.
Reimplemented in CardWindow.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |