QGridLayout grid = new QGridLayout();
setLayout(grid);
QGridLayout passwordGrid = new QGridLayout();
QGridLayout buttonGrid = new QGridLayout();
password1 = new QLineEdit();
password1.setEchoMode(QLineEdit.EchoMode.Password);
password2 = new QLineEdit();
password2.setEchoMode(QLineEdit.EchoMode.Password);
password1.textChanged.connect(this, "validateInput()");
password2.textChanged.connect(this, "validateInput()");