Home > other >  [PyQt5] excuse me, how should intercept sent signals
[PyQt5] excuse me, how should intercept sent signals

Time:10-17

 
The class Hello (QWidget) :

InfSignal=pyqtSignal (list)

Def check_login_func (self) :
If USER_PWD. Get (self) user_line) text ())==self. Cla_line. The text () :
Inf=[]
Inf. Append (self) user_line) text ())
Inf. Append (self) cla_line) text ())
Self. InfSignal. Emit (inf)

The follow-up should how to set the slot to the login window, please throw the login information received?
  • Related