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  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

Q3Picture Class Reference
[Qt3Support module]

The Q3Picture class is a paint device that records and replays Q3Painter commands. More...

#include <Q3Picture>

This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.

Inherits QPicture.

Public Functions

  • Q3Picture ( const QPicture & other )
  • bool load ( QIODevice * device, const char * format = 0 )
  • bool load ( const QString & fileName, const char * format = 0 )
  • bool save ( QIODevice * device, const char * format = 0 )
  • bool save ( const QString & fileName, const char * format = 0 )

Additional Inherited Members

  • 5 static public members inherited from QPicture
  • 1 protected function inherited from QPicture

Detailed Description

The Q3Picture class is a paint device that records and replays Q3Painter commands.

Q3Picture can also read and write SVG (Scalable Vector Graphics) files; these files are in an XML format specified by W3C. (See the load() and save() functions.)

See also QPicture.


Member Function Documentation

Q3Picture::Q3Picture ()

Constructs a Q3Picture.

Q3Picture::Q3Picture ( const QPicture & other )

Constructs a copy of other.

bool Q3Picture::load ( QIODevice * device, const char * format = 0 )

Loads the picture in the specified format from the given device. Returns true if the file is loaded successfully; otherwise returns false.

See also save().

bool Q3Picture::load ( const QString & fileName, const char * format = 0 )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Loads the picture in the specified format from a file with the given fileName. Returns true if the file is loaded successfully; otherwise returns false.

See also save().

bool Q3Picture::save ( QIODevice * device, const char * format = 0 )

Saves the picture in the specified format to the given device.

See also load().

bool Q3Picture::save ( const QString & fileName, const char * format = 0 )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Saves the picture in the specified format to the file with the given fileName.

See also load().

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.0
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