pyqt5 widgets code example
Example: add widget in pyqt
layout = QVBoxLayout() # create our layout
layout.addWidget(button1) # add a widget to it
layout = QVBoxLayout() # create our layout
layout.addWidget(button1) # add a widget to it