OpenQuizz
Une application de gestion des contenus pédagogiques
Progress Class Reference
Inheritance diagram for Progress:
Collaboration diagram for Progress:

Public Member Functions

def __init__ (self, minval=0, maxval=100)
 
def update (self, curval)
 
def increment (self, incr)
 
def start (self)
 
def stop (self)
 
def maximum (self)
 
def percentage (self)
 
def format_duration (self, duration)
 
def ETA (self)
 
def speed (self)
 

Data Fields

 min
 
 cur
 
 max
 
 started
 
 elapsed
 
 done
 

Static Public Attributes

 unknown
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  minval = 0,
  maxval = 100 
)

Member Function Documentation

◆ ETA()

def ETA (   self)

◆ format_duration()

def format_duration (   self,
  duration 
)

◆ increment()

def increment (   self,
  incr 
)

◆ maximum()

def maximum (   self)

◆ percentage()

def percentage (   self)

◆ speed()

def speed (   self)

◆ start()

def start (   self)

◆ stop()

def stop (   self)

◆ update()

def update (   self,
  curval 
)

Field Documentation

◆ cur

cur

◆ done

done

◆ elapsed

elapsed

◆ max

max

◆ min

min

◆ started

started

◆ unknown

unknown
static

The documentation for this class was generated from the following file: