Home · API Reference · Modules |
Public Member Functions | |
~WindowedSurface () | |
void | show () |
void | hide () |
QSize | size () const |
void | setSize (const QSize &size) |
QPoint | relativePosition () const |
void | setRelativePosition (const QPoint &position) |
QSharedPointer< AbstractSurface > | parent () const |
QPoint | translateEventPosition (const QPoint &eventPosition, const QSharedPointer< AbstractSurface > &eventSurface=QSharedPointer< AbstractSurface >()) const |
void | setActive (bool active) |
void | applicationFocusChanged (WId winId) |
QRegion | inputMethodArea () |
![]() | |
virtual | ~AbstractSurface () |
Static Public Member Functions | |
WindowedSurface (WindowedSurfaceFactory *factory, AbstractSurface::Options options, const QSharedPointer< WindowedSurface > &parent, QWidget *toplevel) |
Protected Member Functions | |
bool | isWindow () const |
QPoint | mapToGlobal (const QPoint &pos) const |
Protected Attributes | |
WindowedSurfaceFactory * | mFactory |
Options | mOptions |
QSharedPointer< WindowedSurface > | mParent |
QScopedPointer< QWidget > | mToplevel |
bool | mActive |
bool | mVisible |
QPoint | mRelativePosition |
Additional Inherited Members | |
![]() | |
enum | Option |
|
inlinestatic |
|
inline |
|
inline |
|
inlinevirtual |
hides the surface and its children.
Implements Maliit::Plugins::AbstractSurface.
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlinevirtual |
returns the parent of a surface
Implements Maliit::Plugins::AbstractSurface.
|
inlinevirtual |
returns the position of the surface relative to its parent
Implements Maliit::Plugins::AbstractSurface.
|
inline |
|
inlinevirtual |
sets the surface's position relative to its parent (for a PositionOverlay surface)
position | the requested relative position |
Implements Maliit::Plugins::AbstractSurface.
|
inlinevirtual |
sets the size of the surface
size | the requested surface size |
Implements Maliit::Plugins::AbstractSurface.
Reimplemented in Maliit::Server::WindowedGraphicsViewSurface.
|
inlinevirtual |
shows the surface.
Implements Maliit::Plugins::AbstractSurface.
Reimplemented in Maliit::Server::WindowedGraphicsViewSurface.
|
inlinevirtual |
returns the real size of the surface
Implements Maliit::Plugins::AbstractSurface.
|
inlinevirtual |
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) |
Implements Maliit::Plugins::AbstractSurface.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Copyright © 2011 Nokia Corporation | Maliit |