cut 3.3.0
Loading...
Searching...
No Matches
qecountdown.QeCountdown Class Reference

The class creates countdown widget that count down time passed by a user. More...

Public Member Functions

 start (self)
 Starts the coundown, makes it non-editable and adjust proper icon to Start/Stop button.
 
 stop (self)
 Stops the coundown and makes it editable (to set new time)
 
 reset (self)
 Resets the coundown.
 
 getQtDesignerPluginInfo (cls)
 Provides Qt Designer with widget information.
 

Detailed Description

The class creates countdown widget that count down time passed by a user.

Usage
The time should be input by editing QLineEdit field Pressing 'Start/pause' button starts counting. Pressing the button again stops counting. Pressing 'Reset' button resets input value. When counting, the QLineEdit field is non-modifiable. The counting stops when the counter reaches 00:00:00

Member Function Documentation

◆ getQtDesignerPluginInfo()

qecountdown.QeCountdown.getQtDesignerPluginInfo ( cls)

Provides Qt Designer with widget information.

Return: dict Dictionary with values for keys: icon, module, container, tool_tip and xml.


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