In wxpython I can use a staticbox in combination with a staticboxsizer to make a box with a title around a widget, like this:

I am fairly new to qt and don’t know all the widgets, so maybe I’m missing something trivial, but how can I implement this in pyqt/pyside?
It’s called a QGroupBox:
You can either create it via a GUI editor (my preferred method), or you can create a
QGroupBox()object in Python and add it to your window’s layout.