Le module QtSvg fournit des classes pour afficher et créer des fichiers Scalable Vector Graphics (SVG).
QGraphicsSvgItem | QGraphicsItem qui peut être utilisé pour afficher le contenu de fichiers SVG |
QSvgGenerator | Périphérique de peinture utilisé pour créer des dessins SVG |
QSvgRenderer | Utilisé pour dessiner le contenu de fichiers SVG sur des périphériques de dessin |
QSvgWidget | Widget qui est utilisé pour afficher le contenu de fichiers SVG |
Pour inclure les définitions des classes du module, utilisez la directive suivante :
#include <QtSvg>
Pour lier votre application à ce module, ajoutez cette ligne dans votre fichier qmake .pro
:
QT += svg
Le module QtSvg fait partie des éditions complète et Open Source de Qt.
Du code pour manipuler des arcs dans ce module est dérivé du code sous la licence suivante :
Copyright 2002 USC/Information Sciences Institute
Permission to use, copy, modify, distribute et sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation et that the name of Information Sciences Institute not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Information Sciences Institute makes no representations about the suitability of this software for any purpose. It is provided “as is” without express or implied warranty.
INFORMATION SCIENCES INSTITUTE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL INFORMATION SCIENCES INSTITUTE BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
[ Précédent : le module QtSql ] [ Tous les modules de Qt ] [ Suivant : le module QtWebKit ]
Merci à <!dourouc!> pour la traduction et à <!eusebe!> pour la relecture !