View Full Version : FrameShape property for Q3GroupBox

13th February 2007, 21:39
in qt 3 designer there was Q3GroupBox property named FrameShape in property editor where we were able to change FrameShape to desired shape. IS there any equivalent property in qt 4 designer for Q3groupbox or QGroupbox where I can change FrameShape property like FrameShape::NoFrame ?


13th February 2007, 22:48
QGroupBox doesn't inherit QFrame anymore so you can't adjust its frame shape.

15th February 2007, 20:10
Okay ..do you know if there is any way to get rid of surrouding frame around group box. Because enabling setFlat property of QGroupBox results in the removal of the left, right and bottom edges of the frame. The top part of the frame is still drawn around the groupbox, I want to remove top part of frame also but not group box title. Something similar as in QT 3 FrameStyle::NOFrame.

16th February 2007, 14:41
Why not remove the groupbox completely and just use a QLabel (or QCheckBox if you need it) for a title instead?