Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QWSEmbedWidget Class Reference

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.

Public Functions

QWSEmbedWidget ( WId id, QWidget * parent = 0 )
~QWSEmbedWidget ()
  • 221 public functions inherited from QWidget
  • 29 public functions inherited from QObject
  • 13 public functions inherited from QPaintDevice

Reimplemented Protected Functions

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 )
  • 37 protected functions inherited from QWidget
  • 8 protected functions inherited from QObject
  • 1 protected function inherited from QPaintDevice

Additional Inherited Members

  • 58 properties inherited from QWidget
  • 1 property inherited from QObject
  • 19 public slots inherited from QWidget
  • 1 public slot inherited from QObject
  • 1 signal inherited from QWidget
  • 1 signal inherited from QObject
  • 4 static public members inherited from QWidget
  • 7 static public members inherited from QObject
  • 37 protected functions inherited from QWidget
  • 8 protected functions inherited from QObject
  • 1 protected function inherited from QPaintDevice
  • 1 protected slot inherited from QWidget

Detailed Description

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.

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.

void QWSEmbedWidget::changeEvent ( QEvent * event ) [virtual protected]

Reimplemented from QWidget::changeEvent().

bool QWSEmbedWidget::eventFilter ( QObject * object, QEvent * event ) [virtual protected]

Reimplemented from QObject::eventFilter().

void QWSEmbedWidget::hideEvent ( QHideEvent * event ) [virtual protected]

Reimplemented from QWidget::hideEvent().

void QWSEmbedWidget::moveEvent ( QMoveEvent * event ) [virtual protected]

Reimplemented from QWidget::moveEvent().

void QWSEmbedWidget::resizeEvent ( QResizeEvent * event ) [virtual protected]

Reimplemented from QWidget::resizeEvent().

void QWSEmbedWidget::showEvent ( QShowEvent * event ) [virtual protected]

Reimplemented from QWidget::showEvent().

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 4.8
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web