Skip to content

Commit

Permalink
Update examples/dialog_example_2.py
Browse files Browse the repository at this point in the history
Co-authored-by: Laura Murgatroyd <[email protected]>
  • Loading branch information
DanicaSTFC and lauramurgatroyd authored Sep 29, 2023
1 parent 5d27296 commit dda924d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/dialog_example_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def openFormDialog(self):
dialog = FormDialog(parent=self, title='Example')
dialog.Ok.clicked.connect(lambda: self.accepted())

### Example on how to add elements to the
# Example on how to add elements to the FormDialog
# add input 1 as QLineEdit
qlabel = QtWidgets.QLabel(dialog.groupBox)
qlabel.setText("Input 1: ")
Expand Down

0 comments on commit dda924d

Please sign in to comment.