Home »
MCQs »
Pygame MCQs
Which class is used to align the widgets horizontally in PyQt?
17. Which class is used to align the widgets horizontally in PyQt?
- QtBoxLayout
- QHBoxLayout
- QtHBoxLayout
- PyQtHBoxLayout
Answer
The correct answer is: B) QHBoxLayout
Explanation
PyQt provides QHBoxLayout class which is used to arrange widgets in a horizontal box.