Home »
MCQs »
Pygame MCQs
Which class is used to align the widgets vertically in PyQt?
18. Which class is used to align the widgets vertically in PyQt?
- QtBoxLayout
- QVBoxLayout
- QtVBoxLayout
- PyQtVBoxLayout
Answer
The correct answer is: B) QVBoxLayout
Explanation
PyQt provides QVBoxLayout class which is used to arrange widgets in a vertical box.