Home · API Reference · Modules |
Public Types | |
enum | Option |
Public Member Functions | |
virtual | ~AbstractSurface () |
virtual void | show ()=0 |
virtual void | hide ()=0 |
virtual QSize | size () const =0 |
virtual void | setSize (const QSize &size)=0 |
virtual QPoint | relativePosition () const =0 |
virtual void | setRelativePosition (const QPoint &position)=0 |
virtual QSharedPointer < AbstractSurface > | parent () const =0 |
virtual QPoint | translateEventPosition (const QPoint &eventPosition, const QSharedPointer< AbstractSurface > &eventSurface=QSharedPointer< AbstractSurface >()) const =0 |
The AbstractSurface class provides a window abstraction for rendering the plugin.
|
virtual |
~AbstractSurface
|
pure virtual |
hides the surface and its children.
Implemented in Maliit::Server::WindowedSurface.
|
pure virtual |
returns the parent of a surface
Implemented in Maliit::Server::WindowedSurface.
|
pure virtual |
returns the position of the surface relative to its parent
Implemented in Maliit::Server::WindowedSurface.
|
pure virtual |
sets the surface's position relative to its parent (for a PositionOverlay surface)
position | the requested relative position |
Implemented in Maliit::Server::WindowedSurface.
|
pure virtual |
sets the size of the surface
size | the requested surface size |
Implemented in Maliit::Server::WindowedGraphicsViewSurface, and Maliit::Server::WindowedSurface.
|
pure virtual |
shows the surface.
Implemented in Maliit::Server::WindowedGraphicsViewSurface, and Maliit::Server::WindowedSurface.
|
pure virtual |
returns the real size of the surface
Implemented in Maliit::Server::WindowedSurface.
|
pure virtual |
translates the coordinates of an event into the surfaces coordinate system
eventPosition | the coordinates of the event |
eventSurface | the surface where the event occured (by default this) |
Implemented in Maliit::Server::WindowedSurface.
Copyright © 2011 Nokia Corporation | Maliit |