WxStaticBox equivalent for QT

In wxpython, I can use staticbox in combination with staticboxsizer to make a header box around the widget, for example:

wxstaticbox

I am new to qt and don’t know all the widgets, so maybe I am missing something trivial, but how can I implement this in pyqt / pyside?

+4
source share
1 answer

He called QGroupBox :

enter image description here

You can create it using a graphical editor (my preferred method) or create a QGroupBox() object in Python and add it to the window layout.

+5
source

All Articles