Flowchart documentation fix

the widget() method should be used to display the flowchart in a window rather than the ctrlWidget().
This commit is contained in:
Ruben de Bruin 2021-02-09 15:20:14 +01:00 committed by GitHub
parent ade6a844e7
commit 77db5a868b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ In the example above, each terminal is defined by a dictionary of options which
Once the flowchart is created, add its control widget to your application::
ctrl = fc.ctrlWidget()
ctrl = fc.widget()
myLayout.addWidget(ctrl) ## read Qt docs on QWidget and layouts for more information
The control widget provides several features: