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  · 

Obsolete Members for Q3ProgressDialog

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

  • Q3ProgressDialog ( QWidget * creator, const char * name, bool modal = false, Qt::WFlags f = 0 )   (obsolete)
  • Q3ProgressDialog ( const QString & labelText, const QString & cancelButtonText, int totalSteps, QWidget * creator = 0, const char * name = 0, bool modal = false, Qt::WFlags f = 0 )   (obsolete)
  • 3 public functions inherited from QWidget

Member Function Documentation

Q3ProgressDialog::Q3ProgressDialog ( QWidget * creator, const char * name, bool modal = false, Qt::WFlags f = 0 )

Constructs a progress dialog.

Default settings:

  • The label text is empty.
  • The cancel button text is (translated) "Cancel".
  • The total number of steps is 100.

The creator argument is the widget to use as the dialog's parent. The name, modal, and the widget flags, f, are passed to the QDialog::QDialog() constructor. If modal is false (the default), you must have an event loop proceeding for any redrawing of the dialog to occur. If modal is true, the dialog ensures that events are processed when needed.

See also setLabelText(), setLabel(), setCancelButtonText(), setCancelButton(), and setTotalSteps().

Q3ProgressDialog::Q3ProgressDialog ( const QString & labelText, const QString & cancelButtonText, int totalSteps, QWidget * creator = 0, const char * name = 0, bool modal = false, Qt::WFlags f = 0 )

Constructs a progress dialog.

The labelText is text used to remind the user what is progressing.

The cancelButtonText is the text to display on the cancel button, or 0 if no cancel button is to be shown.

The totalSteps is the total number of steps in the operation for which this progress dialog shows progress. For example, if the operation is to examine 50 files, this value would be 50. Before examining the first file, call setProgress(0). As each file is processed call setProgress(1), setProgress(2), etc., finally calling setProgress(50) after examining the last file.

The creator argument is the widget to use as the dialog's parent. The name, modal, and widget flags, f, are passed to the QDialog::QDialog() constructor. If modal is false (the default), you will must have an event loop proceeding for any redrawing of the dialog to occur. If modal is true, the dialog ensures that events are processed when needed.

See also setLabelText(), setLabel(), setCancelButtonText(), setCancelButton(), and setTotalSteps().

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