Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

QWSEmbedWidget Class Reference
[QtGui module]

The QWSEmbedWidget class enabels embedded top-level widgets in Qt for Embedded Linux. More...

 #include <QWSEmbedWidget>

Inherits QWidget.

This class was introduced in Qt 4.2.

Public Functions

Additional Inherited Members


Detailed Description

The QWSEmbedWidget class enabels embedded top-level widgets in Qt for Embedded Linux.

Note that this class is only available in Qt for Embedded Linux.

QWSEmbedWidget inherits QWidget and acts as any other widget, but in addition it is capable of embedding another top-level widget.

An example of use is when painting directly onto the screen using the QDirectPainter class. Then the reserved region can be embedded into an instance of the QWSEmbedWidget class, providing for example event handling and size policies for the reserved region.

All that is required to embed a top-level widget is its window ID.

See also Qt for Embedded Linux Architecture.


Member Function Documentation

QWSEmbedWidget::QWSEmbedWidget ( WId id, QWidget * parent = 0 )

Constructs a widget with the given parent, embedding the widget identified by the given window id.

QWSEmbedWidget::~QWSEmbedWidget ()

Destroys this widget.


Copyright © 2008 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.4.3