This example creates a vertical box layout that contains two labels ("Hello" and "World") stacked on top of each other. The `setLayout` method sets the layout of the window to the QVBoxLayout. Example 2:python import sys from PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout, QPushButton app = QApplication(sys.argv) window = QWidget() layout = QVBoxLayout() button1 = QPushButton("Button 1") button2 = QPushButton("Button 2") layout.addWidget(button1) layout.addWidget(button2) window.setLayout(layout) window.show() sys.exit(app.exec_()) ``` This example creates a vertical box layout that contains two buttons ("Button 1" and "Button 2") stacked on top of each other. The `setLayout` method sets the layout of the window to the QVBoxLayout. Overall, `QVBoxLayout` is a useful class for creating vertical box layouts in PyQt5.Qt library.