QX11EmbedWidget Class Reference |
Constant | Value | Description |
---|---|---|
QX11EmbedWidget::Unknown | 0 | An unrecognized error occurred. |
QX11EmbedWidget::InvalidWindowID | 2 | The X11 window ID of the container was invalid. This error is usually triggered by passing an invalid window ID to embedInto(). |
Constructs a QX11EmbedWidget object with the given parent.
Destructs the QX11EmbedWidget object. If the widget is embedded when deleted, it is hidden and then detached from its container, so that the container is free to embed a new widget.
This signal is emitted by the client widget when the container closes the widget. This can happen if the container itself closes, or if the widget is rejected.
The container can reject a widget for any reason, but the most common cause of a rejection is when an attempt is made to embed a widget into a container that already has an embedded widget.
If the widget is embedded, returns the window ID of the container; otherwize returns 0.
When this function is called, the widget embeds itself into the container whose window ID is id.
If id is not the window ID of a container this function will behave unpredictably.
This signal is emitted by the widget that has been embedded by an XEmbed container.
Returns the type of error that occurred last. This is the same error code that is emitted by the error() signal.
See also Error.
This is an overloaded member function, provided for convenience.
This signal is emitted if an error occurred as a result of embedding into or communicating with a container. The specified error describes the problem that occurred.
See also QX11EmbedWidget::Error.
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.3 | |
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 ! |
Copyright © 2000-2012 - www.developpez.com