How it works...
You can see in the code that a Line Edit widget with the default objectName lineEdit property and a Label widget with the default objectName label property are placed on the form. Similarly, a second pair, a Label widget with the default objectName label_2 property and a Line Edit widget with the default objectName lineEdit_2 property are placed on the form. The vertical space between the two pairs of Label and Line Edit widgets is increased by placing a vertical spacer called spacerItem1 between them. A Push Button widget with the text, Submit, and objectName, pushButton, is also placed on the form. Again, the vertical space between the second Label with objectName label_2 and the Push Button widget with objectName pushButton ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access