PDA

View Full Version : FrameShape property for Q3GroupBox



user_mail07
13th February 2007, 22: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 ?


Thanks.

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

user_mail07
15th February 2007, 21: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.

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