Outils pour utilisateurs

Outils du site


fr:code:windows:progressdialog

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
fr:code:windows:progressdialog [2012/05/10 12:05] – créée wismerhealfr:code:windows:progressdialog [2021/02/13 11:23] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 ====== ProgressDialog [En cours de Traduction Wismerheal][WSL] ====== ====== ProgressDialog [En cours de Traduction Wismerheal][WSL] ======
-This object represents a window showing a progress bar.+Cet objet représente une fenêtre affichant une barre de progression.
  
-===== Functions =====+===== Fonctions =====
  
 ==== ProgressDialog ==== ==== ProgressDialog ====
-Constructor function.+Fonction de construction.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 var myObject = new ProgressDialog(); var myObject = new ProgressDialog();
Ligne 16: Ligne 16:
  
 === Arguments === === Arguments ===
-  - parameters - (object) window parameters +  - parameters - (object) paramètres de la fenêtre 
-    * title - (string) the window's title +    * title - (string) le titre de la fenêtre 
-    * position - ([[en:code:core:point|Point]]) the window'position +    * position - ([[en:code:core:point|Point]]) la position de la fenêtre 
-    * opacity - (float) the window's opacity +    * opacity - (float) l'opacité de la fenêtre 
-    * enabled - (boolean) the window's enabled status +    * enabled - (boolean) le statut d'activité de la fenêtre 
-    * visible - (boolean) the window's visible status +    * visible - (boolean) le statut de visibilité de la fenêtre 
-    * value - (integer) the value +    * value - (integer) la valeur 
-    * labelText - (string) the label text +    * labelText - (string) le label du texte 
-    * minimum - (integer) the minimum value +    * minimum - (integer) la valeur minimum 
-    * maximum - (integer) the maximum value +    * maximum - (integer) la valeur maximum 
-    * range - (object) the range +    * range - (object) la portée 
-      * minimum - (integer) the minimum value +      * minimum - (integer) la valeur minimum 
-      * maximum - (integer) the maximum value +      * maximum - (integer) la valeur maximum 
-    * onCanceled - ([[#oncanceled|OnCanceled]]) event called when the window is canceled+    * onCanceled - ([[#oncanceled|OnCanceled]]) évènement appelé quand la fenêtre est annulée
  
 === Exceptions === === Exceptions ===
Ligne 46: Ligne 46:
 </code> </code>
  
-===== Methods =====+===== Méthodes =====
  
 ==== setTitle ==== ==== setTitle ====
-Sets the window's title.+Définit le titre de la fenêtre.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setTitle(title); myObject.setTitle(title);
Ligne 57: Ligne 57:
  
 === Arguments === === Arguments ===
-  - title - (string) the window's title+  - title - (string) le titre de la fenêtre
  
-=== Returns === +=== Renvoi === 
-  * (ProgressDialog) this ProgressDialog+  * (ProgressDialog) ce "ProgressDialog"
  
 ==== setPosition ==== ==== setPosition ====
-Sets the window'position.+Définit la position de la fenêtre.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setPosition(point); myObject.setPosition(point);
Ligne 71: Ligne 71:
  
 === Arguments === === Arguments ===
-  - point - ([[en:code:core:point|Point]]) the window'position+  - point - ([[en:code:core:point|Point]]) la position de la fenêtre
  
-=== Returns === +=== Renvoi === 
-  * (ProgressDialog) this ProgressDialog+  * (ProgressDialog) ce "ProgressDialog"
  
 ==== setOpacity ==== ==== setOpacity ====
-Sets the window's opacity.+Définit l'opacité de la fenêtre
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setOpacity(opacity); myObject.setOpacity(opacity);
Ligne 85: Ligne 85:
  
 === Arguments === === Arguments ===
-  - opacity - (float) the window's opacity+  - opacity - (float) l'opacité de la fenêtre
  
-=== Returns === +=== Renvoi === 
-  * (ProgressDialog) this ProgressDialog+  * (ProgressDialog) ce "ProgressDialog"
  
 ==== setEnabled ==== ==== setEnabled ====
-Sets the window's enabled status.+Définit le statut d'activité de la fenêtre
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setEnabled(enabled); myObject.setEnabled(enabled);
Ligne 99: Ligne 99:
  
 === Arguments === === Arguments ===
-  - enabled - (boolean) the window's enabled status+  - enabled - (boolean) le statut d'activité de la fenêtre
  
-=== Returns === +=== Renvoi === 
-  * (ProgressDialog) this ProgressDialog+  * (ProgressDialog) ce "ProgressDialog"
  
 ==== setVisible ==== ==== setVisible ====
-Sets the window'visible status.+Définit le statut visible de la fenêtre
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setVisible(visible); myObject.setVisible(visible);
Ligne 113: Ligne 113:
  
 === Arguments === === Arguments ===
-  - visible - (boolean) the window'visible status+  - visible - (boolean) le statut visible de la fenêtre
  
-=== Returns === +=== Renvoi === 
-  * (ProgressDialog) this ProgressDialog+  * (ProgressDialog) ce "ProgressDialog"
  
 ==== close ==== ==== close ====
-Closes the window.+Ferme la fenêtre
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.close(); myObject.close();
 </code> </code>
  
-=== Returns === +=== Renvoi === 
-  * (ProgressDialog) this ProgressDialog+  * (ProgressDialog) ce "ProgressDialog"
  
 ==== title ==== ==== title ====
-Returns the window's title.+Renvoi le titre de la fenêtre.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.title(); myObject.title();
 </code> </code>
  
-=== Returns === +=== Renvoi === 
-  * (string) the window's title+  * (string) le titre de la fenêtre
  
 ==== position ==== ==== position ====
-Returns the window'position.+Renvoi la position de la fenêtre
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.position(); myObject.position();
 </code> </code>
  
-=== Returns ===+=== Renvoi ===
   * ([[en:code:core:point|Point]]) the window's position   * ([[en:code:core:point|Point]]) the window's position
  
 ==== opacity ==== ==== opacity ====
-Returns the window's opacity.+Renvoi l'opacité de la fenêtre
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.opacity(); myObject.opacity();
 </code> </code>
  
-=== Returns === +=== Renvoi === 
-  * (float) the window's opacity+  * (float) l'opacité de la fenêtre
  
 ==== enabled ==== ==== enabled ====
-Returns the window's enabled status.+Renvoi le statut d'activité de la fenêtre
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.enabled(); myObject.enabled();
 </code> </code>
  
-=== Returns === +=== Renvoi === 
-  * (boolean) the window's enabled status+  * (boolean) le statut d'activité de la fenêtre
  
 ==== visible ==== ==== visible ====
-Returns the window's visible status.+Renvoi le statut visibilité de la fenêtre
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.visible(); myObject.visible();
 </code> </code>
  
-=== Returns === +=== Renvoi === 
-  * (boolean) the window's visible status+  * (boolean) le statut visibilité de la fenêtre
  
 ==== setValue ==== ==== setValue ====
-Sets the progress value.+Définit la valeur de la progression.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setValue(value); myObject.setValue(value);
Ligne 193: Ligne 193:
  
 === Arguments === === Arguments ===
-  - value - (integer) the progress value+  - value - (integer) la valeur de la progression
  
-=== Returns ===+=== Renvoi ===
   * (ProgressDialog) this ProgressDialog   * (ProgressDialog) this ProgressDialog
  
 ==== setLabelText ==== ==== setLabelText ====
-Sets the label text.+Définit le label du texte.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setLabelText(labelText); myObject.setLabelText(labelText);
Ligne 209: Ligne 209:
   - labelText - (string) the label text   - labelText - (string) the label text
  
-=== Returns ===+=== Renvoi ===
   * (ProgressDialog) this ProgressDialog   * (ProgressDialog) this ProgressDialog
  
 ==== setMinimum ==== ==== setMinimum ====
-Sets the minimum value.+Définit la valeur minimum.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setMinimum(minimum); myObject.setMinimum(minimum);
Ligne 221: Ligne 221:
  
 === Arguments === === Arguments ===
-  - minimum - (integer) the minimum value+  - minimum - (integer) la valeur minimum
  
-=== Returns ===+=== Renvoi ===
   * (ProgressDialog) this ProgressDialog   * (ProgressDialog) this ProgressDialog
  
 ==== setMaximum ==== ==== setMaximum ====
-Sets the maximum value.+Définit la valeur maximum.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setMaximum(maximum); myObject.setMaximum(maximum);
Ligne 235: Ligne 235:
  
 === Arguments === === Arguments ===
-  - maximum - (integer) the maximum value+  - maximum - (integer) la valeur maximum
  
-=== Returns ===+=== Renvoi ===
   * (ProgressDialog) this ProgressDialog   * (ProgressDialog) this ProgressDialog
  
 ==== setRange ==== ==== setRange ====
-Sets the minimum and maximum value.+Définit la valeur minimum et maximum.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.setRange(minimum, maximum); myObject.setRange(minimum, maximum);
Ligne 249: Ligne 249:
  
 === Arguments === === Arguments ===
-  - minimum - (integer) the minimum value +  - minimum - (integer) la valeur minimum 
-  - maximum - (integer) the maximum value+  - maximum - (integer) la valeur maximum
  
-=== Returns ===+=== Renvoi ===
   * (ProgressDialog) this ProgressDialog   * (ProgressDialog) this ProgressDialog
  
 ==== show ==== ==== show ====
-Show the window. (non-blocking+Affiche la fenêtre. (non-bloquant
-Use the [[#oncanceled|OnCanceled]] event to know when the window has been closed.+Use the [[#oncanceled|OnCanceled]] évènement pour savoir quand la fenêtre est fermée.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.show(); myObject.show();
 </code> </code>
  
-=== Returns ===+=== Renvoi ===
   * (ProgressDialog) this ProgressDialog   * (ProgressDialog) this ProgressDialog
  
 ==== showModal ==== ==== showModal ====
-Show the window. (blocking)+Affiche la fenêtre. (bloquant
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.showModal(); myObject.showModal();
 </code> </code>
  
-=== Returns === +=== Renvoi === 
-  * (integer) the window result (0 means that it has been canceled)+  * (integer) le résultat de la fenêtre (0 signifie que cela a été annulé)
  
-===== Events =====+===== Evènements =====
  
 ==== onCanceled ==== ==== onCanceled ====
 Called when the window is canceled. Called when the window is canceled.
  
-=== Syntax ===+=== Syntaxe ===
 <code javascript> <code javascript>
 myObject.onCanceled = function() {}; myObject.onCanceled = function() {};
Ligne 296: Ligne 296:
 </code> </code>
  
-===== Attributes =====+===== Attributs =====
  
 ==== title ==== ==== title ====
-The window's title. (string)+Le titre de la fenêtre. (string)
  
 ==== position ==== ==== position ====
-The window'position. ([[en:code:core:point|Point]])+La position de la fenêtre. ([[en:code:core:point|Point]])
  
 ==== opacity ==== ==== opacity ====
-The window's opacity. (float)+L'opacité de la fenêtre. (float)
  
 ==== enabled ==== ==== enabled ====
-The window's enabled status. (boolean)+Le statut d’activité de la fenêtre. (boolean)
  
 ==== value ==== ==== value ====
-The progress bar's value. (integer)+la valeur de la barre de progression. (integer)
fr/code/windows/progressdialog.1336651504.txt.gz · Dernière modification : 2021/02/13 11:23 (modification externe)