Package imagizer :: Module imagizer :: Class ViewX
[hide private]
[frames] | no frames]

Class ViewX

source code

Implementation of the view as a splashscren

Instance Methods [hide private]
 
__init__(self)
Initialization of the view in the constructor
source code
 
creatProgressBar(self, label, nbVal)
Creation of a progress bar.
source code
 
ProgressBarMax(self, nbVal)
re-definit le nombre maximum de la progress-bar
source code
 
updateProgressBar(self, h, filename)
Mise à jour de la progressbar Dans le cas d'un toolkit, c'est ici qu'il faudra appeler le traitement des évènements.
source code
 
finish(self)
destroys the interface of the splash screen
source code
Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initialization of the view in the constructor

Ici, on ne fait rien, car la progressbar sera créée au moment où on en aura besoin. Dans un cas réel, on initialise les widgets de l'interface graphique

updateProgressBar(self, h, filename)

source code 

Mise à jour de la progressbar Dans le cas d'un toolkit, c'est ici qu'il faudra appeler le traitement des évènements. set the progress-bar to the given value with the given name

Parameters:
  • h - current number of the file
  • name (string) - name of the current element
  • val (integer or float)
Returns:
None