How to communicate or switch between two windows in PyQt?

后端 未结 5 1524
孤独总比滥情好
孤独总比滥情好 2020-12-17 06:38

I am developing an application using python and Qt.

I have designed 2 Main windows ie..QMainWindow (Not QWidget or QDialog) using Qt.

Let it be.

1.

5条回答
  •  不知归路
    2020-12-17 07:18

    Although this is not directly relevant to your question, you should always set QLineEdit.EchoMode for the password field as follows (see here):

    self.password.setEchoMode(QtGui.QLineEdit.Password)
    

提交回复
热议问题