|
| def | __init__ (self, ListeClVar, CheckParent, Name, Parent=None, width=82, height=88, x=0, y=0, BoutonActif=False, BoutonMom=True, imgBtn=None, imgVnt=None, imgPicto=None, text="", TailleText=None, colorOn=IHM_param.COUL_TXT_AL_DEF, colorOff=IHM_param.COUL_TXT_DEF, Func=None, FuncParam=None, ClVarButton=None, ClVarVnt=None, ClVarTxt=None, LabelTxt=None, LabelPos="up", LabelTailleText=None, ClVarTxtAlrm=True, *args) |
| | The constructor. More...
|
| |
| def | GetBtn (self) |
| |
| def | GetVnt (self) |
| |
| def | RefreshEtat (self) |
| |
| def | ReLoadState (self) |
| | recupére l'état du bouton et du voyant dans les variables liées More...
|
| |
| def | SetBouton (self, Value=False) |
| |
| def | SetState (self, Msg=None, BtnActif=None, VntActif=None, Color=None) |
| |
| def | SetVoyant (self, Value=False) |
| |
◆ __init__()
| def __init__ |
( |
|
self, |
|
|
|
ListeClVar, |
|
|
|
CheckParent, |
|
|
|
Name, |
|
|
|
Parent = None, |
|
|
|
width = 82, |
|
|
|
height = 88, |
|
|
|
x = 0, |
|
|
|
y = 0, |
|
|
|
BoutonActif = False, |
|
|
|
BoutonMom = True, |
|
|
|
imgBtn = None, |
|
|
|
imgVnt = None, |
|
|
|
imgPicto = None, |
|
|
|
text = "", |
|
|
|
TailleText = None, |
|
|
|
colorOn = IHM_param.COUL_TXT_AL_DEF, |
|
|
|
colorOff = IHM_param.COUL_TXT_DEF, |
|
|
|
Func = None, |
|
|
|
FuncParam = None, |
|
|
|
ClVarButton = None, |
|
|
|
ClVarVnt = None, |
|
|
|
ClVarTxt = None, |
|
|
|
LabelTxt = None, |
|
|
|
LabelPos = "up", |
|
|
|
LabelTailleText = None, |
|
|
|
ClVarTxtAlrm = True, |
|
|
* |
args |
|
) |
| |
◆ GetBtn()
recupere l'état du bouton
◆ GetVnt()
recupere l'état du voyant
◆ RefreshEtat()
rafraichit l'apparence du bouton en fonction des variable d'état
◆ ReLoadState()
recupére l'état du bouton et du voyant dans les variables liées
- Date
- 6.3 15 avril 2021 : ajout "Alarm = True à l'appel de "SelectFrame"
Reimplemented in Inclinometre.
◆ SetBouton()
| def SetBouton |
( |
|
self, |
|
|
|
Value = False |
|
) |
| |
◆ SetState()
| def SetState |
( |
|
self, |
|
|
|
Msg = None, |
|
|
|
BtnActif = None, |
|
|
|
VntActif = None, |
|
|
|
Color = None |
|
) |
| |
force l'etat du bouton / voyant (cas non autonome : Alarme)
◆ SetVoyant()
| def SetVoyant |
( |
|
self, |
|
|
|
Value = False |
|
) |
| |
fixe l'état du bouton et du voyant
◆ ClVarTxtAlrm
◆ colorOff
◆ colorOn
◆ ListeActions
| dictionary ListeActions = {} |
|
static |
◆ Name
◆ Parent
◆ text
The documentation for this class was generated from the following file: