Question

Suppose i have a QFrame, I have 3 categories widgets in my Frame, Such as :CheckBoxes , Buttons and texts.

My questions is , How put every category in a rectangle ? (i didn't found in qt-designer)

Was it helpful?

Solution

In Qt-Designer you can simply put QGroupBox widgets in your QFrame widget (in your case 3 QGroupBox), and then arrange all your widgets (CheckBoxes , Buttons and texts) in that 3 QGroupBox widgets. QGroupBox is rectangle and you can set name (title) of group box also in Qt-Designer if you need it. I am using PyQt 4.7.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top