The QWSEmbedWidget class enables embedded top-level widgets in Qt for Embedded Linux. More...
#include <QWSEmbedWidget>
Inherits: QWidget.
This class was introduced in Qt 4.2.
QWSEmbedWidget ( WId id, QWidget * parent = 0 ) | |
~QWSEmbedWidget () |
virtual void | changeEvent ( QEvent * event ) |
virtual bool | eventFilter ( QObject * object, QEvent * event ) |
virtual void | hideEvent ( QHideEvent * event ) |
virtual void | moveEvent ( QMoveEvent * event ) |
virtual void | resizeEvent ( QResizeEvent * event ) |
virtual void | showEvent ( QShowEvent * event ) |
The QWSEmbedWidget class enables 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.
Constructs a widget with the given parent, embedding the widget identified by the given window id.
Destroys this widget.
Reimplemented from QWidget::changeEvent().
Reimplemented from QObject::eventFilter().
Reimplemented from QWidget::hideEvent().
Reimplemented from QWidget::moveEvent().
Reimplemented from QWidget::resizeEvent().
Reimplemented from QWidget::showEvent().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.